writing-skills
Skill2 starsChanged 57 days agoMITView on GitHub
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
154 other projects use a version of this.
Adopted by
Most recently taken up by
- invergent-ai/surogatestheir own version, first seen Oct 5, 2026
- PostHog/posthogtheir own version, first seen Oct 4, 2026
- PostHog/posthog-fosstheir own version, first seen Oct 4, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
Used with
Projects with it also use diagnosing-superpowers, chinese-code-review 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.
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 6 projects that use this
shibit-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
pedronauckSkillwriting-agents-md
Write or audit AGENTS.md/CLAUDE.md instructions. Use writing-skills for on-demand skills; excludes human-facing docs and READMEs.
Also in 3 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 3 projects that use this
MorningStar0709Skillworkflow-runner
Run an agency-orchestrator style YAML workflow inside the current Trae conversation by simulating or coordinating multiple roles. Use when the user provides a `.yaml` or `.yml` workflow, asks for multi-role collaboration, says things like “用多个角色一起评审这个 PRD”“多角色协作”“先生成工作流再执行”“让产品经理、架构师、QA 一起看一下”, or wants roles such as product manager, architect, reviewer, or QA to work together. Supports layered execution, role prompting, variable interpolation, document-backed inputs, and parallel steps only when the current environment has a clear subagent mapping. Do not use for ordinary implementation plans, simple code changes, or tasks already covered by `writing-plans`, `executing-plans`, `subagent-driven-development`, or single-purpose review/debug skills.
Also in 3 projects that use this
- +1 more from shibit-net
Other versions154 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 154
- obra/superpowers★ 314ksame name
- PostHog/posthog★ 40ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- compozy/compozy★ 2.8ksame name
- crbnos/carbon★ 2.7ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- PostHog/posthog-foss★ 721same name
- pedronauck/skills★ 633same name
- coco-research/coco★ 437same name
144 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 repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- brainstormingSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- fleet-lifecycleSkill
- fleetmates-configSkill
- fleet-supervisionSkill
- 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 144 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 144 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.

