Loading...
Loading...
Audit and automatically optimize a lovstudio skill against repo conventions and official Anthropic skill-creator best practices, then bump the semver version and append a CHANGELOG entry. Checks SKILL.md frontmatter/trigger quality, script CLI hygiene, directory naming, README badge, and progressive disclosure structure. Prioritizes issues raised in the current conversation (e.g. bugs the user just hit) over a generic sweep. Use when the user asks to "optimize", "refine", "audit", or "polish" an existing skill, or when they say "bump version", "update changelog", or "fix this skill". Also trigger when the user mentions "优化 skill", "skill 审计", "刷一遍 skill", "skill-optimizer", "bump skill version", "update skill changelog".
npx skill4agent add lovstudio/dev-skills lovstudio-skill-optimizerany2pdflovstudio-any2pdflovstudio:any2pdfpython3 skills/lovstudio-skill-optimizer/scripts/lint_skill.py <name> --jsonerrorwarninfoSKILL.mdREADME.mdscripts/*.pyEditreferences/<topic>.md| Bump | Use when |
|---|---|
| bug fix, wording fix, frontmatter tweak, CJK rendering fix |
| new CLI flag, new option, new reference doc, expanded scope |
| breaking CLI change, removed option, renamed skill |
python3 skills/lovstudio-skill-optimizer/scripts/bump_version.py <name> \
--type <patch|minor|major> \
--message "<one-line summary of the biggest change>" \
--change "<additional bullet>" \
--change "<additional bullet>"README.mdSKILL.mdmetadata.versionCHANGELOG.mdpython3 skills/lovstudio-skill-optimizer/scripts/lint_skill.py <name>optimized: lovstudio-<name>
version: <old> → <new>
fixes:
- <bullet 1>
- <bullet 2>
remaining lint warnings: <count> (or "none")source (edit here): ~/projects/lovstudio-skills/ → lovstudio/skills
claude reads from: ~/.claude/skills/* → symlinks to source
distribution repo: ~/projects/lovstudio-pro-skills/ → lovstudio/pro-skillscd ~/projects/lovstudio-skills
git add skills/lovstudio-<name>/
git commit -m "fix(<name>): <one-line summary>"
git pushfix|feat|docs(<skill-name>): <summary>fixfeatfeat!SRC=~/projects/lovstudio-skills/skills/lovstudio-<name>
DST=~/projects/lovstudio-pro-skills/skills/lovstudio-<name>
rsync -av --delete "$SRC/" "$DST/"
cd ~/projects/lovstudio-pro-skills
git add skills/lovstudio-<name>/
git commit -m "sync(<name>): <version> from lovstudio/skills"
git push origin main~/.claude/skills/lint_skill.py| Argument | Default | Description |
|---|---|---|
| — | Skill name (with or without |
| — | Absolute path to skill dir (overrides name) |
| off | Emit findings as JSON |
2error0bump_version.py| Argument | Default | Description |
|---|---|---|
| — | Skill name |
| — | Absolute path to skill dir (overrides name) |
| — | |
| — | Explicit version e.g. |
| required | Primary changelog bullet |
| — | Additional bullet (repeatable) |
| off | Show what would change without writing |
pip install