agentleFS
eyssetteeyssette/js-template/.agents/skills/skill-md-improver/SKILL.md

skill-md-improver

Skill0 starsChanged 13 days agoMITView on GitHub

Improve SKILL.md file. Use when user asks to check, audit, update, improve, or fix SKILL.md files.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the SKILL.md file and check for any associated sub-folders (like references/ or scripts/).

    line 11
  2. Very specific:

    If the skill takes arguments, include an argument-hint field.

    line 25
  3. Very specific:

    Length Limits: Keep the main SKILL.md file under 500 lines and around 5,000 tokens to preserve context space.

    line 31
  4. Very specific:

    Layered Files: Keep core instructions in SKILL.md and push bulky reference docs, templates, or heavy assets into sub-folders like …

    line 38
  5. Distinctive:

    Workflows & Guardrails: Use explicit sequential steps, validation-fix loops, checklists, and negative guardrails to prevent common pitfalls …

    line 43
  6. Distinctive:

    After auditing, score the skill on each dimension (1-5):

    line 48
  7. Distinctive:

    Ask the user to approve or reject the proposed changes.

    line 74
  8. Distinctive:

    Ask the user if they want to iterate further or finalize.

    line 76

≈ “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.

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

SKILL.md Improver

Workflow :

  1. Read the SKILL.md file and check for any associated sub-folders (like references/ or scripts/).
  2. Audit the SKILL.md file using the main checklist
  3. Score the skill on each dimension (1-5) and output a score table.
  4. Propose changes to improve the skill based on the audit and score table.

1. Audit using the following checklist

Metadata & Discovery (The YAML Frontmatter)

The front matter must contain at minimum the fields name, description.

  • name: Use a unique, short identifier. It must be in lowercase, contain no spaces or accents, and use only letters, numbers, and hyphens. It must match the folder name.
  • description: A good description includes both what the skill does and when to trigger it. Include the specific nouns and verbs a user would actually type. Always write in third person and fit in one line, under 1024 characters.

If the skill takes arguments, include an argument-hint field.

  • argument-hint: A hint about the expected argument(s) the user can provide to the SKILL. Use a very short, one-line string, ideally under 100 characters. It should be a placeholder for the argument(s) the user can provide to the skill. If the skill does not take any arguments, this field can be omitted.

Core Structure & Sizing

  • Length Limits: Keep the main SKILL.md file under 500 lines and around 5,000 tokens to preserve context space.
  • Coherent Scope: Encapsulate a single, well-defined unit of work that composes cleanly with other skills.
  • Delta Principle: Add what the agent lacks and omit general knowledge the model already possesses (e.g., skip basic syntax rules; focus strictly on project or domain-specific conventions). Also check that the information is not already present in AGENTS.md to avoid redundancy — if it is, omit it or reference it instead of duplicating it.
  • Body Organization: Structure the body of the SKILL.md file in a logical, easy-to-follow manner. Use clear headings and subheadings to organize the content. Each section should have a clear purpose and flow naturally from one to the next. Avoid long paragraphs; use bullet points, numbered lists, and tables where appropriate to enhance readability.

Progressive Disclosure & Modularity

  • Layered Files: Keep core instructions in SKILL.md and push bulky reference docs, templates, or heavy assets into sub-folders like references/ or scripts/. Name files descriptively
  • One-Level Linking, with Context: Link secondary reference files only one level deep from SKILL.md so the agent pulls them in only when necessary. Always explain in SKILL.md when the reference file is needed and how to use it.

Execution & Reliability

  • Workflows & Guardrails: Use explicit sequential steps, validation-fix loops, checklists, and negative guardrails to prevent common pitfalls or hallucinations. For particularly complex workflows, provide a copyable checklist — the agent can paste it into its response and track progress.
  • Scripts & Deterministic Utilities: Provide scripts or deterministic utilities for repetitive tasks, rather than relying purely on open-ended generated code. This ensures reliability and reproducibility.

2. Score the skill

After auditing, score the skill on each dimension (1-5):

Dimension1 (poor)5 (excellent)
DiscoveryGeneric name, no description, or genericSpecific nouns/verbs, clear trigger conditions
ScopeMultiple unrelated tasks, file too longSingle coherent unit of work, appropriately sized
SpecificityRestates model knowledge and existing information in AGENTS.mdOnly delta information
Body organizationUnstructured, long paragraphsClear headings, bullet points, numbered lists, tables
Progressive disclosureBulky reference docs or scripts embedded in the main fileLayered with references or scripts that include clear "when to load" cues, OR a short SKILL.md that needs no references or scripts folder
ReliabilityOpen-ended instructionsDeterministic steps, validation loops, scripts

Output a score table before proposing changes.

Each score must cite evidence (line number or quoted excerpt) and one sentence of justification. A score of 5 requires zero identified defects on that dimension.

3. Propose changes

Propose changes to improve the SKILL.md file :

  • Base the proposed changes on the audit and score table, focusing on the weakest dimensions first.
  • Always evaluate whether creating or modifying a references/ folder is pertinent before doing so. It is not useful when the SKILL is short and everything fits comfortably in SKILL.md. It is very useful when the document is bulky and not always used — in that case, move the bulky content into references/ so it can be loaded only when needed (e.g., only in certain cases or on demand).
  • Always check whether a scripts/ folder is warranted. Use scripts for tasks that are automatable and deterministic (repetitive, error-prone, or mechanical operations) rather than relying on open-ended generated code. Keep any scripts you create simple, and only create them if they are genuinely useful — avoid adding scripts for trivial or one-off tasks.

After proposing changes:

  1. Ask the user to approve or reject the proposed changes.
  2. Once the user approves or rejects the changes, re-run the rubric scoring on the modified version of the file. When re-scoring, re-read the modified file as if for the first time; do not assume the fixes worked.
  3. Ask the user if they want to iterate further or finalize.

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.