Claude-skill-registry-data minion-patch

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/minion-patch" ~/.claude/skills/majiayu000-claude-skill-registry-data-minion-patch && rm -rf "$T"
manifest: data/minion-patch/SKILL.md
source content

Minion Patch

Generate a patch for manual review.

When to Invoke

  • Changes need careful review before applying
  • User wants to see diff before commit
  • Complex changes that might need adjustment

Command

source .venv/bin/activate && python scripts/minions.py --json patch "<task>" --target <file> --read <file>

Examples

# Generate patch
python scripts/minions.py --json patch "Add TODO comment at top" --target src/foo.py --read src/foo.py

# Multiple targets
python scripts/minions.py --json patch "Add header" --target src/a.py --target src/b.py --read src/a.py --read src/b.py

Output

{
  "task": "Add TODO comment",
  "patch_path": "sessions/20260112-123456.patch",
  "summary": "Added comment to foo.py"
}

Applying Patches

# Review
cat sessions/*.patch

# Dry-run
patch -p1 --dry-run < sessions/*.patch

# Apply
patch -p1 < sessions/*.patch

Limits

  • Files <500 lines (32K context)
  • Mechanical changes only
  • Always pass --read with target file