skill-writer
Skill19 starsChanged 3 months agoMITView on GitHub
Use for creating, refactoring, or debugging skills and improving SKILL.md trigger quality. Trigger on "write/create/update/improve skill", trigger-miss complaints, pasted-skill feedback, or repeated workflows that should be skillized. Output production-ready skill structure and routing logic.
32 other projects use a version of this.
Adopted by
Most recently taken up by
- 0xsarwagya/agent-skills-alycdtheir own version, first seen Nov 8, 2026
- jav-ed/skill_Managtheir own version, first seen Nov 1, 2026
- shimo4228/akc-cycletheir own version, first seen Nov 1, 2026
- shimo4228/claude-harnesstheir own version, first seen Nov 1, 2026
- ericwood8/skillstheir own version, first seen Nov 1, 2026
- ihyonoo/skillstheir own version, first seen Oct 20, 2026
Used with
Projects with it also use frontend-design and skill-creator.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
BlockSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Also in 3 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 3 projects that use this
Other versions32 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 32
- pytorch/pytorch★ 105ksame name
- BidingCC/BuildingAI★ 1.9ksame name
- getsentry/skills★ 1.1ksame name
- getsentry/warden★ 423same name
- intel/torch-xpu-ops★ 121same name
- ricky-theseus/DaisyWriter★ 69same name
- nilecui/SkillsBase★ 27same name
- metalagman/agent-skills★ 24same name
- ciberjohn/Hermes-Skills★ 17same name
- skyciv/skyciv-ai-skills★ 11same name
22 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- debuggingSkill
- nexusSkill
- observabilitySkill
- performanceSkill
- reliabilitySkill
- shortsSkill
- software-engineerSkill
- testingSkill
- token-optimizerSkill
- tutorialSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 28 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Every SKILL.md must have YAML frontmatter:
- Distinctive: line 47
Before writing anything, classify the request:
- Distinctive: line 51
If an existing skill covers 60%+ of the use case, offer to extend instead.
- Distinctive: line 60
Never decide for the user — present options and wait for direction.
- Distinctive: line 82
Ask conversationally — max 2 questions per turn.
- Distinctive: line 95
Never assume answers to Q6, Q7, or Q8.
- Distinctive: line 101
Use this exact section order.
- Distinctive: line 121
Create or update all supporting files for every skill.
- Distinctive: line 188
Output contract is law: Every skill run must produce the same structure.
- Distinctive: line 190
Failure modes are first-class: Document what goes wrong. Happy-path-only skills fail silently in production.
“Common” is measured: kept by at least 6 in 10 of the 28 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.
Files
Nexus Skill Writer
Produce a complete, production-ready skill every session — not a draft, not a skeleton.
Required Directory Layout
skill-name/
├── SKILL.md ← entry point, <500 lines
├── checklists/
│ └── execution-checklist.md
├── anti-patterns/
│ └── common-mistakes.md
└── validation/
└── output-validation.mdEvery SKILL.md must have YAML frontmatter:
---
name: skill-name # must exactly match the containing directory
description: > # THE TRIGGER MECHANISM — be explicit and dense
Use this skill when ... [detailed trigger conditions].
Trigger phrases include: "...", "...", "...".
Also trigger when ... [edge cases].
---The description is the single most important field. Claude selects skills based only on name + description. A vague description means the skill never triggers. Under-triggering is the #1 skill failure mode.
Phase 0 — Skill Classification
Before writing anything, classify the request:
New skill or extension?
- Scan
available_skillsin the system prompt. - If an existing skill covers 60%+ of the use case, offer to extend instead.
- Present options as a table:
| Option | Best when | Risk |
| Extend existing | Same domain, similar triggers | May bloat the existing skill |
| Create new | Distinct triggers, different output contract | Maintenance overhead |
| Merge two skills | Overlapping triggers, narrow scopes | Wider scope per skill |
Never decide for the user — present options and wait for direction.
Category:
| Category | Description |
| engineering | Code generation, architecture, implementation |
| debugging | Failure investigation, root cause, regression |
| devops | CI/CD, infra, deployments |
| code-review | PR review, diff analysis, quality checks |
| testing | Test writing, coverage, test strategy |
| reliability | SLOs, on-call, incident management |
| observability | Logs, metrics, traces, dashboards |
| refactoring | Code transformation, technical debt |
| performance | Profiling, optimization, benchmarking |
Primary or sub-skill? Primary = own directory + full SKILL.md. Sub-skill = .md inside an existing skill directory (only for very narrow, truly subordinate scope).
Phase 1 — Requirements Gathering (MANDATORY)
Ask conversationally — max 2 questions per turn. Extract answers from context first; only ask what you cannot infer. Do not proceed to Phase 2 without answers to Q1, Q2, Q3.
| # | Question | Why |
| 1 | What should this skill enable Claude to do? | Defines scope |
| 2 | What phrases/contexts should trigger it? | Shapes description |
| 3 | What is the expected output format? | Shapes Output Contract |
| 4 | Are there constraints? (tools, env, audience) | Shapes Compatibility |
| 5 | Example input + ideal output? | Becomes a production example |
| 6 | What does failure look like? What must never happen? | Shapes Failure Modes |
| 7 | What context must be gathered before acting? | Shapes Context Acquisition |
| 8 | What are the hallucination risks or dangerous assumptions? | Shapes Failure Modes |
Never assume answers to Q6, Q7, or Q8.
Phase 2 — SKILL.md Writing
Use this exact section order. Adapt depth to domain; do not drop sections.
Required sections (in order):
- YAML frontmatter —
name+description(specific task triggers and exclusions) - One-liner — what this skill does and why it exists.
- Metadata table — Category, Required Tools, Required Context, Expected Inputs, Expected Outputs.
- Skill Philosophy — Problem, Why it matters, 2-3 Engineering principles.
- Context Acquisition — Named signals with collection methods + explicit "stop and ask" rule for insufficient context.
- Execution Workflow — Numbered steps, each with: What (specific verb), How (tool/command), Output, Failure signal.
- Engineering Heuristics — IF/THEN/BECAUSE rules with thresholds. No descriptions — only decision rules.
- Failure Modes — Table: Failure Mode | Trigger Condition | Mitigation (3+ rows).
- Validation — Checkbox list of pass/fail criteria including a Confidence rating.
- Output Contract — Table of every output field: name, required/optional, description. Fields: findings, evidence, confidence, risks, recommendations, next_actions.
- Anti-Patterns — "Never X → Instead Y" rules (3+ rules).
- Examples — At least 1 production-scale input → output reference.
Phase 3 — Supporting Directory Creation
Create or update all supporting files for every skill. These are not optional.
checklists/execution-checklist.md
- Pre-flight: what to verify before starting
- Execution: ordered step-by-step checklist
- Output review: what to check before delivering
- Post-delivery: follow-up actions for the user
anti-patterns/common-mistakes.md
10 things NOT to do, each with: name, what it looks like, why it fails, what to do instead.
validation/output-validation.md
- Trigger test: does the skill activate on the right inputs?
- Completeness test: did it gather enough context?
- Output test: does output match the Output Contract?
- Engineering intelligence test: does output encode real expertise?
- Confidence test: is the confidence rating justified by evidence?
Phase 4 — Quality Validation (Run Before Delivering)
| # | Check | Pass Condition |
| 1 | Description trigger density | 5+ distinct, concrete trigger phrases |
| 2 | Step actionability | Every step has a specific verb — read, search, compare, extract, run, list, flag |
| 3 | Output contract defined | Output Contract table exists with all required fields |
| 4 | Anti-patterns present | 3+ "Never do X → do Y instead" rules |
| 5 | Production example present | 1+ real production-scale example (not toy) |
| 6 | Engineering heuristics are decision rules | Each heuristic is IF/THEN/BECAUSE |
| 7 | Failure modes documented | 3+ failure modes with mitigations |
| 8 | Validation criteria defined | Concrete pass/fail criteria for testing the skill |
State which items passed and which require user input to complete.
Output Format
Deliver finished skill as ready-to-write files. For each file specify:
- Absolute path where it should be written
- Full content
After delivery, state:
- Which of the 8 quality checks passed
- Which (if any) require additional user input
- The trigger phrases that will activate this skill
Anti-Patterns (for this skill)
- Never skip Phase 0 — building the wrong skill type wastes everyone's time.
- Never skip Phase 1 — skills built on assumed requirements miss their triggers.
- Never write a vague step — "handle appropriately" is not a step. Specify the exact action.
- Never write a single-sentence description — it will not trigger reliably.
- Never omit the Output Contract — a skill without one produces inconsistent output every run.
- Never use toy examples — examples must be production-scale.
- Never write heuristics as descriptions — "consider complexity" is not a heuristic; "if cyclomatic complexity > 15, flag for mandatory refactor" is.
Core Principles
- Engineering system, not prompt wrapper: A skill encodes real expertise. "Tell Claude to do X nicely" is a prompt, not a skill.
- Atomic, not monolithic: One skill, one job. Two distinct workflows = two skills.
- Context before action: A skill that acts without sufficient context will hallucinate.
- Output contract is law: Every skill run must produce the same structure.
- Triggering over completeness: A skill that triggers reliably at 80% beats a perfect skill that never triggers.
- Failure modes are first-class: Document what goes wrong. Happy-path-only skills fail silently in production.
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.

