From dev
Step 1: Write specification with strict template - GATE 1 validation required
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin packlikez-claude-code-dev-plugin<feature-name># Step 1: Write Specification ## Process ### 1. Gather Requirements Use AskUserQuestion tool to clarify: - What is the feature? - Who is it for? (specific role) - What problem does it solve? - What are the success criteria? ### 2. Tech Stack Confirmation Use AskUserQuestion to confirm: Use WebSearch/Context7 to verify latest library versions. ### 3. Cross-Feature Awareness Document: Related Features, Shared Resources, Dependencies. ### 4. Delegate to Spec Writer Use Task tool with `spec-writer` agent: ### 5. Validate Gate Use Task tool with `gate-keeper` agent: See `gate-...
/specStarts spec-driven development: asks clarifying questions on objectives, features, tech stack, and boundaries; generates structured SPEC.md covering six core areas; confirms before proceeding.
/specAuthors structured NLSpec from natural language description using multi-AI research, with adversarial completeness validation, scoring, and saved spec file.
/specGenerates complete feature specifications from a feature name or rough idea, spanning requirements to implementation plan.
/specInitiates phased Spec Mode for a feature description: interactively refines requirements (EARS), designs (Mermaid, TS interfaces), and tasks, generating requirements.md, design.md, tasks.md.
/specGenerates spec docs from feature description: requirements.md (EARS notation), design.md (Mermaid diagrams, TS interfaces), tasks.md (implementation plan).
/specGenerates structured specs from minimal feature description using Kiro method: requirements.md (EARS notation), design.md (Mermaid diagrams, TS interfaces), tasks.md (impl plan).
Use AskUserQuestion tool to clarify:
Use AskUserQuestion to confirm:
Backend: Language, Framework, ORM, Validation, Auth
Frontend: Framework, State, UI Library, Forms, Styling
Use WebSearch/Context7 to verify latest library versions.
# Check existing specs for conflicts
ls specs/features/ specs/api/
grep -r "{keyword}" specs/
Document: Related Features, Shared Resources, Dependencies.
Use Task tool with spec-writer agent:
# Feature: {name}
## User Story
As a {role}, I want to {action}, So that {benefit}.
## Acceptance Criteria (≥3)
- [ ] GIVEN {context} WHEN {action} THEN {result}
## API Contract
| Method | Path | Description |
|--------|------|-------------|
### Request/Response for each endpoint
- Success response
- Error responses (400, 401, 403, 404, 409)
## Data Model
- Tables with constraints
- Relationships (FKs)
- Indexes
## Edge Cases (≥5)
| Scenario | Expected Behavior |
## Related Features
| Feature | Relationship |
## Shared Resources
- Tables, APIs, Components shared with other features
## Out of Scope
- What is NOT included
Use Task tool with gate-keeper agent:
Validate GATE 1 for {feature-name}
See gate-1-spec skill for all 18 criteria.
□ Has User Story (As a/I want/So that)
□ Has Acceptance Criteria (≥3, GIVEN/WHEN/THEN)
□ Has API Contract with ALL responses
□ Has Data Model (normalized 3NF)
□ Has Edge Cases (≥5)
□ Has Related Features section
□ Has Out of Scope section
□ Each criterion is testable
□ No conflicts with existing specs
specs/{type}/{feature-name}.mdfeatures/, api/, bug-fixes/, enhancements/