Claude-skill-registry-data minion-polish
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-polish" ~/.claude/skills/majiayu000-claude-skill-registry-data-minion-polish && rm -rf "$T"
manifest:
data/minion-polish/SKILL.mdsource content
Minion Polish
Dispatch local model to add mechanical polish. Changes are auto-applied.
When to Invoke
- After implementing a feature
- Files need docstrings, type hints, cleanup
- Mechanical changes only (no logic changes)
Command
source .venv/bin/activate && python scripts/minions.py --json polish <files> --task <task>
Tasks
| Task | Description |
|---|---|
| Docstrings + types + headers (default) |
| Add function/class docstrings |
| Add type hints |
| Add module-level docstrings |
Examples
# Polish single file python scripts/minions.py --json polish src/foo.py --task all # Multiple files python scripts/minions.py --json polish src/foo.py src/bar.py --task docstrings # Dry run python scripts/minions.py --json polish src/foo.py --task all --dry-run
Output
{ "applied": true, "files_modified": ["src/foo.py"], "changes": ["src/foo.py: Added 3 docstring(s)"], "errors": [], "stats": {"total": 1, "applied": 1, "failed": 0} }
Claude Integration
After completing code:
- Small (1-2 files): Auto-invoke, report summary
- Medium (3+ files): Ask user "Want me to dispatch minions for polish?"