spec-writer
Skill198 starsChanged 5 days agoMITView on GitHub
Accept a feature description, a GitHub issue, or an ID referencing a requirement in a local file, interview the human one question at a time to clarify intent and business rules, then write reviewable behavioral requirements and acceptance criteria before implementation.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- imtiazrayhan/agentscamp-librarytheir own version, first seen Nov 29, 2026
- gaia-computer-technologies/gaia-ai-architecttheir 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 adr-writer, security-reviewer and 3 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.
Mathews-TomSkilladr-writer
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an ADR", "document this decision", "architecture decision record", "decision record", "design decision", "ADR for".
Also in 3 projects that use this
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
- 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
- fx/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 repository20 other files it gives its agents.
- api-designSkill
- application-securitySkill
- apply-renovate-prsSkill
- architecture-guidelinesSkill
- authentication-authorizationSkill
- configuration-and-secretsSkill
- data-access-and-migrationsSkill
- database-designSkill
- deployment-and-deliverySkill
- external-integrations-and-messagingSkill
- java-code-reviewSkill
- jspecify-skillSkill
- observabilitySkill
- pair-programmingSkill
- progenSkill
- reliability-and-performanceSkill
- spring-boot-skillSkill
- spring-modulith-verifierSkill
- technical-decision-makingSkill
- testing-strategySkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Feature description: check docs/requirements.md for a matching requirement and reuse its ID if found.
- Distinctive: line 16
If the input type is unclear, the source cannot be read, or the ID does not resolve to exactly one requirement, ask the human before …
- Distinctive: line 20
Read the available request, issue, specification, and relevant project context.
- Very specific: line 30
Use the following metadata keys and headings in this order.
- Distinctive: line 61
Do not silently invent business rules or convert technical preferences into business requirements.
- Distinctive: line 62
Prefer observable behavior over prescribing classes, methods, frameworks, or internal design.
- Distinctive: line 64
Keep requirements testable, specific, and concise.
- Distinctive: line 65
Do not begin feature implementation until the behavior and material ambiguities are approved.
“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
Behavior Specification
Purpose
Establish what the software must do before an agent chooses how to implement it.
Starting input
- GitHub issue (e.g.
#123,owner/repo#123, or an issue URL): read it withgh issue view <id> --commentsand use its title, description, and comments as the starting requirements. - Local ID reference (e.g.
UC-001,REQ-001): read the matching requirement fromdocs/requirements.md(or the referenced requirements file) and use its ID, title, dependencies, description, and acceptance criteria as the starting requirements. - Feature description: check
docs/requirements.mdfor a matching requirement and reuse its ID if found; otherwise treat it as a new requirement. - If the input type is unclear, the source cannot be read, or the ID does not resolve to exactly one requirement, ask the human before proceeding.
- During the interview, ask only about gaps and conflicts; do not repeat questions the source already answers.
Workflow
- Read the available request, issue, specification, and relevant project context.
- Separate explicit requirements from assumptions and inferred details.
- Identify ambiguities, conflicting rules, missing failure behavior, boundary conditions, and relevant security or data-integrity concerns.
- Begin an adaptive interview with the most important gap in understanding. Ask exactly one question per turn, addressing a single decision or topic, then wait for the human's answer. Keep follow-ups, confirmation, and file-location or overwrite questions in separate turns too; do not bundle subquestions into one sentence, list, or tool call.
- Use each answer to update the understanding and choose the next question. Follow up on vague answers or contradictions before moving on. Explore relevant edge cases and negative scenarios as they emerge, clearly labeling suggestions that need a business decision. Offer brief examples or choices when useful, while keeping each turn focused on one question. Ask about implementation details only when they affect expected behavior.
- Continue until the clarity criteria below are met, using prior answers rather than repeating questions. Keep track of confirmed details and unresolved points; defer drafting or saving the specification until the interview is complete. Then summarize the understood behavior, scope, and assumptions in the conversation and ask one question inviting confirmation or correction. Wait for the response; silence is not confirmation. If corrected, resolve the remaining gaps one question at a time and confirm the revised understanding before proceeding.
- Produce a concise behavior specification using the specification format below. Describe the goal, triggers, main success paths, validation and failure behavior, and relevant boundary and edge cases under
UseCase Details. State invariants underBusiness Rulesand acceptance criteria as observable outcomes. Record any explicitly deferred, nonessential decisions under the relevant section. - Save the specification as
{feature-title}.mdin the feature's agreed documentation location (default todocs/specs/). Use a short, filesystem-safe feature title (lowercase kebab-case); do not overwrite an existing specification without checking with the human. Present the specification and any added requirements entry for human review. Do not treat unresolved assumptions as approved requirements.
Specification format
Use the following metadata keys and headings in this order. The metadata values shown are examples: use the feature's title, status, following existing project conventions. Set the initial status to NOT_IMPLEMENTED.
---
Title: Initial Project Setup
Status: NOT_IMPLEMENTED
---
## Actors
## Preconditions
## UseCase Details
## Business Rules
## Acceptance Criteria
## In Scope
## Out of scopePopulate every section with the confirmed behavior; use None when a section does not apply.
Clarity criteria
The interview is complete when the human has established:
- The actors, their goals, and the problem the feature addresses.
- The scope, exclusions, triggers, and preconditions.
- The main success paths and observable outcomes.
- The business rules, validation, failure behavior, and boundaries that materially affect correctness.
- Enough detail to state testable acceptance criteria without inventing requirements.
Use these as coverage criteria, not a fixed questionnaire. An answer may resolve several areas at once. Resolve material uncertainty before declaring clarity; record explicitly deferred, nonessential decisions as open questions. Once the criteria and confirmation are satisfied, write the specification instead of continuing the interview.
Rules
- The human owns business intent and final decisions about expected behavior.
- Do not silently invent business rules or convert technical preferences into business requirements.
- Prefer observable behavior over prescribing classes, methods, frameworks, or internal design.
- Reuse existing project conventions and documented decisions; call out conflicts rather than silently overriding them.
- Keep requirements testable, specific, and concise.
- Do not begin feature implementation until the behavior and material ambiguities are approved.
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.

