specweave 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -32
- package/SPECWEAVE.md +97 -63
- package/package.json +2 -2
- package/src/agents/pm/AGENT.md +286 -0
- package/src/commands/build.md +474 -0
- package/src/commands/done.md +544 -56
- package/src/commands/inc.md +85 -0
- package/src/commands/increment.md +316 -0
- package/src/commands/progress.md +258 -0
- package/src/commands/{validate-increment.md → validate.md} +1 -1
- package/src/templates/CLAUDE.md.template +11 -10
- package/src/commands/add-tasks.md +0 -176
- package/src/commands/at.md +0 -114
- package/src/commands/close-increment.md +0 -347
- package/src/commands/create-increment.md +0 -223
- package/src/commands/init.md +0 -123
- package/src/commands/ls.md +0 -100
- package/src/commands/pi.md +0 -65
- package/src/commands/si.md +0 -83
- package/src/commands/start-increment.md +0 -139
- package/src/commands/vi.md +0 -89
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: create-increment
|
|
3
|
-
description: Create a new SpecWeave increment interactively with spec.md and tasks.md
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Create New Increment
|
|
7
|
-
|
|
8
|
-
You are helping the user create a new SpecWeave increment.
|
|
9
|
-
|
|
10
|
-
## Steps:
|
|
11
|
-
|
|
12
|
-
1. **Find next increment number**:
|
|
13
|
-
- Scan `.specweave/increments/` directory
|
|
14
|
-
- Find highest number (e.g., 002)
|
|
15
|
-
- Next increment: 003
|
|
16
|
-
|
|
17
|
-
2. **Detect tech stack** (CRITICAL - framework-agnostic):
|
|
18
|
-
- Check `.specweave/config.yaml` for tech_stack configuration
|
|
19
|
-
- If not found, detect from project files:
|
|
20
|
-
- `package.json` → TypeScript/JavaScript
|
|
21
|
-
- `requirements.txt` or `pyproject.toml` → Python
|
|
22
|
-
- `go.mod` → Go
|
|
23
|
-
- `Cargo.toml` → Rust
|
|
24
|
-
- `pom.xml` or `build.gradle` → Java
|
|
25
|
-
- `*.csproj` → C#/.NET
|
|
26
|
-
- Detect framework (NextJS, Django, FastAPI, Spring Boot, etc.)
|
|
27
|
-
- If detection fails, ask user: "What language/framework are you using?"
|
|
28
|
-
- Store detected tech stack for later use
|
|
29
|
-
|
|
30
|
-
3. **Ask user for details**:
|
|
31
|
-
- "What would you like to build?" (get high-level description)
|
|
32
|
-
- "What's the short name?" (e.g., "user-authentication" for increment 003-user-authentication)
|
|
33
|
-
- "Priority? (P1/P2/P3)" (default: P1)
|
|
34
|
-
|
|
35
|
-
4. **Activate role-orchestrator**:
|
|
36
|
-
- Analyze user's description
|
|
37
|
-
- Determine which strategic agents are needed:
|
|
38
|
-
- pm-agent (product strategy)?
|
|
39
|
-
- architect-agent (system design)?
|
|
40
|
-
- devops-agent (infrastructure)?
|
|
41
|
-
- security-agent (security review)?
|
|
42
|
-
- qa-lead-agent (testing strategy)?
|
|
43
|
-
|
|
44
|
-
5. **Ask clarifying questions** (if needed):
|
|
45
|
-
- Target users/scale?
|
|
46
|
-
- Technology preferences? (if not detected)
|
|
47
|
-
- Budget constraints?
|
|
48
|
-
- Deployment platform?
|
|
49
|
-
- Payment processing needed?
|
|
50
|
-
- Authentication method?
|
|
51
|
-
|
|
52
|
-
6. **Run strategic agents** (with user approval):
|
|
53
|
-
- **Pass detected tech stack to ALL agents** (CRITICAL!)
|
|
54
|
-
- PM agent creates pm-analysis.md
|
|
55
|
-
- Architect agent creates architecture.md, ADRs (using detected tech stack)
|
|
56
|
-
- DevOps agent creates infrastructure.md (platform-specific)
|
|
57
|
-
- Security agent creates security.md (framework-specific security)
|
|
58
|
-
- QA agent creates test-strategy.md (framework-specific tests)
|
|
59
|
-
|
|
60
|
-
7. **Present strategic docs for review**:
|
|
61
|
-
- Show summary of all strategic outputs
|
|
62
|
-
- Ask: "Review docs with /review-docs or approve to continue?"
|
|
63
|
-
- Wait for user approval
|
|
64
|
-
|
|
65
|
-
8. **Create spec.md** (based on strategic docs):
|
|
66
|
-
- Frontmatter with increment number, title, priority, status, dependencies
|
|
67
|
-
- **Include detected tech stack in frontmatter** (see format below)
|
|
68
|
-
- Overview section
|
|
69
|
-
- Business value
|
|
70
|
-
- User stories with acceptance tests
|
|
71
|
-
- Functional requirements
|
|
72
|
-
- Out of scope
|
|
73
|
-
- Success criteria
|
|
74
|
-
- Dependencies
|
|
75
|
-
|
|
76
|
-
9. **Create tasks.md** (task-builder skill):
|
|
77
|
-
- Analyze all strategic docs
|
|
78
|
-
- Break down into phases (framework-specific)
|
|
79
|
-
- Create tasks with:
|
|
80
|
-
- Agent references (use framework-specific agents if available)
|
|
81
|
-
- File paths (framework-specific paths: src/ for TS, app/ for Django, etc.)
|
|
82
|
-
- Implementation snippets (framework-specific code)
|
|
83
|
-
- Acceptance criteria
|
|
84
|
-
- Documentation updates
|
|
85
|
-
|
|
86
|
-
10. **Save increment**:
|
|
87
|
-
- Create `.specweave/increments/####-name/`
|
|
88
|
-
- Save spec.md
|
|
89
|
-
- Save tasks.md
|
|
90
|
-
- Save strategic docs (pm-analysis.md, architecture.md, etc.)
|
|
91
|
-
|
|
92
|
-
11. **Output to user**:
|
|
93
|
-
```
|
|
94
|
-
✅ Created increment 0003-user-authentication
|
|
95
|
-
|
|
96
|
-
Detected tech stack:
|
|
97
|
-
- Language: {detected-language} (e.g., Python, TypeScript, Go, Java)
|
|
98
|
-
- Framework: {detected-framework} (e.g., Django, FastAPI, NextJS, Spring Boot)
|
|
99
|
-
- Database: {specified-database} (e.g., PostgreSQL, MySQL, MongoDB)
|
|
100
|
-
- Platform: {specified-platform} (e.g., AWS, Hetzner, Vercel, self-hosted)
|
|
101
|
-
|
|
102
|
-
Location: .specweave/increments/0003-user-authentication/
|
|
103
|
-
|
|
104
|
-
📋 Files created:
|
|
105
|
-
- spec.md (6 user stories, 15 requirements)
|
|
106
|
-
- tasks.md (42 implementation tasks using {framework} patterns)
|
|
107
|
-
- pm-analysis.md (product strategy)
|
|
108
|
-
- architecture.md (system design for {framework})
|
|
109
|
-
- infrastructure.md ({platform} deployment)
|
|
110
|
-
- security.md ({framework}-specific security)
|
|
111
|
-
- test-strategy.md (E2E tests for {framework})
|
|
112
|
-
|
|
113
|
-
⏱️ Estimated effort: 3-4 weeks
|
|
114
|
-
|
|
115
|
-
Next steps:
|
|
116
|
-
1. Review docs: /review-docs
|
|
117
|
-
2. Start implementation: Begin with Task T001 in tasks.md
|
|
118
|
-
3. Sync to GitHub: /sync-github
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
## Frontmatter Format (spec.md):
|
|
122
|
-
|
|
123
|
-
**IMPORTANT**: Tech stack is DETECTED from `.specweave/config.yaml` or project files, NOT hardcoded!
|
|
124
|
-
|
|
125
|
-
```yaml
|
|
126
|
-
---
|
|
127
|
-
increment: 003-user-authentication
|
|
128
|
-
title: "User Authentication System"
|
|
129
|
-
priority: P1
|
|
130
|
-
status: planned
|
|
131
|
-
created: 2025-10-26
|
|
132
|
-
dependencies: []
|
|
133
|
-
structure: user-stories
|
|
134
|
-
|
|
135
|
-
# Tech stack is DETECTED, not hardcoded
|
|
136
|
-
tech_stack:
|
|
137
|
-
detected_from: ".specweave/config.yaml" # or "package.json", "requirements.txt", etc.
|
|
138
|
-
language: "{detected-language}" # e.g., "typescript", "python", "go", "java", "rust"
|
|
139
|
-
framework: "{detected-framework}" # e.g., "nextjs", "django", "fastapi", "spring-boot", "gin"
|
|
140
|
-
database: "{specified-database}" # e.g., "postgresql", "mysql", "mongodb", "sqlite"
|
|
141
|
-
orm: "{detected-orm}" # e.g., "prisma", "django-orm", "sqlalchemy", "hibernate"
|
|
142
|
-
|
|
143
|
-
# Platform is SPECIFIED by user or detected from config
|
|
144
|
-
platform: "{specified-platform}" # e.g., "hetzner", "aws", "vercel", "self-hosted"
|
|
145
|
-
estimated_cost: "{calculated-based-on-platform}"
|
|
146
|
-
---
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
**Example for TypeScript/NextJS project**:
|
|
150
|
-
```yaml
|
|
151
|
-
tech_stack:
|
|
152
|
-
detected_from: "package.json"
|
|
153
|
-
language: "typescript"
|
|
154
|
-
framework: "nextjs"
|
|
155
|
-
database: "postgresql"
|
|
156
|
-
orm: "prisma"
|
|
157
|
-
platform: "vercel"
|
|
158
|
-
estimated_cost: "$20/month"
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
**Example for Python/Django project**:
|
|
162
|
-
```yaml
|
|
163
|
-
tech_stack:
|
|
164
|
-
detected_from: "requirements.txt"
|
|
165
|
-
language: "python"
|
|
166
|
-
framework: "django"
|
|
167
|
-
database: "postgresql"
|
|
168
|
-
orm: "django-orm"
|
|
169
|
-
platform: "hetzner"
|
|
170
|
-
estimated_cost: "$12/month"
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
**Example for Go/Gin project**:
|
|
174
|
-
```yaml
|
|
175
|
-
tech_stack:
|
|
176
|
-
detected_from: "go.mod"
|
|
177
|
-
language: "go"
|
|
178
|
-
framework: "gin"
|
|
179
|
-
database: "postgresql"
|
|
180
|
-
orm: "gorm"
|
|
181
|
-
platform: "aws"
|
|
182
|
-
estimated_cost: "$25/month"
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
## Frontmatter Format (tasks.md):
|
|
186
|
-
|
|
187
|
-
```yaml
|
|
188
|
-
---
|
|
189
|
-
increment: 003-event-booking-saas
|
|
190
|
-
status: planned
|
|
191
|
-
dependencies:
|
|
192
|
-
- 001-skills-framework
|
|
193
|
-
- 002-role-based-agents
|
|
194
|
-
phases:
|
|
195
|
-
- infrastructure
|
|
196
|
-
- backend
|
|
197
|
-
- frontend
|
|
198
|
-
- testing
|
|
199
|
-
- deployment
|
|
200
|
-
estimated_tasks: 42
|
|
201
|
-
estimated_weeks: 3-4
|
|
202
|
-
---
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
## Autonomous Mode (Advanced):
|
|
206
|
-
|
|
207
|
-
If user says "autonomous mode" or "full automation":
|
|
208
|
-
1. Run all strategic agents
|
|
209
|
-
2. Create increment
|
|
210
|
-
3. **Start implementation immediately** (with permission)
|
|
211
|
-
4. Ask clarification questions only when critical
|
|
212
|
-
5. Suggest doc updates when needed
|
|
213
|
-
6. Complete full implementation autonomously
|
|
214
|
-
|
|
215
|
-
## Error Handling:
|
|
216
|
-
|
|
217
|
-
- If `.specweave/` not found: "Error: Not a SpecWeave project. Run /create-project first."
|
|
218
|
-
- If user description too vague: Ask more clarifying questions
|
|
219
|
-
- If strategic agents not available: "Warning: Some agents missing. Continue with basic spec?"
|
|
220
|
-
|
|
221
|
-
---
|
|
222
|
-
|
|
223
|
-
**Important**: This is the main entry point for creating new work in SpecWeave.
|
package/src/commands/init.md
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 🔥 Shorthand for /create-project - Initialize SpecWeave project (Alias)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Initialize Project (Short Alias)
|
|
6
|
-
|
|
7
|
-
**⚡ Quick Alias**: This is a shorthand command for `/create-project`.
|
|
8
|
-
|
|
9
|
-
Use this when you want to quickly initialize a new SpecWeave project without typing the full command name.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Full Command
|
|
14
|
-
|
|
15
|
-
For complete documentation, see `/create-project`.
|
|
16
|
-
|
|
17
|
-
This alias provides the exact same functionality as the full command.
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Usage
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
/init [project-name] [--type=<stack>]
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Examples**:
|
|
28
|
-
```bash
|
|
29
|
-
/init # Interactive prompts
|
|
30
|
-
/init my-saas # Auto-detect tech stack
|
|
31
|
-
/init my-api --type=python # Specify Python
|
|
32
|
-
/init my-app --type=nextjs # Specify Next.js
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## What This Does
|
|
38
|
-
|
|
39
|
-
1. **Creates directory structure**:
|
|
40
|
-
```
|
|
41
|
-
my-project/
|
|
42
|
-
├── .specweave/
|
|
43
|
-
│ ├── config.yaml
|
|
44
|
-
│ ├── docs/
|
|
45
|
-
│ ├── increments/
|
|
46
|
-
│ └── tests/
|
|
47
|
-
├── .claude/
|
|
48
|
-
│ ├── commands/
|
|
49
|
-
│ ├── skills/ # Auto-install on demand
|
|
50
|
-
│ └── agents/ # Auto-install on demand
|
|
51
|
-
├── CLAUDE.md
|
|
52
|
-
└── README.md
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
2. **Detects tech stack** (or uses `--type` flag):
|
|
56
|
-
- TypeScript/JavaScript → Next.js, Node.js, React
|
|
57
|
-
- Python → FastAPI, Django, Flask
|
|
58
|
-
- Go → Gin, Echo, standard library
|
|
59
|
-
- .NET → ASP.NET Core
|
|
60
|
-
- Java → Spring Boot
|
|
61
|
-
|
|
62
|
-
3. **Auto-installs components** based on your first request:
|
|
63
|
-
```
|
|
64
|
-
User: "Create Next.js authentication"
|
|
65
|
-
|
|
66
|
-
📦 Installing required components...
|
|
67
|
-
✅ nextjs skill
|
|
68
|
-
✅ nodejs-backend skill
|
|
69
|
-
✅ security agent
|
|
70
|
-
✅ pm agent
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
4. **Initializes git** (if git available)
|
|
74
|
-
|
|
75
|
-
5. **Shows next steps**
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Tech Stack Detection
|
|
80
|
-
|
|
81
|
-
**Auto-detected from**:
|
|
82
|
-
- `package.json` (JavaScript/TypeScript)
|
|
83
|
-
- `requirements.txt`, `pyproject.toml` (Python)
|
|
84
|
-
- `go.mod` (Go)
|
|
85
|
-
- `*.csproj` (.NET)
|
|
86
|
-
- `pom.xml`, `build.gradle` (Java)
|
|
87
|
-
|
|
88
|
-
**Manual specification**:
|
|
89
|
-
```bash
|
|
90
|
-
/init --type=nextjs # Next.js + TypeScript
|
|
91
|
-
/init --type=python # Python (FastAPI default)
|
|
92
|
-
/init --type=django # Django specifically
|
|
93
|
-
/init --type=dotnet # ASP.NET Core
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
|
|
98
|
-
## After Initialization
|
|
99
|
-
|
|
100
|
-
**Start building immediately**:
|
|
101
|
-
```bash
|
|
102
|
-
cd my-project
|
|
103
|
-
/ci "User authentication" # Create first increment
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
SpecWeave will:
|
|
107
|
-
1. Detect you need auth components
|
|
108
|
-
2. Auto-install: `security` agent, `nodejs-backend` skill
|
|
109
|
-
3. Generate specs, plan, tasks
|
|
110
|
-
4. Ready to implement!
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## Other Useful Aliases
|
|
115
|
-
|
|
116
|
-
- `/ci` - Create increment (shorthand for `/create-increment`)
|
|
117
|
-
- `/si` - Start increment (shorthand for `/start-increment`)
|
|
118
|
-
- `/vi` - Validate increment (shorthand for `/validate-increment`)
|
|
119
|
-
- `/ls` - List increments (shorthand for `/list-increments`)
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
**💡 Tip**: No need to pre-install components - they install on-demand!
|
package/src/commands/ls.md
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 🔥 Shorthand for /list-increments - List all increments (Alias)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# List Increments (Short Alias)
|
|
6
|
-
|
|
7
|
-
**⚡ Quick Alias**: This is a shorthand command for `/list-increments`.
|
|
8
|
-
|
|
9
|
-
Use this when you want to quickly list increments without typing the full command name.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Full Command
|
|
14
|
-
|
|
15
|
-
For complete documentation, see `/list-increments`.
|
|
16
|
-
|
|
17
|
-
This alias provides the exact same functionality as the full command.
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Usage
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
/ls [--status=<status>] [--format=<format>]
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Examples**:
|
|
28
|
-
```bash
|
|
29
|
-
/ls # All increments
|
|
30
|
-
/ls --status=in-progress # Only in-progress
|
|
31
|
-
/ls --status=planned # Only planned
|
|
32
|
-
/ls --format=detailed # Detailed view
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## What This Shows
|
|
38
|
-
|
|
39
|
-
**Default View** (Summary):
|
|
40
|
-
```
|
|
41
|
-
📋 SpecWeave Increments
|
|
42
|
-
|
|
43
|
-
Status: in-progress (2) | planned (3) | completed (5) | closed (4)
|
|
44
|
-
|
|
45
|
-
In Progress:
|
|
46
|
-
0012-user-authentication [████████░░] 80% (8/10 tasks)
|
|
47
|
-
0013-payment-integration [███░░░░░░░] 30% (3/10 tasks)
|
|
48
|
-
|
|
49
|
-
Planned:
|
|
50
|
-
0014-admin-dashboard [░░░░░░░░░░] 0% (0/15 tasks)
|
|
51
|
-
0015-analytics-module [░░░░░░░░░░] 0% (0/12 tasks)
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
**Detailed View** (`--format=detailed`):
|
|
55
|
-
Shows full spec summary, architecture approach, test coverage, etc.
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## Status Filters
|
|
60
|
-
|
|
61
|
-
| Status | Description | Alias |
|
|
62
|
-
|--------|-------------|-------|
|
|
63
|
-
| `backlog` | Not yet planned | Ideas, proposals |
|
|
64
|
-
| `planned` | Spec created, not started | Ready to work |
|
|
65
|
-
| `in-progress` | Active work | Currently implementing |
|
|
66
|
-
| `completed` | Tasks done, ready to close | Awaiting review/merge |
|
|
67
|
-
| `closed` | Finished and archived | Done |
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## Typical Usage
|
|
72
|
-
|
|
73
|
-
**Quick check**:
|
|
74
|
-
```bash
|
|
75
|
-
/ls --status=in-progress # What am I working on?
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
**Planning**:
|
|
79
|
-
```bash
|
|
80
|
-
/ls --status=planned # What's next?
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
**Review**:
|
|
84
|
-
```bash
|
|
85
|
-
/ls --format=detailed # Full increment overview
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## Other Useful Aliases
|
|
91
|
-
|
|
92
|
-
- `/ci` - Create increment (shorthand for `/create-increment`)
|
|
93
|
-
- `/si` - Start increment (shorthand for `/start-increment`)
|
|
94
|
-
- `/vi` - Validate increment (shorthand for `/validate-increment`)
|
|
95
|
-
- `/done` - Close increment (shorthand for `/close-increment`)
|
|
96
|
-
- `/at` - Add tasks (shorthand for `/add-tasks`)
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
|
-
**💡 Tip**: Use `/ls` daily to track progress across all increments.
|
package/src/commands/pi.md
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 🔥 Shorthand for /create-increment - Plan Product Increment (Alias)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Plan Product Increment (Short Alias)
|
|
6
|
-
|
|
7
|
-
**⚡ Quick Alias**: This is a shorthand command for `/create-increment`.
|
|
8
|
-
|
|
9
|
-
**PI = Product Increment** - Standard Agile terminology for a planned unit of work.
|
|
10
|
-
|
|
11
|
-
Use this when you want to quickly create a new SpecWeave increment without typing the full command name.
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Full Command
|
|
16
|
-
|
|
17
|
-
For complete documentation, see `/create-increment`.
|
|
18
|
-
|
|
19
|
-
This alias provides the exact same functionality as the full command.
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## Usage
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
/pi "Feature name"
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
**Example**:
|
|
30
|
-
```bash
|
|
31
|
-
/pi "User authentication"
|
|
32
|
-
/pi "Payment processing"
|
|
33
|
-
/pi "Admin dashboard"
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## What This Does
|
|
39
|
-
|
|
40
|
-
1. **Auto-numbers** the increment (e.g., 0001, 0002, 0003...)
|
|
41
|
-
2. **Creates folder** at `.specweave/increments/XXXX-feature-name/`
|
|
42
|
-
3. **Generates files**:
|
|
43
|
-
- `spec.md` - WHAT & WHY (user stories, acceptance criteria)
|
|
44
|
-
- `plan.md` - HOW (architecture, implementation strategy)
|
|
45
|
-
- `tasks.md` - Implementation checklist
|
|
46
|
-
- `tests.md` - Test strategy and coverage matrix
|
|
47
|
-
- `context-manifest.yaml` - Context loading configuration
|
|
48
|
-
4. **Invokes agents**:
|
|
49
|
-
- PM agent (requirements analysis)
|
|
50
|
-
- Architect agent (technical design)
|
|
51
|
-
- QA Lead agent (test strategy)
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## Other Useful Aliases
|
|
56
|
-
|
|
57
|
-
- `/si` - Start increment (shorthand for `/start-increment`)
|
|
58
|
-
- `/vi` - Validate increment (shorthand for `/validate-increment`)
|
|
59
|
-
- `/done` - Close increment (shorthand for `/close-increment`)
|
|
60
|
-
- `/ls` - List increments (shorthand for `/list-increments`)
|
|
61
|
-
- `/at` - Add tasks (shorthand for `/add-tasks`)
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
**💡 Tip**: Use `/pi` for speed (PI = Product Increment in Agile), `/create-increment` for clarity in scripts.
|
package/src/commands/si.md
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 🔥 Shorthand for /start-increment - Start working on increment (Alias)
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Start Increment (Short Alias)
|
|
6
|
-
|
|
7
|
-
**⚡ Quick Alias**: This is a shorthand command for `/start-increment`.
|
|
8
|
-
|
|
9
|
-
Use this when you want to quickly start working on an increment without typing the full command name.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Full Command
|
|
14
|
-
|
|
15
|
-
For complete documentation, see `/start-increment`.
|
|
16
|
-
|
|
17
|
-
This alias provides the exact same functionality as the full command.
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Usage
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
/si <increment-id>
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Examples**:
|
|
28
|
-
```bash
|
|
29
|
-
/si 0001
|
|
30
|
-
/si 0042
|
|
31
|
-
/si 0123
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
## What This Does
|
|
37
|
-
|
|
38
|
-
1. **Updates status** to `in-progress` in `tasks.md`
|
|
39
|
-
2. **Loads context** via context-manifest.yaml
|
|
40
|
-
3. **Creates feature branch** (if git workflow enabled)
|
|
41
|
-
4. **Shows increment summary**:
|
|
42
|
-
- Spec highlights (user stories, goals)
|
|
43
|
-
- Architecture approach
|
|
44
|
-
- Task breakdown
|
|
45
|
-
- Test strategy
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Typical Workflow
|
|
50
|
-
|
|
51
|
-
```bash
|
|
52
|
-
# 1. Create increment
|
|
53
|
-
/ci "User authentication"
|
|
54
|
-
|
|
55
|
-
# 2. Review generated specs
|
|
56
|
-
# ... check spec.md, plan.md, tasks.md ...
|
|
57
|
-
|
|
58
|
-
# 3. Start working
|
|
59
|
-
/si 0001
|
|
60
|
-
|
|
61
|
-
# 4. Implement tasks
|
|
62
|
-
# ... write code, tests, docs ...
|
|
63
|
-
|
|
64
|
-
# 5. Validate quality
|
|
65
|
-
/vi 0001 --quality
|
|
66
|
-
|
|
67
|
-
# 6. Close when done
|
|
68
|
-
/done 0001
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
## Other Useful Aliases
|
|
74
|
-
|
|
75
|
-
- `/ci` - Create increment (shorthand for `/create-increment`)
|
|
76
|
-
- `/vi` - Validate increment (shorthand for `/validate-increment`)
|
|
77
|
-
- `/done` - Close increment (shorthand for `/close-increment`)
|
|
78
|
-
- `/ls` - List increments (shorthand for `/list-increments`)
|
|
79
|
-
- `/at` - Add tasks (shorthand for `/add-tasks`)
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
**💡 Tip**: Always validate (`/vi`) before starting to catch spec issues early.
|