writing-skills
Skill3 starsChanged 12 days agoMITView on GitHub
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
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 · 1
- andreymudri/claude-teammates★ 3100% same
Edited · 0
None found.
Wrote their own version · 190
- 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
180 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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- brainstormingSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- fleet-lifecycleSkill
- fleetmates-configSkill
- fleet-supervisionSkill
- grillingSkill
- parallel-executionSkill
- phase-gateSkill
- receiving-code-reviewSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-fleetmatesSkill
- writing-plansSkill
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 179 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
- Distinctive: line 14
If you never watched the failure, you don't know whether the skill teaches the right thing — or whether there was anything to teach at all.
- Very specific: line 36
Every CLI subcommand named in the body must actually exist: Only init-run, gate, digest, claim, unclaim, and workflow are real subcommands …
“Common” is measured: kept by at least 6 in 10 of the 179 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
Adapted from the MIT-licensed superpowers plugin by Jesse Vincent. See NOTICE.md.
Overview
Writing a skill is Test-Driven Development applied to process documentation. Watch an agent fail without the skill (baseline), write the skill, then watch a fresh agent comply. If you never watched the failure, you don't know whether the skill teaches the right thing — or whether there was anything to teach at all.
A skill is a reusable technique, pattern, or reference — not a narrative about how you solved something once. Don't create one for a one-off fix or a project-specific convention (put that in the project's own instructions file instead).
Start from the template
Copy templates/SKILL.template.md as the starting structure for a new skill. It carries the
required frontmatter shape and the section skeleton (When to use / Process / Red flags) —
fill it in rather than improvising frontmatter from scratch.
Rules this plugin's test suite enforces
These are checked mechanically by tests/skills.test.mjs and tests/skill-contracts.test.mjs
on every skill under skills/ — get them wrong and the suite fails, not just a reviewer:
namematches the containing folder exactly.skills/writing-skills/SKILL.mdmust declarename: writing-skills.descriptionstarts withUse when. It states triggering conditions, not what the skill does — see "Write the description as a trigger" below.- Every CLI subcommand named in the body must actually exist. Only
init-run,gate,digest,claim,unclaim, andworkfloware real subcommands of the CLI entrypoint. Naming a subcommand that doesn't exist fails the suite, not just the reader. - Every
tm-*agent named in the body must actually exist. Onlytm-implementer,tm-reviewer, andtm-integratorexist underagents/. - The CLI is always invoked through
<fleetmates root>, never a relative path:node "<fleetmates root>/scripts/cli.mjs" <subcommand> --root <project root>. A relative invocation works from the author's shell and breaks for everyone else.
Write the description as a trigger, not a summary
The description is what a future agent reads to decide whether to load the skill at all — it answers "should I read this right now?", not "what will I learn if I do?" Name concrete situations: symptoms, error messages, the moment in a workflow where the need arises. Don't summarize the skill's process or steps in the description — an agent that reads a workflow summary in the description will sometimes act on the summary and skip the body, which is worse than not finding the skill at all.
# BAD: abstract capability, not a triggering situation
description: Use when working with async tests
# GOOD: concrete symptom
description: Use when tests have race conditions, timing dependencies, or pass/fail inconsistently
# BAD: summarizes the workflow instead of the trigger
description: Use when executing plans - dispatches one implementer per task with review between tasks
# GOOD: trigger only
description: Use when you have a written implementation plan to execute in a separate session with review checkpointsA skill must be verified to trigger
Writing a skill and shipping it without confirming it fires is not done. Start a fresh session, give it a prompt that matches the situations named in the description, and confirm the skill actually loads and is followed — don't just re-read the description and judge by eye whether it sounds like it would match.
A skill that never triggers is worse than no skill. It sits in the directory creating false confidence that a process is covered, while every real invocation silently falls through to default behavior. No skill at all is at least honestly absent.
Match the form to the failure
A rule's shape has to match the shape of the failure it prevents.
- Failure is doing a forbidden thing (claiming done without running tests, committing without the failing test first) — a prohibition works, because obeying it tells the reader exactly what not to do and there's nothing else to get right.
- Failure is producing the wrong shape of output (a plan with inconsistent task sizing, a digest missing a required field) — a prohibition backfires, because forbidding the wrong shape doesn't tell the reader what the right shape is. Use a positive form instead: a template, a worked example, a required structure to fill in.
To tell which you're facing, ask: if a reader obeyed this rule perfectly, would they then know what to produce? If yes, a prohibition is fine. If no — obeying it only tells them what to avoid — the rule is the wrong form; replace it with a template or example.
Pressure-test discipline skills with a subagent
A skill that reads as compelling in calm review can still collapse under the pressure it exists to withstand — time pressure, a plausible-sounding shortcut, an authority claim that "this case is different." Reading your own skill and agreeing with it proves nothing; you already agreed with it before you wrote it.
For a discipline skill — one whose job is to hold under pressure, like TDD, systematic debugging, or verification-before-completion — dispatch a subagent with the skill plus a scenario engineered to make skipping it look attractive. Then judge by what the subagent did, not by what it said it would do. If it rationalized its way out of the rule, the skill's wording is the defect, not the subagent — go fix the wording and retest.
This step is overkill for purely informational skills (reference docs, how-to guides) — there is no pressure to resist, only information to find. It applies specifically to skills that exist to hold a line under pressure.
Red flags
| Thought | Reality |
| "The description is close enough, no need to test triggering" | Close enough to you is not close enough to the matcher. An untested description is an unverified claim that the skill will ever run. |
| "This is a small edit, I don't need to re-verify" | An edit that changes the description or the triggering conditions can silently break discovery. Re-verify triggering after any change to those sections. |
| "I'll skip the template, my frontmatter is fine" | The template's frontmatter shape is exactly what the suite checks. Freehand frontmatter is how a missing field or a name/folder mismatch slips through. |
| "It reads fine, that's enough for a discipline skill" | Reading fine under no pressure proves nothing about holding under pressure. Pressure-test it with a subagent before trusting it. |
Applying this
Both authoring a brand-new skill and editing an existing one under skills/ go through this
cycle: start from templates/SKILL.template.md, write to the rules the suite enforces, write
the description as a trigger, and verify the skill actually fires in a fresh session before
calling it done.
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.

