specweave 0.1.5 → 0.1.6
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 +162 -243
- package/SPECWEAVE.md +14 -12
- package/package.json +1 -1
- package/src/commands/README.md +171 -0
- package/src/commands/at.md +114 -0
- package/src/commands/ci.md +63 -0
- package/src/commands/done.md +103 -0
- package/src/commands/init.md +123 -0
- package/src/commands/ls.md +100 -0
- package/src/commands/si.md +83 -0
- package/src/commands/vi.md +89 -0
- package/src/skills/specweave-detector/SKILL.md +137 -178
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# SpecWeave Slash Commands
|
|
2
|
+
|
|
3
|
+
This directory contains all slash commands for SpecWeave, including both full commands and short aliases.
|
|
4
|
+
|
|
5
|
+
## Command Aliases
|
|
6
|
+
|
|
7
|
+
SpecWeave provides short aliases for frequently used commands to speed up your workflow:
|
|
8
|
+
|
|
9
|
+
| Full Command | Alias | Description |
|
|
10
|
+
|--------------|-------|-------------|
|
|
11
|
+
| `/create-project` | `/init` | Initialize new SpecWeave project |
|
|
12
|
+
| `/create-increment` | `/ci` | Create new increment |
|
|
13
|
+
| `/start-increment` | `/si` | Start working on increment |
|
|
14
|
+
| `/add-tasks` | `/at` | Add tasks to increment |
|
|
15
|
+
| `/validate-increment` | `/vi` | Validate increment quality |
|
|
16
|
+
| `/close-increment` | `/done` | Close completed increment |
|
|
17
|
+
| `/list-increments` | `/ls` | List all increments |
|
|
18
|
+
|
|
19
|
+
## Usage
|
|
20
|
+
|
|
21
|
+
### Full Commands (Explicit)
|
|
22
|
+
|
|
23
|
+
Use full commands when:
|
|
24
|
+
- ✅ Writing scripts or automation
|
|
25
|
+
- ✅ Documentation and tutorials
|
|
26
|
+
- ✅ Sharing commands with team members
|
|
27
|
+
- ✅ Clarity is more important than speed
|
|
28
|
+
|
|
29
|
+
**Example**:
|
|
30
|
+
```bash
|
|
31
|
+
/create-increment "User authentication with OAuth"
|
|
32
|
+
/validate-increment 0001 --quality
|
|
33
|
+
/close-increment 0001
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Aliases (Quick)
|
|
37
|
+
|
|
38
|
+
Use aliases when:
|
|
39
|
+
- ✅ Active development (speed matters)
|
|
40
|
+
- ✅ Iterative workflow (creating/validating frequently)
|
|
41
|
+
- ✅ Command-line muscle memory
|
|
42
|
+
- ✅ Personal productivity
|
|
43
|
+
|
|
44
|
+
**Example**:
|
|
45
|
+
```bash
|
|
46
|
+
/ci "User authentication with OAuth"
|
|
47
|
+
/vi 0001 --quality
|
|
48
|
+
/done 0001
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Typical Workflow
|
|
52
|
+
|
|
53
|
+
**Using aliases for speed**:
|
|
54
|
+
```bash
|
|
55
|
+
# 1. Initialize project
|
|
56
|
+
/init my-saas
|
|
57
|
+
|
|
58
|
+
# 2. Create first increment
|
|
59
|
+
/ci "User authentication"
|
|
60
|
+
|
|
61
|
+
# 3. Start working
|
|
62
|
+
/si 0001
|
|
63
|
+
|
|
64
|
+
# 4. Add tasks as needed
|
|
65
|
+
/at 0001 "Implement login endpoint"
|
|
66
|
+
/at 0001 "Add password validation"
|
|
67
|
+
|
|
68
|
+
# 5. Check progress
|
|
69
|
+
/ls --status=in-progress
|
|
70
|
+
|
|
71
|
+
# 6. Validate before closing
|
|
72
|
+
/vi 0001 --quality
|
|
73
|
+
|
|
74
|
+
# 7. Close when done
|
|
75
|
+
/done 0001
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Using full commands for clarity**:
|
|
79
|
+
```bash
|
|
80
|
+
# Same workflow with explicit commands
|
|
81
|
+
/create-project my-saas
|
|
82
|
+
/create-increment "User authentication"
|
|
83
|
+
/start-increment 0001
|
|
84
|
+
/add-tasks 0001 "Implement login endpoint"
|
|
85
|
+
/list-increments --status=in-progress
|
|
86
|
+
/validate-increment 0001 --quality
|
|
87
|
+
/close-increment 0001
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## All Available Commands
|
|
91
|
+
|
|
92
|
+
### Core Workflow Commands
|
|
93
|
+
|
|
94
|
+
| Command | Alias | Description |
|
|
95
|
+
|---------|-------|-------------|
|
|
96
|
+
| `/create-project` | `/init` | Bootstrap new SpecWeave project with auto-detection |
|
|
97
|
+
| `/create-increment` | `/ci` | Create new increment with PM/Architect/QA planning |
|
|
98
|
+
| `/start-increment` | `/si` | Start working on an increment (load context, create branch) |
|
|
99
|
+
| `/add-tasks` | `/at` | Add tasks to existing increment |
|
|
100
|
+
| `/validate-increment` | `/vi` | Validate increment (120 rules + optional LLM quality judge) |
|
|
101
|
+
| `/close-increment` | `/done` | Close increment with leftover task handling |
|
|
102
|
+
| `/list-increments` | `/ls` | List all increments with status and progress |
|
|
103
|
+
|
|
104
|
+
### Documentation & Review Commands
|
|
105
|
+
|
|
106
|
+
| Command | Alias | Description |
|
|
107
|
+
|---------|-------|-------------|
|
|
108
|
+
| `/review-docs` | - | Review strategic docs vs implementation |
|
|
109
|
+
| `/generate-docs` | - | Generate documentation site (Docusaurus/MkDocs) |
|
|
110
|
+
|
|
111
|
+
### Integration Commands
|
|
112
|
+
|
|
113
|
+
| Command | Alias | Description |
|
|
114
|
+
|---------|-------|-------------|
|
|
115
|
+
| `/sync-github` | - | Sync increment to GitHub issues with subtasks |
|
|
116
|
+
|
|
117
|
+
## Alias Design Philosophy
|
|
118
|
+
|
|
119
|
+
**Why separate files instead of symlinks?**
|
|
120
|
+
|
|
121
|
+
1. **Cross-platform compatibility** - Works on Windows, macOS, Linux, cloud IDEs
|
|
122
|
+
2. **Clear documentation** - Each alias explains what it references
|
|
123
|
+
3. **Consistent user experience** - Both commands work identically
|
|
124
|
+
4. **Easy maintenance** - Update main command, aliases stay in sync via reference
|
|
125
|
+
|
|
126
|
+
**Trade-off**: Slight content duplication, but improved UX and compatibility.
|
|
127
|
+
|
|
128
|
+
## Creating Custom Aliases
|
|
129
|
+
|
|
130
|
+
You can create your own project-specific aliases:
|
|
131
|
+
|
|
132
|
+
**1. Create `.claude/commands/custom-alias.md`**:
|
|
133
|
+
```markdown
|
|
134
|
+
---
|
|
135
|
+
description: Your custom command description
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
# Custom Alias
|
|
139
|
+
|
|
140
|
+
This is a shorthand for `/some-long-command`.
|
|
141
|
+
|
|
142
|
+
<!-- Paste full command content or reference it -->
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**2. Use it**:
|
|
146
|
+
```bash
|
|
147
|
+
/custom-alias
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Installation
|
|
151
|
+
|
|
152
|
+
Aliases are automatically installed when you:
|
|
153
|
+
- Run `specweave init` (new projects)
|
|
154
|
+
- Install SpecWeave as dependency (`npm install specweave --save-dev`)
|
|
155
|
+
|
|
156
|
+
For manual installation:
|
|
157
|
+
```bash
|
|
158
|
+
npm run install:commands
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
## Documentation
|
|
162
|
+
|
|
163
|
+
- **Command Reference**: See `.claude/commands/` for all available commands
|
|
164
|
+
- **CLAUDE.md**: Quick reference table with all commands and aliases
|
|
165
|
+
- **Official Docs**: https://spec-weave.com/docs/commands
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
**💡 Pro Tip**: Learn the aliases - they'll save you hundreds of keystrokes per day!
|
|
170
|
+
|
|
171
|
+
**Most used**: `/ci`, `/si`, `/vi`, `/done`, `/ls`
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: 🔥 Shorthand for /add-tasks - Add tasks to increment (Alias)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Add Tasks (Short Alias)
|
|
6
|
+
|
|
7
|
+
**⚡ Quick Alias**: This is a shorthand command for `/add-tasks`.
|
|
8
|
+
|
|
9
|
+
Use this when you want to quickly add tasks to an increment without typing the full command name.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Full Command
|
|
14
|
+
|
|
15
|
+
For complete documentation, see `/add-tasks`.
|
|
16
|
+
|
|
17
|
+
This alias provides the exact same functionality as the full command.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
/at <increment-id> <task-description>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Examples**:
|
|
28
|
+
```bash
|
|
29
|
+
/at 0001 "Implement login endpoint"
|
|
30
|
+
/at 0001 "Add password validation"
|
|
31
|
+
/at 0001 "Write E2E tests for auth flow"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## What This Does
|
|
37
|
+
|
|
38
|
+
1. **Analyzes task** against spec/plan
|
|
39
|
+
2. **Determines priority** (P1, P2, P3)
|
|
40
|
+
3. **Estimates effort** (based on complexity)
|
|
41
|
+
4. **Identifies dependencies** (from existing tasks)
|
|
42
|
+
5. **Adds to tasks.md** with proper formatting
|
|
43
|
+
6. **Updates progress** percentage
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Task Format
|
|
48
|
+
|
|
49
|
+
Tasks are added with:
|
|
50
|
+
- ✅ **Task ID** (auto-numbered: T001, T002, ...)
|
|
51
|
+
- ✅ **Description** (clear, actionable)
|
|
52
|
+
- ✅ **Priority** (P1/P2/P3)
|
|
53
|
+
- ✅ **Estimated time** (based on analysis)
|
|
54
|
+
- ✅ **Dependencies** (if any)
|
|
55
|
+
- ✅ **Status** (Pending by default)
|
|
56
|
+
|
|
57
|
+
**Example Output**:
|
|
58
|
+
```markdown
|
|
59
|
+
### T012: Implement login endpoint
|
|
60
|
+
**Priority**: P1
|
|
61
|
+
**Estimated**: 2 hours
|
|
62
|
+
**Depends on**: T008
|
|
63
|
+
**Status**: [ ] Pending
|
|
64
|
+
|
|
65
|
+
**Implementation**:
|
|
66
|
+
- Create POST /api/auth/login endpoint
|
|
67
|
+
- Validate email and password
|
|
68
|
+
- Return JWT token on success
|
|
69
|
+
- Handle rate limiting
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Bulk Add
|
|
75
|
+
|
|
76
|
+
You can add multiple tasks by calling the command multiple times or providing a list:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
/at 0001 "Task 1"
|
|
80
|
+
/at 0001 "Task 2"
|
|
81
|
+
/at 0001 "Task 3"
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## When to Add Tasks
|
|
87
|
+
|
|
88
|
+
**During planning**:
|
|
89
|
+
- Breaking down large features
|
|
90
|
+
- After spec/plan review
|
|
91
|
+
|
|
92
|
+
**During implementation**:
|
|
93
|
+
- Discovered new requirements
|
|
94
|
+
- Technical debt identified
|
|
95
|
+
- Bug fixes needed
|
|
96
|
+
|
|
97
|
+
**After review**:
|
|
98
|
+
- Feedback from code review
|
|
99
|
+
- QA findings
|
|
100
|
+
- Security audit results
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Other Useful Aliases
|
|
105
|
+
|
|
106
|
+
- `/ci` - Create increment (shorthand for `/create-increment`)
|
|
107
|
+
- `/si` - Start increment (shorthand for `/start-increment`)
|
|
108
|
+
- `/vi` - Validate increment (shorthand for `/validate-increment`)
|
|
109
|
+
- `/done` - Close increment (shorthand for `/close-increment`)
|
|
110
|
+
- `/ls` - List increments (shorthand for `/list-increments`)
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
**💡 Tip**: Add tasks as you discover them - don't wait until sprint planning!
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: 🔥 Shorthand for /create-increment - Create new increment (Alias)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Create Increment (Short Alias)
|
|
6
|
+
|
|
7
|
+
**⚡ Quick Alias**: This is a shorthand command for `/create-increment`.
|
|
8
|
+
|
|
9
|
+
Use this when you want to quickly create a new SpecWeave increment without typing the full command name.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Full Command
|
|
14
|
+
|
|
15
|
+
For complete documentation, see `/create-increment`.
|
|
16
|
+
|
|
17
|
+
This alias provides the exact same functionality as the full command.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
/ci "Feature name"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Example**:
|
|
28
|
+
```bash
|
|
29
|
+
/ci "User authentication"
|
|
30
|
+
/ci "Payment processing"
|
|
31
|
+
/ci "Admin dashboard"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## What This Does
|
|
37
|
+
|
|
38
|
+
1. **Auto-numbers** the increment (e.g., 0001, 0002, 0003...)
|
|
39
|
+
2. **Creates folder** at `.specweave/increments/XXXX-feature-name/`
|
|
40
|
+
3. **Generates files**:
|
|
41
|
+
- `spec.md` - WHAT & WHY (user stories, acceptance criteria)
|
|
42
|
+
- `plan.md` - HOW (architecture, implementation strategy)
|
|
43
|
+
- `tasks.md` - Implementation checklist
|
|
44
|
+
- `tests.md` - Test strategy and coverage matrix
|
|
45
|
+
- `context-manifest.yaml` - Context loading configuration
|
|
46
|
+
4. **Invokes agents**:
|
|
47
|
+
- PM agent (requirements analysis)
|
|
48
|
+
- Architect agent (technical design)
|
|
49
|
+
- QA Lead agent (test strategy)
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## Other Useful Aliases
|
|
54
|
+
|
|
55
|
+
- `/si` - Start increment (shorthand for `/start-increment`)
|
|
56
|
+
- `/vi` - Validate increment (shorthand for `/validate-increment`)
|
|
57
|
+
- `/done` - Close increment (shorthand for `/close-increment`)
|
|
58
|
+
- `/ls` - List increments (shorthand for `/list-increments`)
|
|
59
|
+
- `/at` - Add tasks (shorthand for `/add-tasks`)
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
**💡 Tip**: Use `/ci` for speed, `/create-increment` for clarity in scripts.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: 🔥 Shorthand for /close-increment - Close completed increment (Alias)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Close Increment (Short Alias)
|
|
6
|
+
|
|
7
|
+
**⚡ Quick Alias**: This is a shorthand command for `/close-increment`.
|
|
8
|
+
|
|
9
|
+
Use this when you want to quickly close an increment without typing the full command name.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Full Command
|
|
14
|
+
|
|
15
|
+
For complete documentation, see `/close-increment`.
|
|
16
|
+
|
|
17
|
+
This alias provides the exact same functionality as the full command.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
/done <increment-id>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Examples**:
|
|
28
|
+
```bash
|
|
29
|
+
/done 0001
|
|
30
|
+
/done 0042
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## What This Does
|
|
36
|
+
|
|
37
|
+
1. **Validates completion**:
|
|
38
|
+
- ✅ All P1 tasks completed
|
|
39
|
+
- ✅ Tests passing
|
|
40
|
+
- ✅ Documentation updated
|
|
41
|
+
- ⚠️ Warns if incomplete
|
|
42
|
+
|
|
43
|
+
2. **Handles leftover tasks**:
|
|
44
|
+
- Prompts to transfer incomplete tasks to new increment
|
|
45
|
+
- OR mark as deferred/cancelled
|
|
46
|
+
- Ensures no work is lost
|
|
47
|
+
|
|
48
|
+
3. **Updates status** to `closed` in `tasks.md`
|
|
49
|
+
|
|
50
|
+
4. **Archives increment** (if configured)
|
|
51
|
+
|
|
52
|
+
5. **Suggests next steps**:
|
|
53
|
+
- Merge PR (if using git workflow)
|
|
54
|
+
- Deploy (if using CI/CD)
|
|
55
|
+
- Create release notes
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Before Closing Checklist
|
|
60
|
+
|
|
61
|
+
**Required**:
|
|
62
|
+
- [ ] All P1 tasks completed
|
|
63
|
+
- [ ] Tests passing
|
|
64
|
+
- [ ] Code reviewed
|
|
65
|
+
- [ ] Documentation updated
|
|
66
|
+
|
|
67
|
+
**Optional** (based on project):
|
|
68
|
+
- [ ] Performance validated
|
|
69
|
+
- [ ] Security reviewed
|
|
70
|
+
- [ ] Accessibility tested
|
|
71
|
+
- [ ] E2E tests passing
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Leftover Task Handling
|
|
76
|
+
|
|
77
|
+
If you have incomplete tasks, you'll be prompted:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
⚠️ Incomplete Tasks Found: 3
|
|
81
|
+
|
|
82
|
+
Options:
|
|
83
|
+
1. Transfer to new increment (recommended)
|
|
84
|
+
2. Mark as deferred (with reason)
|
|
85
|
+
3. Cancel tasks (not recommended)
|
|
86
|
+
|
|
87
|
+
What would you like to do?
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Best Practice**: Transfer to new increment to maintain continuity.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Other Useful Aliases
|
|
95
|
+
|
|
96
|
+
- `/ci` - Create increment (shorthand for `/create-increment`)
|
|
97
|
+
- `/si` - Start increment (shorthand for `/start-increment`)
|
|
98
|
+
- `/vi` - Validate increment (shorthand for `/validate-increment`)
|
|
99
|
+
- `/ls` - List increments (shorthand for `/list-increments`)
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
**💡 Tip**: Always run `/vi --quality` before `/done` to ensure quality.
|
|
@@ -0,0 +1,123 @@
|
|
|
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!
|
|
@@ -0,0 +1,100 @@
|
|
|
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.
|