| name | spec-creation |
| description | Spec creation with pattern references, acceptance criteria, and demo scripts. Use when creating implementation specs, defining acceptance criteria, or breaking down user stories. |
Spec Creation Skill
Purpose
Guide spec creation with clear acceptance criteria, pattern references, and testable success validation.
When This Skill Applies
- Creating implementation specs
- Breaking down user stories
- Defining acceptance criteria
- Translating business requirements to technical specs
Spec Template (MANDATORY)
# SPEC-REN-{number}: {Feature Name}
## Summary
{One paragraph describing the feature}
## User Story
As a [user type], I want [goal] so that [benefit].
## Acceptance Criteria
- [ ] {Testable criterion 1}
- [ ] {Testable criterion 2}
- [ ] {Testable criterion 3}
## Pattern References
- **UI**: `patterns_library/ui/{pattern}.md`
- **API**: `patterns_library/api/{pattern}.md`
- **Database**: `patterns_library/database/{pattern}.md`
## Success Validation Command
```bash
{validation command}
```
Demo Script
- Navigate to {page}
- Click {button}
- Observe {expected behavior}
Logical Commits
feat(scope): implement data model [REN-{number}]
feat(scope): add API endpoint [REN-{number}]
feat(scope): create UI component [REN-{number}]
## Acceptance Criteria Patterns
```markdown
# User Actions
- [ ] User can {action} → {result}
# Data
- [ ] Data persists after {action}
- [ ] User can only see their own {data type}
# Errors
- [ ] Invalid input shows {error message}
Quality Checklist
Reference
- Spec Template:
docs/archive/specs/spec_template.md
- Pattern Library:
patterns_library/README.md