Agent skill
spec-specify
Create or update a feature specification from a natural language description. Use when user says "/spec-specify", "create a spec", "write a specification", "I want to build...", or describes a new feature to implement. This is the FIRST step in the Spec-Driven Development workflow.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/spec-specify
SKILL.md
Spec-Specify
Create feature specifications from natural language descriptions.
Prerequisites: Project must have .specify/ directory. See specify-resources skill for setup.
Workflow
- Parse input - Extract feature description
- Generate branch name - Create 2-4 word short name (e.g., "user-auth")
- Check existing branches - Find highest feature number
- Create feature - Run
.specify/scripts/bash/create-new-feature.sh --json "description" --short-name "name" --number N - Load template - Read
.specify/templates/spec-template.md - Generate spec - Fill with user stories, requirements, success criteria
- Validate - Create checklist at
FEATURE_DIR/checklists/requirements.md - Report - Output branch name, spec path, next steps
Script Usage
.specify/scripts/bash/create-new-feature.sh --json "Feature description" --short-name "feature-name" --number N
Output: {"BRANCH_NAME":"004-feature-name","SPEC_FILE":"/path/to/spec.md","FEATURE_NUM":"004"}
Spec Guidelines
Content Rules
- Focus on WHAT users need, not HOW to implement
- No tech stack, APIs, or code structure
- Written for business stakeholders
- Maximum 3
[NEEDS CLARIFICATION]markers
User Stories
- Independently testable (P1, P2, P3...)
- Include Given/When/Then scenarios
- Each can be an MVP increment
Success Criteria
- Measurable metrics
- Technology-agnostic
- User-focused outcomes
Next Steps
After /spec-specify:
/spec-clarify- Reduce ambiguity/spec-plan- Create technical plan
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?