Initial commit
This commit is contained in:
29
commands/build.md
Normal file
29
commands/build.md
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
description: Build a new feature using systematic spec-driven development workflow
|
||||
argument-hint: [feature briefing or description]
|
||||
allowed-tools: Bash(bash:*)
|
||||
---
|
||||
|
||||
# Build Feature with Spec-Driven Development
|
||||
|
||||
Use the Skill tool to load the `spec-architect` skill and execute the **BUILD workflow**.
|
||||
|
||||
## Context
|
||||
|
||||
- Next available spec ID: !`bash ~/.claude/plugins/marketplaces/codethread-plugins/plugins/spec-dev/scripts/get-next-spec-id.sh`
|
||||
|
||||
## Arguments
|
||||
|
||||
- `FEATURE_BRIEF`: $ARGUMENTS
|
||||
|
||||
## Instructions
|
||||
|
||||
1. Load the `spec-dev:spec-architect` skill
|
||||
|
||||
2. Follow the **PLAN Workflow** first to create and validate specifications
|
||||
|
||||
3. Use the `FEATURE_BRIEF` as your starting point for planning
|
||||
|
||||
4. Use the next available spec ID from Context when creating the specification directory
|
||||
|
||||
5. Once specifications are complete and validated, proceed to the **BUILD Workflow** for implementation
|
||||
33
commands/iterate.md
Normal file
33
commands/iterate.md
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
description: Continue or expand work on existing specification with new requirements
|
||||
argument-hint: [what to add/change/continue]
|
||||
allowed-tools: Bash(bash:*)
|
||||
---
|
||||
|
||||
# Iterate on Existing Specification
|
||||
|
||||
Use the Skill tool to load the `spec-architect` skill and execute the **ITERATE workflow**.
|
||||
|
||||
## Context
|
||||
|
||||
- Most recent spec: !`bash ~/.claude/plugins/marketplaces/codethread-plugins/plugins/spec-dev/scripts/get-latest-spec.sh specs`
|
||||
|
||||
## Arguments
|
||||
|
||||
- `ITERATION_BRIEF`: $ARGUMENTS
|
||||
|
||||
## Instructions
|
||||
|
||||
1. Determine which spec to use:
|
||||
- By default, use the most recent spec from Context
|
||||
- If `ITERATION_BRIEF` mentions a specific spec (e.g., "add PDF export to specs/002-dashboard"), use that spec instead
|
||||
- Pay attention to phrases like "in spec 002", "for the authentication feature", or explicit spec directory references
|
||||
|
||||
2. Load the `spec-dev:spec-architect` skill
|
||||
|
||||
3. Follow the **ITERATE Workflow** described in the loaded skill:
|
||||
- The workflow will assess the current state
|
||||
- Route to **PLAN Workflow** if specifications need creation/refinement
|
||||
- Route to **BUILD Workflow** if ready to implement from existing specs
|
||||
|
||||
4. Use the `ITERATION_BRIEF` to understand what the user wants (continue implementation, add features, refine design, etc.)
|
||||
Reference in New Issue
Block a user