writing-skills
Skill1 starsChanged 3 months agoMITView on GitHub
Use when adding a new hackinator skill, editing an existing one, or reviewing whether a skill is well-formed — before writing the SKILL.md, and before considering it done
191 other projects use a version of this.
Adopted by
Most recently taken up by
- DemonDamon/AgenticXtheir own version, first seen Nov 9, 2026
- PeanutGT/NutsSkillstheir own version, first seen Nov 8, 2026
- roundpilot/superpowers-antigravitytheir own version, first seen Nov 8, 2026
- lingyired/status-triotheir own version, first seen Nov 8, 2026
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
- supermorkat/qawa-arenatheir own version, first seen Nov 8, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.
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.
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
Also in 8 projects that use this
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 20 projects that use this
kntismSkillcondition-based-waiting
Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses
Also in 3 projects that use this
aaddrickSkillwriting-agents
Use when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool
Also in 3 projects that use this
frankxaiSkilldefense-in-depth
Use when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally impossible
Also in 3 projects that use this
- +3 more from Leodorareluctant259
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- obra/superpowers★ 314ksame name
- PostHog/posthog★ 40ksame name
- jnMetaCode/superpowers-zh★ 8.4ksame name
- openai/plugins★ 7.8ksame name
- farm-fe/farm★ 5.6ksame name
- compozy/compozy★ 2.9ksame name
- crbnos/carbon★ 2.8ksame name
- lingyired/status-trio★ 1.8ksame name
- GanyuanRan/Aegis★ 1.4ksame name
- pcvelz/superpowers★ 1.3ksame name
181 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 repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/beads.mdcCursor rule
- beadsSkill
- builderSkill
- consulting-codexSkill
- dispatching-subagentsSkill
- evidence-before-claimsSkill
- finishingSkill
- hacking-workflowSkill
- naming-as-designSkill
- planningSkill
- reading-like-proseSkill
- reviewing-workSkill
- shapingSkill
- spike-and-stabilizeSkill
- subtraction-firstSkill
- test-firstSkill
- using-beadsSkill
- using-hackinatorSkill
- using-worktreesSkill
- walking-skeletonSkill
- whittlerSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 180 edited versions we read keep these.
1
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 62
Cross-reference by name, never by
@: Write REQUIRED SUB-SKILL: Use naming-as-design. - Distinctive: line 89
Skill for something a regex could enforce: If it's mechanically checkable, automate it.
“Common” is measured: kept by at least 6 in 10 of the 180 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
Writing Skills
Overview
Core principle: A skill earns its place by changing what a future agent does, not by describing what you already know. If an agent would behave correctly without the skill, the skill is noise. So the test comes first: watch the wrong behavior happen, then write the smallest skill that fixes it.
A skill is a reusable technique, persona, or reference — not a story about the one time you solved something. If it reads like a diary entry, it's not a skill yet.
Write the Failing Case First
NO SKILL WITHOUT FIRST SEEING THE BEHAVIOR IT FIXES- Run the scenario without the skill. Give a fresh agent the task that should trigger it. Watch what it actually does. Write down the exact wrong move and the exact rationalization it used.
- Write the minimal skill that addresses that failure — not every hypothetical cousin of it.
- Run the scenario again with the skill. Confirm the behavior changed. If it didn't, the wording is too soft or too abstract — tighten it against the real rationalization, not an imagined one.
- Record the scenario in the skill's
evals/— the triggering prompt plus the expected-behavior bullets (format and runner:EVALS.md). That baseline is what proves the next edit still works. A skill with no recorded failing case is a claim no one can re-check; evals are the source of truth, not the prose.
Skipping this is the cardinal sin. "It's obviously clear" is how unused skills get written.
Anatomy of a SKILL.md
---
name: active-verb-first-name
description: <one capability clause> — Use when <triggers/symptoms/phrases>. Not for <neighbour> — that's <other-skill>
---
# Name
## Overview — core principle in 1–2 sentences
## <the meat> — recipe, passes, or reference; tables over prose
## Common Mistakes — what goes wrong and the fixThe Rules That Matter Most
- Description = one capability clause + triggers + one exclusion clause; never the procedure. Name what the skill does in a phrase, then the triggers ("Use when…" — symptoms and the phrases a user would actually type). When a near-neighbour skill exists, end with a "Not for X — that's other-skill" clause: with ~20 skills in the suite, invocation is unreliable and the wrong one gets picked without it. Never summarize the workflow — agents follow a described workflow instead of reading the skill, and act on the summary's gaps. State what and when, never how.
- Name for what you do. Active, verb-first:
subtraction-first, notcode-reduction;naming-as-design, notnaming-utilities. Gerunds work well for processes. - Keywords an agent would search for — real phrases, error strings, symptoms — scattered through the description and body, so the skill is found when it's needed.
- Cross-reference by name, never by
@. Write**REQUIRED SUB-SKILL:** Use **naming-as-design**. An@-link force-loads the file and burns context before it's wanted. - One good example beats five languages. Port later if you must. Contrived templates teach nothing.
- Tables and guard-clause snippets over paragraphs. Skills are scanned, not read.
Match the Form to the Failure
| The baseline failure is… | Write… |
| Knows the rule, breaks it under pressure | A hard rule + a rationalization table that names each excuse and answers it |
| Does the right thing but the output is misshapen | A positive recipe: state what the output is, in order |
| Leaves out a required piece | A structural slot they must fill, not a prose reminder |
| Behavior should depend on a condition | A conditional keyed to something observable |
Prohibitions ("don't do X") backfire on shaping problems — under a competing incentive the agent negotiates with them. A recipe leaves nothing to negotiate.
Common Mistakes
- Narrative instead of technique. "In this project we found…" — strip the story, keep the move.
- Description that leaks the workflow. The most common and most damaging error. Capability + triggers + exclusion — never the how.
- No exclusion clause when a sibling exists. Two skills with overlapping triggers both fire, or the wrong one wins. Name the boundary: "Not for X — that's sibling".
- Rewriting the rule on one surprise. A single odd case is an anecdote. Change a skill (or this rubric) when the same friction recurs, not on the first exception — otherwise the process churns faster than it learns.
- Skill for something a regex could enforce. If it's mechanically checkable, automate it; save skills for judgment calls.
- Shipping untested. A skill you didn't watch change behavior is a guess, not a skill.
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.

