hone-skill
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Improve an existing skill - locate its SKILL.md, analyze the current state, plan and apply targeted edits to achieve a requested improvement, then re-lint and validate. Pass the target skill's name plus what you want to improve. Use whenever the user wants to hone, refine, tweak, sharpen, fix, tighten, or upgrade an existing skill, says "hone-skill", "improve the X skill", "make the X skill better", "the X skill should also handle...", or "update the description/body of skill Y". Edits in place against the repo conventions and preserves the skill's single job rather than rewriting wholesale.
In this repository24 other files it gives its agents.
- audit-fixSkill
- auditSkill
- commitSkill
- deps-auditSkill
- digestSkill
- flowchartSkill
- git-undoSkill
- handoffSkill
- kickoffSkill
- math-researchSkill
- new-skillSkill
- next-stepsSkill
- prompt-engineerSkill
- prune-test-suiteSkill
- release-notesSkill
- repo-adoptSkill
- repo-issue-scoutSkill
- resolve-tester-bugsSkill
- scaffold-auditSkill
- session-reportSkill
- sidebarSkill
- sync-profile-readmeSkill
- rename-to-match-folderSkill
- worktree-cleanupSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
If the skill isn't found or several match, list candidates and ask which one.
- Very specific: line 23
Read the full SKILL.md. Note the frontmatter (name, description, which keys), the single job it does, the body's structure and length, and …
- Very specific: line 24
If REPO_ROOT/CONVENTIONS.md exists, read it so edits stay compliant.
- Very specific: line 30
Keep the skill to one job.
- Distinctive: line 40
If the improvement is about *triggering*, sharpen the description's trigger phrases (skills under-trigger — lean slightly pushy).
- Very specific: line 44
Run REPO_ROOT/scripts/validate.sh NAME.
- Distinctive: line 45
If the validator isn't reachable, hand-check against the conventions checklist (name/folder match, allowed keys, description cap, body …
- Very specific: line 46
If the skill is symlinked into ~/.claude/skills, the edit is already live (body changes hot-reload).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
hone-skill
Improve one existing skill: analyze it, apply targeted edits for the requested improvement, then lint and validate. Preserve what already works — refine, don't rewrite.
The request (target skill + what to improve): $ARGUMENTS
1. Identify the target and the goal
- Parse the arguments for the skill name and the improvement wanted. If either is missing or ambiguous, ask before changing anything.
- Locate the skill's
SKILL.md. Prefer the repo source: search the working directory and its ancestors for the folder named after the skill, sitting besideCONVENTIONS.md,_template/, andscripts/. That parent isREPO_ROOT. - Fall back to
~/.claude/skills/NAME/SKILL.md. If that path is a symlink, follow it and edit the real source so the repo stays the source of truth. - If the skill isn't found or several match, list candidates and ask which one.
2. Analyze the current skill
- Read the full
SKILL.md. Note the frontmatter (name, description, which keys), the single job it does, the body's structure and length, and anyscripts//references/. - If
REPO_ROOT/CONVENTIONS.mdexists, read it so edits stay compliant. - Pin down exactly what the improvement needs and where it lands: triggering (description), a step, a new edge case, tighter wording, or scope.
3. Plan the change
- For anything beyond a trivial wording tweak, state a short plan — what you'll change and why, in a few lines — before editing.
- Keep the skill to one job. If the request really adds a second job, say so and propose a separate skill (hand off to
/new-skill) instead of bloating this one. - Make targeted edits; don't rewrite a working skill wholesale.
4. Apply the edits
Edit SKILL.md in place, respecting the conventions:
- description ≤ 1024 chars, leads with the use case + real trigger phrases, no XML/angle-bracket tags, no unquoted
:(colon-space) that can break YAML. - frontmatter uses only Claude Code-recognized keys — never add
license,metadata, orcompatibility(they silently hide the skill from the/menu). - body under 500 lines, imperative and concise; move long material into
references/and link it. - If the improvement is about triggering, sharpen the description's trigger phrases (skills under-trigger — lean slightly pushy).
5. Lint and validate
- Run
REPO_ROOT/scripts/validate.sh NAME. Fix anything it flags and re-run until clean. - If the validator isn't reachable, hand-check against the conventions checklist (name/folder match, allowed keys, description cap, body length, no secrets, one job).
- If the skill is symlinked into
~/.claude/skills, the edit is already live (body changes hot-reload). Otherwise remind the user to reinstall (scripts/install.sh NAME) and, for description/frontmatter changes, fully restart Claude Code to pick them up.
6. Report
- Summarize what changed (frontmatter vs. body), the lint result, and what's worth dogfooding next.
- Note anything you deliberately left out of scope.
- For trigger-accuracy tuning or benchmark-grade evals, hand off to the
skill-creatorskill — this skill stops at a solid, linted, improved draft.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

