Skip to content

brycewang-stanford/Auto-Empirical-Research-Skills / skills/33-Galaxy-Dawn-claude-scholar/skills/skill-improver

skill-improver

Verified

This skill should be used when the user asks to "apply skill improvements", "update skill from plan", "execute improvement plan", "fix skill issues", "implement skill recommendations", or mentions applying improvements from quality review reports. Reads improvement-plan-{name}.md files generated by skill-quality-reviewer and intelligently merges and executes the suggested changes to improve Claude Skills quality.

scripts/backup-skill.sh

View on GitHub
#!/bin/bash
# backup-skill.sh - Backup skill files before applying updates
# Part of skill-improver

# Usage: ./backup-skill.sh <skill-path>
# Example: ./backup-skill.sh ~/.claude/skills/git-workflow

set -euo pipefail

# Check if path provided
if [ $# -eq 0 ]; then
    echo "Usage: $0 <skill-path>"
    echo "Example: $0 ~/.claude/skills/git-workflow"
    exit 1
fi

SKILL_PATH="$1"
SKILL_NAME=$(basename "$SKILL_PATH")
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
BACKUP_DIR="$HOME/.claude/skills/backup/${SKILL_NAME}-${TIMESTAMP}"

# Check if skill path exists
if [ ! -d "$SKILL_PATH" ]; then
    echo "Error: Skill path not found: ${SKILL_PATH}"
    exit 1
fi

# Create backup directory
echo "Creating backup directory: ${BACKUP_DIR}"
mkdir -p "$BACKUP_DIR"

# Copy entire skill directory
echo "Backing up skill: ${SKILL_NAME}"
cp -R "$SKILL_PATH"/* "$BACKUP_DIR/"

# Create backup manifest
cat > "$BACKUP_DIR/backup-manifest.txt" <<EOF
Backup Manifest
==============
Skill Name: ${SKILL_NAME}
Source Path: ${SKILL_PATH}
Backup Date: $(date)
Timestamp: ${TIMESTAMP}

Files Backed Up:
$(find "$BACKUP_DIR" -type f ! -name "backup-manifest.txt" | sed "s|$BACKUP_DIR/||")

Restore Instructions:
-------------------
To restore this backup, run:
  cp -R ${BACKUP_DIR}/* ${SKILL_PATH}/
EOF

echo "Backup complete!"
echo "Backup location: ${BACKUP_DIR}"
echo "Files backed up: $(find "$BACKUP_DIR" -type f ! -name "backup-manifest.txt" | wc -l)"
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall