write-spec
Skill0 starsChanged 3 months agoApache-2.0View on GitHub
Synthesize or revise a feature specification from agreed discussion, supplied requirements, and relevant repository evidence. Use when the user asks to capture intended behavior and acceptance criteria as a spec. Do not use for brainstorming alone, ticket decomposition, publishing an unchanged document, or reviewing implementation against an existing spec.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- dzhng/skillstheir own version, first seen Oct 4, 2026
- dzhng/jevgreptheir own version, first seen Oct 2, 2026
- dzhng/duet-agenttheir own version, first seen Oct 2, 2026
- NinjaSln-labs/agent-skillstheir own version, first seen Oct 2, 2026
- taipt1504/claudehuttheir own version, first seen Oct 2, 2026
- anthod0/skillstheir own version, first seen Sep 19, 2026
Used with
Projects with it also use audit-choices, close-spec 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.
dzhngSkillaudit-choices
Audit the choices an implementing agent made, not its diff — a pure decision audit that traces the session's history into a choices ledger, changes no code, and never blocks an unsupervised run. Working code still embeds architecture the user never chose; surface it because future work inherits it. Use when the user wants to review the decisions the AI made on their behalf, before merging or committing AI-implemented work, when integrating a delegated subagent's pass, or when a fix "works" but might be a point fix.
Also in 3 projects that use this
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 3 projects that use this
LucasMatuszewskiSkillaudit-agents
Audit and maintain agent configuration files (.claude/agents, AGENTS.md, CLAUDE.md, agent-memory). Checks for duplicates, outdated info, naming conflicts, wrong technical facts, and files over 200 lines. Fixes all issues and commits.
Also in 3 projects that use this
Halcyon666Skillwrite-skills
Creates high-quality Agent Skills (SKILL.md files) that follow the open Agent Skills specification. Use when asked to create a skill, write a SKILL.md, package agent instructions, build a reusable capability, or turn a workflow into a shareable skill. Produces spec-compliant, concise, well-structured skills optimized for agent discovery and execution.
Also in 3 projects that use this
isLinXuSkilleval-skills
AI Agent Skill unit testing framework. A framework-agnostic toolkit for discovering, scaffolding, selecting, evaluating, and reporting on AI skills. Use this skill to assess skill quality before production, compare candidate skills on the same benchmark, enforce quality gates in CI/CD, and generate human-readable evaluation reports.
Also in 3 projects that use this
Arman-KudaibergenovSkillwrite-plan
Этот скилл MUST быть вызван когда есть design.md и нужно разбить доработку на атомарные задачи (2-5 мин) с точными путями файлов и критериями проверки в tasks.md. SHOULD также вызывать как промежуточный шаг между brainstorm и subagent-dev. Do NOT использовать для обсуждения идеи — используй brainstorm; для выполнения задач — используй subagent-dev.
Also in 4 projects that use this
- +6 more from dzhng
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- anthropics/knowledge-work-plugins★ 26ksame name
- dzhng/jevgrep★ 2.3ksame name
- dzhng/skills★ 978same name
- dzhng/duet-agent★ 46same name
- smixs/disruptor-skills★ 19same name
- oopsla5xx/oops-skills★ 4same name
- Gusen1453/creed★ 3same name
- hassan-mohiddin/freeflow★ 3same name
- arcadesunlabs/skills★ 2same name
- taipt1504/claudehut★ 2same name
4 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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-prototypeSkill
- challenge-planSkill
- design-interfaceSkill
- evaluate-skillSkill
- fix-bugSkill
- implement-test-firstSkill
- improve-skillSkill
- investigate-bugSkill
- map-decisionsSkill
- migrate-systemSkill
- model-domainSkill
- refactor-codeSkill
- reframe-explanationSkill
- review-requirementsSkill
- split-workSkill
- synthesize-evidenceSkill
- write-agent-guidanceSkill
- write-commit-messageSkill
- write-skillSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
3
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 25
Follow the project's useful specification conventions.
- Distinctive: line 36
Check that every agreed in-scope behavior has a checkable acceptance criterion, exclusions remain excluded, and assumptions or proposals …
- Distinctive: line 47
Stop when the requested artifact captures the agreement, acceptance criteria cover its behavior, and remaining blockers are explicit.
“Common” is measured: kept by at least 6 in 10 of the 14 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 Spec
Produce a specification another person can implement and assess without reconstructing the conversation or mistaking proposals for decisions.
- Identify the requested artifact and inspect the discussion, existing spec, domain language, and relevant repository behavior. Separate the user's problem, accepted decisions, proposals, and current implementation. Explicit revisions supersede earlier choices; recency alone does not settle a genuine contradiction. Preserve unaffected requirements when revising an existing spec.
- Synthesize the available agreement without restarting discovery. Keep missing or conflicting decisions visible, with the behavior or acceptance criterion they block. For a draft, record them as open questions instead of inventing an answer. If the user needs a resolved specification and evidence cannot supply a material decision, ask only for that decision. Do not claim implementation readiness while a consequential requirement remains unresolved.
- Follow the project's useful specification conventions. Otherwise capture the problem and intended outcome, in-scope behavior, observable acceptance criteria, exclusions, and material open decisions. Add actors, error cases, constraints, and user stories only where they clarify agreed behavior; an exhaustive template must not manufacture scope.
- Make acceptance criteria distinguish success from failure through an observable interface. Reuse agreed test boundaries and repository evidence; a spec request does not require a new test architecture, another boundary approval, or TDD. Record only supported implementation decisions. Preserve exact contracts or a small decision-bearing prototype excerpt when prose would lose meaning, identifying its status without treating it as implemented.
- Check that every agreed in-scope behavior has a checkable acceptance criterion, exclusions remain excluded, and assumptions or proposals are not presented as facts. Current code is evidence of what exists, not authority to overwrite the agreed target. Surface relevant implementation gaps without fixing them.
Return the spec or update the requested local artifact. This Skill owns the specification; decomposition, implementation, tracker creation, labels, and publication are separate actions. Complete the reviewable draft before any needed publication approval. Existing explicit authorization for a destination remains sufficient; never require tracker setup merely to write a local spec.
Stop when the requested artifact captures the agreement, acceptance criteria cover its behavior, and remaining blockers are explicit. A spec is not evidence that its behavior has been implemented or verified.
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.

