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.
In this repository16 other files it gives its agents.
- Agent GuidelinesAGENTS.md
- agents-md-improverSkill
- codeSkill
- cssSkill
- design-mdSkill
- documentationSkill
- e2e-testSkill
- exploreSkill
- fix-thisSkill
- optimize-thisSkill
- refactor-thisSkill
- release-draftSkill
- review-thisSkill
- roadmapSkill
- think-and-planSkill
- unit-testSkill
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
- Very specific: line 11
Read the SKILL.md file and check for any associated sub-folders (like references/ or scripts/).
- Very specific: line 25
If the skill takes arguments, include an argument-hint field.
- Very specific: line 31
Length Limits: Keep the main SKILL.md file under 500 lines and around 5,000 tokens to preserve context space.
- Very specific: line 38
Layered Files: Keep core instructions in SKILL.md and push bulky reference docs, templates, or heavy assets into sub-folders like …
- Distinctive: line 43
Workflows & Guardrails: Use explicit sequential steps, validation-fix loops, checklists, and negative guardrails to prevent common pitfalls …
- Distinctive: line 48
After auditing, score the skill on each dimension (1-5):
- Distinctive: line 74
Ask the user to approve or reject the proposed changes.
- Distinctive: line 76
Ask the user if they want to iterate further or finalize.
≈ “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
SKILL.md Improver
Workflow :
- Read the SKILL.md file and check for any associated sub-folders (like
references/orscripts/). - Audit the SKILL.md file using the main checklist
- Score the skill on each dimension (1-5) and output a score table.
- 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.mdto 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):
| Dimension | 1 (poor) | 5 (excellent) |
| Discovery | Generic name, no description, or generic | Specific nouns/verbs, clear trigger conditions |
| Scope | Multiple unrelated tasks, file too long | Single coherent unit of work, appropriately sized |
| Specificity | Restates model knowledge and existing information in AGENTS.md | Only delta information |
| Body organization | Unstructured, long paragraphs | Clear headings, bullet points, numbered lists, tables |
| Progressive disclosure | Bulky reference docs or scripts embedded in the main file | Layered with references or scripts that include clear "when to load" cues, OR a short SKILL.md that needs no references or scripts folder |
| Reliability | Open-ended instructions | Deterministic 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 intoreferences/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:
- Ask the user to approve or reject the proposed changes.
- 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.
- Ask the user if they want to iterate further or finalize.
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.

