agentleFS
ajipalarajipalar/skillkit/skills/skill-improver/SKILL.md

skill-improver

Skill0 starsChanged 6 months agoMITView on GitHub

Evaluate and improve existing skills using systematic quality criteria. Use when a user asks to "improve a skill," "review a skill," "evaluate a skill," "update a skill," "optimize a skill," or "expand a skill" in a specific way. Also triggers on requests like "make this skill better," "this skill needs work," "audit this skill," or "check skill quality." Does not create new skills from scratch (use skill-creator for that).

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 18 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 18

    Distinctive

    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
  1. Distinctive:

    Run automated structural analysis

    line 20
  2. Distinctive:

    Contextual reference: If the user says "improve this skill" during or after using a skill, identify from context.

    line 31
  3. Distinctive:

    Ambiguous: Ask the user to specify which skill.

    line 33
  4. Very specific:

    Read the full SKILL.md and scan the skill's directory structure (scripts/, references/, assets/).

    line 35
  5. Distinctive:

    After reading the skill, evaluate whether improving it would add value.

    line 48
  6. Distinctive:

    When pushing back, always:

    line 72
  7. Distinctive:

    Ask the user to confirm, adjust, or abandon

    line 75
  8. Distinctive:

    If the user disagrees and wants to proceed after hearing the reasoning, respect their decision and continue to Step 2.

    line 77
  9. Distinctive:

    Run the structural analysis script:

    line 82
  10. Distinctive:

    Wait for user approval. The user may accept all, accept some, reject, or provide additional direction.

    line 149
  11. Very specific:

    If SKILL.md exceeds 500 lines after changes, extract detailed content into references/ files with navigation links.

    line 155
  12. Distinctive:

    Do not rewrite sections not flagged for improvement.

    line 163
  13. Very specific:

    Maintain references: When moving content to reference files, add clear "when to read" guidance in SKILL.md.

    line 166
  14. Distinctive:

    Test scripts: If modifying scripts, run them to verify correctness.

    line 168
  15. Distinctive:

    Imperative form: Use imperative/infinitive voice throughout.

    line 169
  16. Very specific:

    Remove duplicated information between SKILL.md and reference files

    line 176
  17. Distinctive:

    Remove general knowledge the agent already has

    line 178
  18. Distinctive:

    Add missing trigger scenarios to the description

    line 183
  19. Distinctive:

    Add "when NOT to use" context to prevent false triggers

    line 184
  20. Distinctive:

    Add explicit branching logic at decision points

    line 190
  21. Distinctive:

    Add examples for non-obvious steps

    line 194
  22. Distinctive:

    Remove extraneous files (README.md, CHANGELOG.md, etc.)

    line 200
  23. Very specific:

    Add navigation links from SKILL.md to reference files

    line 201

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Improver

Evaluate and improve existing skills through systematic quality analysis.

Workflow

  1. Identify the target skill and user intent
  2. Run automated structural analysis
  3. Evaluate against quality criteria
  4. Determine improvement path
  5. Propose improvements
  6. Implement approved changes

Step 1: Identify the Target Skill

Determine which skill to improve and what the user wants.

  • Named skill: Locate the skill by name in the skills directory.
  • Contextual reference: If the user says "improve this skill" during or after using a skill, identify from context.
  • Ambiguous: Ask the user to specify which skill.

Read the full SKILL.md and scan the skill's directory structure (scripts/, references/, assets/).

Classify the user's intent:

  • Autonomous review: "improve this skill", "review this skill" — evaluate against all criteria.
  • Directed improvement: "expand this skill to handle X", "make this more concise" — focus on the specific request while also checking foundational criteria (Tier 1).

Viability Assessment

After reading the skill, evaluate whether improving it would add value. Push back with clear reasoning when any of these apply:

Skill adds no value. The skill covers general knowledge the agent already possesses. Improving it would not change agent behavior. Push back: explain that the skill restates baseline capabilities and recommend not improving it.

Scope too broad. The skill tries to cover too many unrelated domains. Push back: recommend splitting into focused skills before improving.

Scope too narrow. The skill covers something so specific it will not be reused. Push back: recommend not improving; the underlying task does not warrant a reusable skill.

Duplicates another skill. The skill overlaps significantly with an existing skill. Push back: recommend merging the two skills rather than improving them separately.

Better solved differently. The need is real but a skill is the wrong tool. A CLAUDE.md instruction, standalone script, alias, tool, hook, plugin, subagent, or agent team may be more appropriate. Push back: suggest the better-fitting alternative and explain why.

When pushing back, always:

  1. State the specific concern and reasoning
  2. Suggest an alternative (split, merge, convert, or do not improve)
  3. Ask the user to confirm, adjust, or abandon

If the user disagrees and wants to proceed after hearing the reasoning, respect their decision and continue to Step 2.

Step 2: Run Automated Analysis

Run the structural analysis script:

scripts/analyze_skill.py <path-to-skill-directory>

Review the output. This provides quantitative data (line counts, frontmatter validity, link integrity, extraneous files) before qualitative evaluation.

Step 3: Evaluate Against Quality Criteria

Read references/evaluation-criteria.md for the full evaluation rubric.

Evaluate each criterion in tier order. Assign a verdict to each:

  • PASS: Meets the standard. No changes needed.
  • NEEDS IMPROVEMENT: Functional but could be better.
  • FAIL: Critical problem that undermines effectiveness.

For each non-passing verdict, record:

  • The criterion name and tier
  • Specific evidence (quote the relevant section, cite lines)
  • What the improved state should look like

Evaluation Order

Evaluate Tier 1 first. Tier 1 failures are blockers — present them before Tier 2 or 3 improvements.

Tier 1: Foundational — Correctness, Trigger Quality Tier 2: Effectiveness — Impact, Clarity, Token Efficiency, Degree of Freedom Tier 3: Polish — Structure, Maintainability

Step 4: Determine Improvement Path

All criteria PASS + no user-directed changes? → Report that the skill meets quality standards. Do not make changes for the sake of making changes. This is a valid outcome.

Criteria-based improvements found? → Create a ranked improvement plan. Tier 1 first, then Tier 2, then Tier 3. Within a tier, prioritize by impact on effectiveness.

User-directed improvement requested? → Evaluate whether the requested change is appropriate:

  • Does it fit the skill's scope?
  • Would it push SKILL.md over 500 lines? If so, plan progressive disclosure (extract to reference files).
  • Does it conflict with any quality criteria? → Incorporate the directed change into the improvement plan alongside any criterion-based improvements. Tier 1 issues still take priority.

Step 5: Propose Improvements

Present a summary to the user before making changes:

  1. Analysis overview: Key findings from the automated analysis.
  2. Criterion verdicts: Each criterion with its verdict (PASS / NEEDS IMPROVEMENT / FAIL).
  3. Proposed changes: For each improvement, explain:
    • Current state
    • Proposed change
    • Which criterion it addresses

Wait for user approval. The user may accept all, accept some, reject, or provide additional direction.

Step 6: Implement Approved Changes

  1. Edit SKILL.md and any affected files.
  2. If SKILL.md exceeds 500 lines after changes, extract detailed content into references/ files with navigation links.
  3. Re-run scripts/analyze_skill.py to verify structural validity.
  4. Present a summary of what changed.

Change Principles

  • Preserve voice: Match the skill's existing tone and conventions. Do not rewrite sections not flagged for improvement.
  • Minimal changes: Make the smallest change that addresses the criterion. Do not refactor working sections unnecessarily.
  • Maintain references: When moving content to reference files, add clear "when to read" guidance in SKILL.md.
  • Test scripts: If modifying scripts, run them to verify correctness.
  • Imperative form: Use imperative/infinitive voice throughout.

Common Improvement Patterns

Token Efficiency

  • Extract inlined reference material (>20 lines) into references/ files
  • Remove duplicated information between SKILL.md and reference files
  • Replace verbose explanations with concise examples
  • Remove general knowledge the agent already has
  • Consolidate redundant sections

Trigger Quality

  • Add missing trigger scenarios to the description
  • Add "when NOT to use" context to prevent false triggers
  • Include specific file types, user phrasings, or task contexts
  • Move any "when to use" content from the body into the description

Clarity

  • Add explicit branching logic at decision points
  • Define expected inputs and outputs for each step
  • Replace ambiguous language ("consider", "might want to") with direct instructions ("check", "verify", "if X then Y")
  • Add examples for non-obvious steps

Structure

  • Extract repeatedly-rewritten code into scripts/
  • Move large reference blocks into references/ files
  • Remove extraneous files (README.md, CHANGELOG.md, etc.)
  • Add navigation links from SKILL.md to reference files

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.