spec-writer
Skill1 starsChanged 21 days agoMITView on GitHub
Turn a feature request into spec files a coding agent can execute: requirements with EARS acceptance criteria (WHEN <condition> THE SYSTEM SHALL <behavior>), a design grounded in the current code, and a dependency-ordered task list in which every task traces to the criteria it satisfies. Writes Kiro's requirements.md, design.md, and tasks.md, or Spec Kit's spec.md, plan.md, and tasks.md, whichever the repository already uses. Use before handing a multi-file feature to an agent, or when an existing spec has acceptance criteria nobody can test.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- gaia-computer-technologies/gaia-ai-architecttheir own version, first seen Nov 29, 2026
- sivaprasadreddy/sivalabs-agent-skillstheir own version, first seen Nov 29, 2026
- gaia-computer-technologies/architecttheir own version, first seen Nov 29, 2026
- Ecoa-PUC-Rio/GAIDEtheir own version, first seen Nov 26, 2026
- jcarlos78/GAIDEtheir own version, first seen Nov 26, 2026
- jthiruveedula/agentkittheir own version, first seen Nov 22, 2026
Used with
Projects with it also use security-reviewer, meeting-minutes and 2 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.
lsyamsiarSkillsecurity-reviewer
Identifies security vulnerabilities, generates structured audit reports with severity ratings, and provides actionable remediation guidance. Use when conducting security audits, reviewing code for vulnerabilities, or analyzing infrastructure security. Invoke for SAST scans, penetration testing, DevSecOps practices, cloud security reviews, dependency audits, secrets scanning, or compliance checks. Produces vulnerability reports, prioritized recommendations, and compliance checklists.
Also in 3 projects that use this
GitHubSkillmeeting-minutes
Generate concise, actionable meeting minutes for internal meetings. Includes metadata, attendees, agenda, decisions, action items (owner + due date), and follow-up steps.
Also in 3 projects that use this
GoogleSkillcode-reviewer
Also in 4 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 3 projects that use this
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- MageByte-Zero/spec-superflow★ 875same name
- AlpacaLabsLLC/skills-for-architects★ 445same name
- sivaprasadreddy/sivalabs-agent-skills★ 198same name
- SamJHudson01/Carmack-Council★ 52same name
- dannwaneri/spec-writer★ 26same name
- JPeetz/agent-skills★ 21same name
- kambleakash0/agent-skills★ 10same name
- Ecoa-PUC-Rio/GAIDE★ 8same name
- jcarlos78/GAIDE★ 8same name
- AskExe/exe-build-skills★ 4same name
20 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 repository168 other files it gives its agents.
- agents.mdAGENTS.md
- 3d-asset-handoff-sheetSkill
- accessibility-regression-auditorSkill
- adr-writerSkill
- agent-memory-designerSkill
- agent-trajectory-evaluatorSkill
- alerting-rules-tunerSkill
- analysis-memo-writerSkill
- annotation-disagreement-ledgerSkill
- annotation-task-spec-builderSkill
- api-deprecation-plannerSkill
- api-error-contract-designerSkill
- architecture-diagram-generatorSkill
- asset-metadata-review-ledgerSkill
- auth-flow-reviewerSkill
- avatar-video-script-writerSkill
- background-job-reliability-auditorSkill
- branch-rebaserSkill
- brand-voice-profilerSkill
- bundle-analyzerSkill
- cache-policy-designerSkill
- canary-release-plannerSkill
- caption-correction-ledgerSkill
- changelog-from-prsSkill
- chart-chooserSkill
- chunking-strategy-optimizerSkill
- circular-dependency-breakerSkill
- claude-settings-auditorSkill
- code-example-verifierSkill
- cold-email-deliverability-auditorSkill
- cold-start-optimizerSkill
- commit-splitterSkill
- competitor-teardownSkill
- component-spec-writerSkill
- connection-pool-tunerSkill
- content-repurposerSkill
- contract-obligation-registerSkill
- contract-test-designerSkill
- conventional-commitsSkill
- cors-configuratorSkill
- coverage-gap-finderSkill
- crm-export-auditorSkill
- dashboard-designerSkill
- data-retention-auditorSkill
- dataset-first-lookSkill
- dead-code-finderSkill
- deadlock-diagnoserSkill
- decision-log-reconcilerSkill
- dependency-auditSkill
- dependency-upgrade-plannerSkill
- design-brief-writerSkill
- design-critique-checklistSkill
- design-token-extractorSkill
- devcontainer-designerSkill
- distributed-tracing-instrumenterSkill
- dockerfile-optimizerSkill
- email-sequence-drafterSkill
- embedding-index-tunerSkill
- embedding-set-inspectorSkill
- entity-match-candidate-ledgerSkill
- The first 60 shown.
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 26 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 31
Neither: ask which layout to use. If the user has no preference, use Kiro's three file names in a folder the user confirms, such as …
- Distinctive: line 40
No implementation words (no table names, libraries, or endpoints) and no unmeasurable adjectives.
“Common” is measured: kept by at least 6 in 10 of the 26 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
Spec-driven development moves corrections upstream: you fix a sentence in a spec instead of redirecting an agent halfway through a diff. Two file conventions are common. Kiro generates three files per spec: requirements.md (user stories and acceptance criteria in EARS notation), design.md (architecture, sequence diagrams, error handling, testing strategy), and tasks.md (discrete, trackable implementation tasks). GitHub Spec Kit splits the work into spec.md (the what and why, no tech stack), plan.md (the technical plan), and a dependency-ordered tasks.md. This skill writes whichever layout the repository already uses, so the files work with that tool's own commands and with the spec-implementer agent. What it adds over a blank template is discipline: every criterion is testable, every design element serves a requirement, and every task traces to the criteria it satisfies.
When to use this skill
- A feature touches several files or layers and you want an agent to build it from an agreed spec, not from a chat thread.
- A spec exists, but its acceptance criteria say "fast" or "user-friendly" and nobody could write a test from them.
- The team uses Kiro or Spec Kit and you want a spec in the same format without running the full tool flow.
- Work will span sessions or people, and the task list has to survive a context reset.
When NOT to use this skill
- A one-file change or a bug with an obvious fix: write the test and fix it, or use /plan-feature for a quick plan.
- A design document for human reviewers that argues alternatives: /write-design-doc.
- Recording a decision already made: the adr-writer skill.
- Building the spec: the spec-implementer agent works through
tasks.mdone task at a time. - Spec Kit is installed and you want its whole flow: run its skills directly (
/speckit-specify,/speckit-plan,/speckit-tasks).
Instructions
- Detect the convention before writing anything.
- Spec Kit: its Claude Code integration installs skills at
.claude/skills/speckit-<command>/SKILL.md, soGlobfor.claude/skills/speckit-*/SKILL.md. Existingspec.md+plan.md+tasks.mdsets also mean Spec Kit. If the repo has a Spec Kit constitution (created by/speckit-constitution), read it and follow its principles. - Kiro: existing
requirements.md+design.md+tasks.mdsets (a bug spec usesbugfix.mdin place ofrequirements.md). Globfor**/requirements.md,**/spec.md, and**/tasks.md, excludingnode_modules, and put the new spec beside the existing ones using the same folder naming.- Neither: ask which layout to use. If the user has no preference, use Kiro's three file names in a folder the user confirms, such as
docs/specs/<feature-slug>/. Do not invent a tool-specific directory.
- Spec Kit: its Claude Code integration installs skills at
- Restate the request and surface the gaps. Write one paragraph: who needs what, and why. List what the request leaves open (scope boundaries, error behavior, permissions, limits, what happens to existing data). Ask up to five questions in one batch. Anything still unanswered becomes a labelled assumption in the requirements, never a silent choice.
- Read the code the feature touches. Use
Read,Grep, andGlobon the entry points, the closest existing feature, the data models, the test layout, andCLAUDE.mdor the README for the test command. Requirements stay free of technology, but you need the code to know what already exists and to write a design that fits. Write the requirements with EARS acceptance criteria. Kiro's
requirements.mduses EARS (Easy Approach to Requirements Syntax): each criterion followsWHEN [condition/event] THE SYSTEM SHALL [expected behavior], for example "WHEN a user submits a form with invalid data THE SYSTEM SHALL display validation errors next to the relevant fields". Structure:- Numbered requirements, each with a user story ("As a … I want … so that …").
- Numbered criteria under each (
1.1,1.2), one observable behavior per criterion, including the failure and edge cases, not only the happy path. - No implementation words (no table names, libraries, or endpoints) and no unmeasurable adjectives. "Fast" becomes a threshold; if nobody knows the threshold, it becomes an open question.
- An Out of scope list and an Assumptions list.
For Spec Kit,
spec.mdholds the same content: the what and the why, with the tech stack left forplan.md. Order the user stories by priority, because Spec Kit's task phases follow that order. Use EARS criteria unless the repo's existingspec.mdfiles use another criteria format; then match theirs.- Write the design (
design.mdorplan.md). Cover architecture and components, interfaces and data models, a sequence diagram for the main flow, error handling, and the testing strategy. Cite real file paths and symbols from step 3. Every design element names the requirement numbers it serves; an element that serves none is either scope creep or a missing requirement, so resolve it. Write
tasks.md. A checkbox list, dependency-ordered, each task small enough for one focused session:- [ ] 3. Add the export endpoint - Files: src/routes/reports.ts, src/services/export.ts - Requirements: 1.1, 1.3, 2.2 - Done when: test/export.test.ts "returns 413 when the report exceeds the row limit" passesEvery task names the criteria it satisfies and the test that proves them; put the test first in the task when that is practical. For Spec Kit, group tasks in its phases: Setup, Foundational (blocking prerequisites), one phase per user story in priority order, then Polish, and mark tasks that can run in parallel with the marker the repo's existing
tasks.mdfiles use.- Check traceability before handing over. Every criterion is covered by at least one task. Every task other than setup traces to at least one criterion. Every design element serves a requirement. No criterion contains an untestable word. If Spec Kit is installed, its
/speckit-analyzestep runs a read-only consistency check acrossspec.md,plan.md, andtasks.md; recommend it. - Stop for review. The spec is the deliverable. Do not start implementing, and do not create source or test files. Report the files written, the open questions, and the assumptions the reviewer must confirm.
[!WARNING] An acceptance criterion an agent cannot test is a criterion the agent will decide for you. "THE SYSTEM SHALL handle large reports gracefully" turns into whatever the implementing session finds easiest. Name the condition and the observable result, or list the question under Open questions and leave the criterion out until someone answers it.
[!NOTE] The spec does not need to be long. Three requirements with sharp criteria beat fifteen vague ones, and a reviewer reads them. Spec-driven work pays off on features with real surface area; for a spike, the spec would be fiction.
Output
The spec files in the detected layout (requirements.md, design.md, tasks.md, or spec.md, plan.md, tasks.md), and a short report: the layout chosen and why, the files written, a traceability summary (criteria count, tasks count, any gaps), the open questions, and the assumptions.
Example
Excerpt from a Kiro-layout spec for a fictional "Acme Reports" CSV export:
## Requirement 1: Export a report as CSV
**User story:** As an account admin, I want to download a report as CSV, so that I can analyse it in a spreadsheet.
### Acceptance criteria
1.1 WHEN an admin selects "Export CSV" on a report THE SYSTEM SHALL download a UTF-8 CSV file with one header row and one row per report line.
1.2 WHEN a report has zero rows THE SYSTEM SHALL download a CSV that contains only the header row.
1.3 WHEN a report exceeds 50,000 rows THE SYSTEM SHALL refuse the export and show "This report is too large to export; filter it first."
1.4 WHEN a user without the admin role requests an export THE SYSTEM SHALL return a 403 response and download nothing.
### Assumptions
- The 50,000-row limit comes from the request thread; confirm before implementation.
### Out of scope
- Scheduled or emailed exports.The /spec command runs this procedure from a feature description and stops for review. Once the spec is approved, the spec-implementer agent builds tasks.md one checked-off task at a time. The best spec-driven development tools roundup compares Kiro, Spec Kit, and the alternatives.
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.

