agentleFS
h3y6eh3y6e/spec-skills/skills/spec-specify/SKILL.md

spec-specify

Skill0 starsChanged 9 months agoMITView on GitHub

Create or update specs/{feature}/spec.md from user requirements — writing user stories, functional requirements, acceptance criteria, and resolving ambiguity through focused questions. Use this skill whenever someone wants to document feature requirements, write a specification, turn ideas or user research into a formal spec, update spec.md, or says "create a spec for [feature]". This is the first required step in the spec-driven workflow and typically follows spec-constitution when a team uses shared constitutional rules. Don't use for execution design, task decomposition, bug fixes, or implementation.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. xfstudio/skills★ 9same name

    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 repository6 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 11 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create or update specs/{feature}/spec.md from user requirements.

    line 16
  2. Very specific:

    Create the spec from references/spec-template.md.

    line 33
  3. Distinctive:

    Keep the spec focused on user needs, behavior, business rules, and constraints

    line 34
  4. Distinctive:

    When meaningful alternatives exist, compare 2-3 approaches with trade-offs and record the selected direction plus rejected alternatives …

    line 37
  5. Distinctive:

    Avoid locking in technical design choices unless the user explicitly requires them

    line 38
  6. Distinctive:

    If optional or secondary capabilities can stand alone, prefer splitting them into separate specs instead of expanding the current one

    line 39
  7. Very specific:

    Write acceptance scenarios as natural sentences that still make context, action, and outcome explicit.

    line 41
  8. Distinctive:

    Run a specification self-review: Scope, Data, UX, Non-Functional, Integration, Edge, Terminology, Ambiguity, Completion.

    line 42
  9. Distinctive:

    Ask only high-impact clarification questions.

    line 43
  10. Distinctive:

    Ask one question at a time

    line 44
  11. Distinctive:

    Prefer multiple choice when possible — easier to answer than open-ended

    line 45
  12. Distinctive:

    If the request describes multiple independent subsystems, stop and surface the decomposition decision immediately — do not spend …

    line 47
  13. Distinctive:

    Remove repetition, simplify wording, resolve contradictions

    line 57
  14. Very specific:

    If open points need investigation: spec-research

    line 60
  15. Very specific:

    If more refinement is needed: continue spec-specify

    line 61
  16. Distinctive:

    No unresolved high-impact ambiguity remains before handoff.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Specify Skill

Purpose

Core principle: Understand before specifying. No spec without exploring the problem space first.

Create or update specs/{feature}/spec.md from user requirements. Resolve ambiguity within this skill before handing off to downstream phases.

Input

  • User requirements
  • Existing specs/constitution.md when present
  • Existing specs/{feature}/spec.md when present

Output

  • specs/{feature}/spec.md

Steps

  1. Resolve language and shared rules from specs/constitution.md when present; otherwise infer from the available workflow documents and the user's own message. Ask only if still unclear, then conduct all subsequent interaction in this language.
  2. Decide the feature slug and target specs/{feature}/.
  3. Create the spec from references/spec-template.md.
    • Keep the spec focused on user needs, behavior, business rules, and constraints
    • Design for isolation and clarity — break the system into units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
    • YAGNI ruthlessly — remove unnecessary features from all designs
    • When meaningful alternatives exist, compare 2-3 approaches with trade-offs and record the selected direction plus rejected alternatives concisely
    • Avoid locking in technical design choices unless the user explicitly requires them
    • If optional or secondary capabilities can stand alone, prefer splitting them into separate specs instead of expanding the current one
    • Record spec-to-spec prerequisites only in frontmatter dependencies as specs/{feature}/spec.md paths
    • Write acceptance scenarios as natural sentences that still make context, action, and outcome explicit; avoid forcing literal Given/When/Then wording when it hurts readability
  4. Run a specification self-review: Scope, Data, UX, Non-Functional, Integration, Edge, Terminology, Ambiguity, Completion.
  5. Ask only high-impact clarification questions.
    • Ask one question at a time
    • Prefer multiple choice when possible — easier to answer than open-ended
    • Actively look for ambiguity that would materially change scope, behavior, data, UX, or downstream execution design
    • If the request describes multiple independent subsystems, stop and surface the decomposition decision immediately — do not spend clarification cycles refining details of a project that first needs to be split into separate specs
    • Resolve high-impact ambiguity before recommending the next phase
    • Delegate low-impact open points to spec-research for investigation
  6. Integrate answers directly into the spec.
  7. Update frontmatter.
    • Required keys: status, summary, dependencies
    • Initial status: draft
    • Set dependencies: [] when the spec has no prerequisite specs
    • Set status: approved when no unresolved high-impact ambiguity remains and the spec is ready for execution design and tasking
  8. Perform final review and keep the file within 150 lines.
    • Remove repetition, simplify wording, resolve contradictions
  9. In the completion message, suggest the next step.
    • If review-ready: spec-plan
    • If open points need investigation: spec-research
    • If more refinement is needed: continue spec-specify

Success Criteria

  • Prioritized user stories include at least one P1 story.
  • Acceptance scenarios are testable.
  • Functional requirements align with success criteria.
  • Material alternatives and the selected direction are explicit when they affect scope.
  • No unresolved high-impact ambiguity remains before handoff.

Completion Guidance

  • Next recommended step: spec-plan (or spec-research if open points remain)
  • Include the target feature and generated spec.md path in the response

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.