writing-for-agents
Skill1 starsChanged 3 months agoMITView on GitHub
Write or revise skills and agent instruction files with precise scope, useful references, and clear completion criteria.
97 other projects use a version of this.
Adopted by
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- grezxune/ai-toolstheir own version, first seen Oct 5, 2026
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use setup-ts-deep-modules, writing-beats 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.
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 13 projects that use this
RoentekSkillwriting-beats
Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Also in 16 projects that use this
RoentekSkillwriting-shape
Writing, exploit — shape raw material into an article, paragraph by paragraph.
Also in 16 projects that use this
pahwarangerSkillsetup-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.
Also in 5 projects that use this
qwlabsSkillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 12 projects that use this
qhuang20Skillmigrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
Also in 14 projects that use this
- +2 more from Roentek
Other versions97 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 97
- mattpocock/skills★ 335ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- aws/graph-explorer★ 484same name
- devcxl/mattpocock-skills-zh★ 426same name
- niki914/zafiro★ 221same name
- tt-a1i/matt-skills-with-to-goal★ 182same name
- iamyoki/qwen-image-2.1-skill★ 146same name
- murray17/rovai-ai★ 122same name
- willdady/platypus★ 114same name
- timharris707/skills★ 40same name
87 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 repository16 other files it gives its agents.
- adversarial-refinement-loopSkill
- atomic-commitsSkill
- audio-verificationSkill
- build-without-fearSkill
- comfyui-assetsSkill
- diagnosing-bugsSkill
- finish-the-listSkill
- frontend-designSkill
- headless-terminal-workflowSkill
- parallelize-independent-workSkill
- prefer-second-monitorSkill
- require-external-communication-approvalSkill
- state-of-the-art-firstSkill
- try-it-firstSkill
- visual-verificationSkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 87 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Keep discovery descriptions short and specific.
“Common” is measured: kept by at least 6 in 10 of the 87 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
Write useful agent instructions
Include guidance that changes a decision: project constraints, fragile steps, domain knowledge, useful references, and observable completion criteria. Respect the user's task, existing authorization, and the host's instruction priority. Prefer clear desired behavior over generic encouragement or fixed rituals. Match procedural detail to the actual risk.
For skill structure and invocation policy, read skill mechanics. For a substantial instruction redesign, read instruction design. A wording correction does not require both references.
Keep discovery descriptions short and specific. Separate workflows only when their triggers or resources differ. Keep each rule in one authoritative place; load supporting detail only for the branch that needs it.
Define what completes the requested outcome, what requires input, and what side effects are authorized. Verification should establish the relevant claim without expanding a small change into a full audit. Preserve explicit user preferences while removing duplicated or stale scaffolding.
Validate naming, frontmatter, links, and any changed helper behavior. For complex changes, test realistic decisions independently when available and authorized. Structural validation alone does not establish behavioral quality.
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.

