omgkit 2.26.1 → 2.28.0
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 +48 -2
- package/package.json +2 -2
- package/plugin/agents/sprint-master.md +1 -0
- package/plugin/commands/sprint/backlog-add.md +96 -9
- package/plugin/commands/sprint/ship.md +264 -0
- package/plugin/commands/sprint/sprint-new.md +124 -6
- package/plugin/commands/sprint/team-run.md +25 -1
- package/plugin/registry.yaml +4 -3
- package/plugin/workflows/sprint/sprint-execution.md +14 -0
- package/plugin/workflows/sprint/sprint-retrospective.md +1 -0
- package/templates/config.yaml +54 -0
- package/templates/omgkit/workflow.yaml +89 -0
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ All coordinated through **Omega-level thinking** - a framework for finding break
|
|
|
37
37
|
| Component | Count | Description |
|
|
38
38
|
|-----------|-------|-------------|
|
|
39
39
|
| **Agents** | 41 | Specialized AI team members with distinct roles |
|
|
40
|
-
| **Commands** |
|
|
40
|
+
| **Commands** | 161 | Slash commands for every development task |
|
|
41
41
|
| **Workflows** | 69 | Complete development processes from idea to deploy |
|
|
42
42
|
| **Skills** | 161 | Domain expertise modules across 24 categories |
|
|
43
43
|
| **Modes** | 10 | Behavioral configurations for different contexts |
|
|
@@ -88,7 +88,37 @@ OMGKIT brings agile methodology to AI-assisted development:
|
|
|
88
88
|
- **Sprints**: Time-boxed development cycles
|
|
89
89
|
- **AI Team**: Autonomous execution with human oversight
|
|
90
90
|
|
|
91
|
-
### 4.
|
|
91
|
+
### 4. Reference-Aware Planning (New)
|
|
92
|
+
|
|
93
|
+
Use PRDs, specs, and design documents to inform sprint planning:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# Create sprint with PRD reference
|
|
97
|
+
/sprint:sprint-new "Auth Sprint" --ref=.omgkit/artifacts/prd-auth.md
|
|
98
|
+
|
|
99
|
+
# Sprint with multiple references
|
|
100
|
+
/sprint:sprint-new "Payment" --ref=artifacts/prd.md,specs/api.yaml
|
|
101
|
+
|
|
102
|
+
# Sprint with AI proposal based on references
|
|
103
|
+
/sprint:sprint-new "MVP" --propose --ref=.omgkit/artifacts/
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Configure in `.omgkit/workflow.yaml`:
|
|
107
|
+
|
|
108
|
+
```yaml
|
|
109
|
+
references:
|
|
110
|
+
enabled: true
|
|
111
|
+
auto_suggest: true
|
|
112
|
+
max_tokens: 10000
|
|
113
|
+
extract_sections:
|
|
114
|
+
- requirements
|
|
115
|
+
- user_stories
|
|
116
|
+
- acceptance_criteria
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
References automatically propagate to `/sprint:team-run` and `/sprint:backlog-add`.
|
|
120
|
+
|
|
121
|
+
### 5. Testing Automation
|
|
92
122
|
|
|
93
123
|
OMGKIT includes a comprehensive testing automation system:
|
|
94
124
|
|
|
@@ -343,12 +373,28 @@ Commands are slash-prefixed actions organized by namespace.
|
|
|
343
373
|
/sprint:sprint-start # Start current sprint
|
|
344
374
|
/sprint:sprint-current # Show sprint progress
|
|
345
375
|
/sprint:sprint-end # End sprint + retrospective
|
|
376
|
+
/sprint:ship # Complete sprint + commit + push + PR
|
|
346
377
|
/sprint:backlog-add # Add task to backlog
|
|
347
378
|
/sprint:backlog-show # Display backlog
|
|
348
379
|
/sprint:team-run # Run AI team
|
|
349
380
|
/sprint:team-status # Show team activity
|
|
350
381
|
```
|
|
351
382
|
|
|
383
|
+
**Reference-Aware Planning** (available on sprint commands):
|
|
384
|
+
```bash
|
|
385
|
+
/sprint:sprint-new "Auth" --ref=artifacts/prd.md # Sprint with PRD context
|
|
386
|
+
/sprint:team-run --ref=specs/api.yaml # Add refs during execution
|
|
387
|
+
/sprint:backlog-add "Login" --ref=artifacts/prd.md # Task with ref context
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
**Sprint Ship** (complete sprint + deploy):
|
|
391
|
+
```bash
|
|
392
|
+
/sprint:ship "Sprint 1 - MVP" # Ship with message
|
|
393
|
+
/sprint:ship --skip-tests # Skip tests (not recommended)
|
|
394
|
+
/sprint:ship --no-pr # Push directly without PR
|
|
395
|
+
/sprint:ship --force # Ship with incomplete tasks
|
|
396
|
+
```
|
|
397
|
+
|
|
352
398
|
### Autonomous Development (`/auto:*`)
|
|
353
399
|
|
|
354
400
|
```bash
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omgkit",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Omega-Level Development Kit - AI Team System for Claude Code. 41 agents,
|
|
3
|
+
"version": "2.28.0",
|
|
4
|
+
"description": "Omega-Level Development Kit - AI Team System for Claude Code. 41 agents, 161 commands, 161 skills, 69 workflows.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
7
7
|
"ai",
|
|
@@ -1,21 +1,108 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Add task to backlog
|
|
2
|
+
description: Add task to backlog with optional reference context
|
|
3
3
|
allowed-tools: Read, Write
|
|
4
|
-
argument-hint: <task> [--type TYPE] [--priority N]
|
|
4
|
+
argument-hint: <task> [--type TYPE] [--priority N] [--ref=<path>]
|
|
5
|
+
references:
|
|
6
|
+
supported: true
|
|
7
|
+
inherit_from_sprint: true
|
|
8
|
+
types: [file, folder, glob]
|
|
9
|
+
related_skills:
|
|
10
|
+
- autonomous/project-orchestration
|
|
11
|
+
- methodology/agile-sprint
|
|
12
|
+
related_commands:
|
|
13
|
+
- /sprint:sprint-new
|
|
14
|
+
- /sprint:backlog-show
|
|
15
|
+
- /sprint:backlog-prioritize
|
|
5
16
|
---
|
|
6
17
|
|
|
7
|
-
#
|
|
18
|
+
# Backlog Add: $ARGUMENTS
|
|
8
19
|
|
|
9
|
-
Add task to backlog.
|
|
20
|
+
Add a task to the backlog with optional reference context.
|
|
10
21
|
|
|
11
22
|
## Options
|
|
12
|
-
- `--type` - feature, bugfix, docs, test, refactor, infra
|
|
13
|
-
- `--priority` - 1-5 (1 = highest)
|
|
14
23
|
|
|
15
|
-
|
|
24
|
+
| Option | Description | Example |
|
|
25
|
+
|--------|-------------|---------|
|
|
26
|
+
| `--type` | Task type | `--type feature` |
|
|
27
|
+
| `--priority` | Priority 1-5 (1 = highest) | `--priority 1` |
|
|
28
|
+
| `--ref=<path>` | Reference source for task context | `--ref=artifacts/prd.md#auth` |
|
|
29
|
+
| `--req=<id>` | Link to requirement ID | `--req=REQ-001` |
|
|
30
|
+
|
|
31
|
+
### Task Types
|
|
32
|
+
|
|
33
|
+
| Type | Description | Auto-generates Tests |
|
|
34
|
+
|------|-------------|---------------------|
|
|
35
|
+
| `feature` | New functionality | Yes |
|
|
36
|
+
| `bugfix` | Bug fix | Yes (regression) |
|
|
37
|
+
| `docs` | Documentation | No |
|
|
38
|
+
| `test` | Test task | No |
|
|
39
|
+
| `refactor` | Code refactoring | Yes |
|
|
40
|
+
| `infra` | Infrastructure | No |
|
|
41
|
+
|
|
42
|
+
## Reference Options
|
|
43
|
+
|
|
44
|
+
The `--ref` parameter allows linking tasks to specific reference documents:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# Link task to PRD requirement
|
|
48
|
+
/backlog:add "User login" --type feature --ref=artifacts/prd.md
|
|
49
|
+
|
|
50
|
+
# Link to specific section (anchor)
|
|
51
|
+
/backlog:add "OAuth flow" --ref=artifacts/prd.md#authentication
|
|
52
|
+
|
|
53
|
+
# Link to API spec
|
|
54
|
+
/backlog:add "Payment endpoint" --ref=specs/api-payment.yaml
|
|
16
55
|
```
|
|
17
|
-
|
|
56
|
+
|
|
57
|
+
### Requirement Linking
|
|
58
|
+
|
|
59
|
+
Use `--req` to link tasks directly to requirement IDs:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
/backlog:add "User authentication" --type feature --req=REQ-AUTH-001
|
|
18
63
|
```
|
|
19
64
|
|
|
65
|
+
This enables:
|
|
66
|
+
- Traceability from requirements to implementation
|
|
67
|
+
- Coverage tracking for requirements
|
|
68
|
+
- Impact analysis for requirement changes
|
|
69
|
+
|
|
20
70
|
## Output
|
|
21
|
-
|
|
71
|
+
|
|
72
|
+
Generates task ID and saves to `.omgkit/sprints/backlog.yaml`:
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
backlog:
|
|
76
|
+
- id: TASK-042
|
|
77
|
+
title: "User login"
|
|
78
|
+
type: feature
|
|
79
|
+
priority: 1
|
|
80
|
+
status: pending
|
|
81
|
+
reference:
|
|
82
|
+
source: "artifacts/prd.md"
|
|
83
|
+
requirement_id: "REQ-AUTH-001"
|
|
84
|
+
created: 2025-01-07
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Examples
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
# Basic task
|
|
91
|
+
/backlog:add "Add user authentication" --type feature --priority 1
|
|
92
|
+
|
|
93
|
+
# Task with reference
|
|
94
|
+
/backlog:add "Implement OAuth" --type feature --ref=artifacts/prd-auth.md
|
|
95
|
+
|
|
96
|
+
# Task linked to requirement
|
|
97
|
+
/backlog:add "Rate limiting" --type feature --req=REQ-API-005
|
|
98
|
+
|
|
99
|
+
# Task with all options
|
|
100
|
+
/backlog:add "Payment gateway" --type feature --priority 1 --ref=specs/api.yaml --req=REQ-PAY-001
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Best Practices
|
|
104
|
+
|
|
105
|
+
1. **Link to requirements** - Use `--req` for traceability
|
|
106
|
+
2. **Reference specs** - Use `--ref` for implementation context
|
|
107
|
+
3. **Set appropriate type** - Enables correct test generation
|
|
108
|
+
4. **Prioritize consistently** - 1 = critical, 5 = nice-to-have
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Complete sprint and ship to production
|
|
3
|
+
allowed-tools: Task, Read, Write, Bash, Grep, Glob
|
|
4
|
+
argument-hint: "[message] [--skip-tests] [--no-pr] [--force]"
|
|
5
|
+
ship:
|
|
6
|
+
auto_test: true
|
|
7
|
+
auto_pr: true
|
|
8
|
+
commit_prefix: "feat(sprint)"
|
|
9
|
+
related_skills:
|
|
10
|
+
- autonomous/project-orchestration
|
|
11
|
+
- omega/omega-sprint
|
|
12
|
+
- devops/workflow-config
|
|
13
|
+
related_commands:
|
|
14
|
+
- /sprint:sprint-end
|
|
15
|
+
- /git:ship
|
|
16
|
+
- /git:commit
|
|
17
|
+
- /git:pr
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Sprint Ship: $ARGUMENTS
|
|
21
|
+
|
|
22
|
+
Complete the current sprint and ship all changes to production in a single workflow.
|
|
23
|
+
|
|
24
|
+
## Overview
|
|
25
|
+
|
|
26
|
+
This command combines sprint completion with git operations to streamline the release process:
|
|
27
|
+
|
|
28
|
+
1. **Validate** - Check sprint status and task completion
|
|
29
|
+
2. **Test** - Run tests to ensure quality
|
|
30
|
+
3. **End Sprint** - Generate retrospective and archive
|
|
31
|
+
4. **Commit** - Stage and commit all changes
|
|
32
|
+
5. **Push** - Push to remote repository
|
|
33
|
+
6. **PR/Deploy** - Create PR or trigger CI/CD
|
|
34
|
+
|
|
35
|
+
## Options
|
|
36
|
+
|
|
37
|
+
| Option | Description | Default |
|
|
38
|
+
|--------|-------------|---------|
|
|
39
|
+
| `message` | Commit message (uses sprint name if not provided) | Sprint name |
|
|
40
|
+
| `--skip-tests` | Skip running tests before ship | `false` |
|
|
41
|
+
| `--no-pr` | Push directly without creating PR | `false` |
|
|
42
|
+
| `--force` | Force ship even with incomplete tasks | `false` |
|
|
43
|
+
|
|
44
|
+
## Workflow Diagram
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
/sprint:ship "Sprint 1 - Auth"
|
|
48
|
+
│
|
|
49
|
+
▼
|
|
50
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
51
|
+
│ PHASE 1: VALIDATION │
|
|
52
|
+
├─────────────────────────────────────────────────────────────┤
|
|
53
|
+
│ ✓ Check current sprint exists │
|
|
54
|
+
│ ✓ Verify sprint is active/in_progress │
|
|
55
|
+
│ ✓ Check task completion (warn if incomplete) │
|
|
56
|
+
│ ✓ Check for uncommitted changes │
|
|
57
|
+
└─────────────────────────────────────────────────────────────┘
|
|
58
|
+
│
|
|
59
|
+
▼
|
|
60
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
61
|
+
│ PHASE 2: TESTING (unless --skip-tests) │
|
|
62
|
+
├─────────────────────────────────────────────────────────────┤
|
|
63
|
+
│ ► Run: npm test (or configured test command) │
|
|
64
|
+
│ ► Check coverage gates from workflow.yaml │
|
|
65
|
+
│ ► FAIL if tests don't pass │
|
|
66
|
+
└─────────────────────────────────────────────────────────────┘
|
|
67
|
+
│
|
|
68
|
+
▼
|
|
69
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
70
|
+
│ PHASE 3: SPRINT END │
|
|
71
|
+
├─────────────────────────────────────────────────────────────┤
|
|
72
|
+
│ ► Set status: completed │
|
|
73
|
+
│ ► Calculate metrics (completed tasks, velocity) │
|
|
74
|
+
│ ► Generate retrospective │
|
|
75
|
+
│ ► Archive to .omgkit/sprints/archive/ │
|
|
76
|
+
└─────────────────────────────────────────────────────────────┘
|
|
77
|
+
│
|
|
78
|
+
▼
|
|
79
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
80
|
+
│ PHASE 4: GIT OPERATIONS │
|
|
81
|
+
├─────────────────────────────────────────────────────────────┤
|
|
82
|
+
│ ► git add . │
|
|
83
|
+
│ ► git commit -m "feat(sprint): [message]" │
|
|
84
|
+
│ └── Include retrospective summary in body │
|
|
85
|
+
│ ► git push origin [branch] │
|
|
86
|
+
└─────────────────────────────────────────────────────────────┘
|
|
87
|
+
│
|
|
88
|
+
▼
|
|
89
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
90
|
+
│ PHASE 5: PR/CI (unless --no-pr) │
|
|
91
|
+
├─────────────────────────────────────────────────────────────┤
|
|
92
|
+
│ ► Create PR with sprint summary │
|
|
93
|
+
│ ► Add labels: sprint-complete │
|
|
94
|
+
│ ► Link CI/CD status │
|
|
95
|
+
└─────────────────────────────────────────────────────────────┘
|
|
96
|
+
│
|
|
97
|
+
▼
|
|
98
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
99
|
+
│ PHASE 6: REPORT │
|
|
100
|
+
├─────────────────────────────────────────────────────────────┤
|
|
101
|
+
│ 📊 Sprint Summary │
|
|
102
|
+
│ 📝 Commit: abc1234 │
|
|
103
|
+
│ 🔗 PR: https://github.com/org/repo/pull/123 │
|
|
104
|
+
│ 🚀 CI/CD: Running... │
|
|
105
|
+
└─────────────────────────────────────────────────────────────┘
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Configuration
|
|
109
|
+
|
|
110
|
+
Configure ship behavior in `.omgkit/workflow.yaml`:
|
|
111
|
+
|
|
112
|
+
```yaml
|
|
113
|
+
ship:
|
|
114
|
+
# Run tests before shipping
|
|
115
|
+
auto_test: true
|
|
116
|
+
|
|
117
|
+
# Test command to run
|
|
118
|
+
test_command: "npm test"
|
|
119
|
+
|
|
120
|
+
# Create PR instead of direct push
|
|
121
|
+
create_pr: true
|
|
122
|
+
|
|
123
|
+
# PR settings
|
|
124
|
+
pr:
|
|
125
|
+
draft: false
|
|
126
|
+
reviewers: []
|
|
127
|
+
labels: ["sprint-complete"]
|
|
128
|
+
|
|
129
|
+
# Commit message format
|
|
130
|
+
commit:
|
|
131
|
+
prefix: "feat(sprint)"
|
|
132
|
+
include_retrospective: true
|
|
133
|
+
include_metrics: true
|
|
134
|
+
|
|
135
|
+
# Force ship even with incomplete tasks
|
|
136
|
+
allow_incomplete: false
|
|
137
|
+
|
|
138
|
+
# Archive sprint after ship
|
|
139
|
+
archive_sprint: true
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Examples
|
|
143
|
+
|
|
144
|
+
### Basic Usage
|
|
145
|
+
|
|
146
|
+
```bash
|
|
147
|
+
# Ship with auto-generated message from sprint name
|
|
148
|
+
/sprint:ship
|
|
149
|
+
|
|
150
|
+
# Ship with custom message
|
|
151
|
+
/sprint:ship "Sprint 1 - User Authentication Complete"
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### With Options
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
# Skip tests (use with caution)
|
|
158
|
+
/sprint:ship "Hotfix Sprint" --skip-tests
|
|
159
|
+
|
|
160
|
+
# Push directly without PR (for trunk-based development)
|
|
161
|
+
/sprint:ship "Sprint 1" --no-pr
|
|
162
|
+
|
|
163
|
+
# Force ship even with incomplete tasks
|
|
164
|
+
/sprint:ship "MVP Sprint" --force
|
|
165
|
+
|
|
166
|
+
# Combine options
|
|
167
|
+
/sprint:ship "Quick Fix" --skip-tests --no-pr
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Full Workflow Example
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
# 1. Start sprint
|
|
174
|
+
/sprint:sprint-new "Auth Feature" --ref=.omgkit/artifacts/prd-auth.md
|
|
175
|
+
|
|
176
|
+
# 2. Work on sprint
|
|
177
|
+
/sprint:team-run
|
|
178
|
+
/dev:feature "implement login"
|
|
179
|
+
/dev:feature "implement signup"
|
|
180
|
+
|
|
181
|
+
# 3. Ship when done
|
|
182
|
+
/sprint:ship "Sprint 1 - Auth Feature Complete"
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## Output
|
|
186
|
+
|
|
187
|
+
### Sprint Summary
|
|
188
|
+
|
|
189
|
+
```markdown
|
|
190
|
+
## Sprint Shipped: Auth Feature
|
|
191
|
+
|
|
192
|
+
### Metrics
|
|
193
|
+
- Completed: 8/10 tasks (80%)
|
|
194
|
+
- Velocity: 2.5 tasks/day
|
|
195
|
+
- Duration: 4 days
|
|
196
|
+
|
|
197
|
+
### Retrospective
|
|
198
|
+
**What Went Well:**
|
|
199
|
+
- Fast iteration on login flow
|
|
200
|
+
- Good test coverage achieved
|
|
201
|
+
|
|
202
|
+
**What Could Improve:**
|
|
203
|
+
- Better estimation for OAuth integration
|
|
204
|
+
|
|
205
|
+
### Git
|
|
206
|
+
- Commit: `abc1234`
|
|
207
|
+
- Branch: `main`
|
|
208
|
+
- PR: #123
|
|
209
|
+
|
|
210
|
+
### CI/CD
|
|
211
|
+
- Status: Running
|
|
212
|
+
- URL: https://github.com/org/repo/actions/runs/123
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## Error Handling
|
|
216
|
+
|
|
217
|
+
### No Active Sprint
|
|
218
|
+
|
|
219
|
+
```
|
|
220
|
+
❌ Error: No active sprint found
|
|
221
|
+
Run /sprint:sprint-new to create a sprint first
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
### Tests Failed
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
❌ Error: Tests failed (12 failing)
|
|
228
|
+
Fix tests before shipping or use --skip-tests (not recommended)
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Incomplete Tasks
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
⚠️ Warning: 2 tasks incomplete
|
|
235
|
+
- [ ] Implement password reset
|
|
236
|
+
- [ ] Add email verification
|
|
237
|
+
|
|
238
|
+
Use --force to ship anyway, or complete tasks first
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## Best Practices
|
|
242
|
+
|
|
243
|
+
1. **Always run tests** - Don't use `--skip-tests` in production
|
|
244
|
+
2. **Complete tasks** - Ship complete sprints, not partial work
|
|
245
|
+
3. **Use meaningful messages** - Commit messages should describe the sprint's value
|
|
246
|
+
4. **Review before ship** - Run `/dev:review` before `/sprint:ship`
|
|
247
|
+
5. **Configure workflow.yaml** - Set team preferences for ship behavior
|
|
248
|
+
|
|
249
|
+
## Comparison with Other Commands
|
|
250
|
+
|
|
251
|
+
| Command | Purpose | When to Use |
|
|
252
|
+
|---------|---------|-------------|
|
|
253
|
+
| `/sprint:sprint-end` | End sprint only | When not ready to commit |
|
|
254
|
+
| `/git:ship` | Commit and PR | For non-sprint commits |
|
|
255
|
+
| `/git:commit` | Commit only | For WIP commits |
|
|
256
|
+
| `/sprint:ship` | Full workflow | Sprint completion |
|
|
257
|
+
|
|
258
|
+
## Related Commands
|
|
259
|
+
|
|
260
|
+
- `/sprint:sprint-new` - Create new sprint
|
|
261
|
+
- `/sprint:sprint-end` - End sprint (without shipping)
|
|
262
|
+
- `/sprint:team-run` - Execute sprint tasks
|
|
263
|
+
- `/git:ship` - Ship code (standalone)
|
|
264
|
+
- `/git:pr` - Create pull request
|
|
@@ -1,24 +1,101 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Create new sprint
|
|
2
|
+
description: Create new sprint with optional reference sources
|
|
3
3
|
allowed-tools: Task, Read, Write, Grep, Glob
|
|
4
|
-
argument-hint: "[name] [--propose]"
|
|
4
|
+
argument-hint: "[name] [--propose] [--ref=<path>]"
|
|
5
|
+
references:
|
|
6
|
+
supported: true
|
|
7
|
+
types: [file, folder, glob]
|
|
8
|
+
default_paths:
|
|
9
|
+
- ".omgkit/artifacts/"
|
|
10
|
+
related_skills:
|
|
11
|
+
- autonomous/project-orchestration
|
|
12
|
+
- methodology/agile-sprint
|
|
13
|
+
related_commands:
|
|
14
|
+
- /sprint:sprint-start
|
|
15
|
+
- /sprint:team-run
|
|
16
|
+
- /sprint:backlog-add
|
|
5
17
|
---
|
|
6
18
|
|
|
7
|
-
#
|
|
19
|
+
# Sprint New: $ARGUMENTS
|
|
8
20
|
|
|
9
|
-
Create new sprint.
|
|
21
|
+
Create a new sprint with optional reference sources for context-aware planning.
|
|
10
22
|
|
|
11
23
|
## Options
|
|
12
|
-
- `--propose` - AI analyzes codebase and proposes tasks
|
|
13
24
|
|
|
14
|
-
|
|
25
|
+
| Option | Description | Example |
|
|
26
|
+
|--------|-------------|---------|
|
|
27
|
+
| `--propose` | AI analyzes codebase and proposes tasks | `--propose` |
|
|
28
|
+
| `--ref=<path>` | Reference source(s) for planning context | `--ref=artifacts/prd.md` |
|
|
29
|
+
|
|
30
|
+
## Reference Options
|
|
31
|
+
|
|
32
|
+
The `--ref` parameter allows you to specify reference sources that provide context for sprint planning:
|
|
33
|
+
|
|
34
|
+
### Single File Reference
|
|
35
|
+
```bash
|
|
36
|
+
/sprint:sprint-new "Auth Sprint" --ref=.omgkit/artifacts/prd-auth.md
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Multiple Files Reference
|
|
40
|
+
```bash
|
|
41
|
+
/sprint:sprint-new "Payment Sprint" --ref=artifacts/prd.md,specs/api.yaml
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Folder Reference (all files)
|
|
45
|
+
```bash
|
|
46
|
+
/sprint:sprint-new "MVP Sprint" --ref=.omgkit/artifacts/
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Glob Pattern Reference
|
|
50
|
+
```bash
|
|
51
|
+
/sprint:sprint-new "API Sprint" --ref="specs/*.yaml"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Reference Types
|
|
55
|
+
|
|
56
|
+
| Type | File Patterns | Extracted Sections |
|
|
57
|
+
|------|---------------|-------------------|
|
|
58
|
+
| PRD | `**/prd*.md`, `**/requirements*.md` | Requirements, User Stories, Acceptance Criteria |
|
|
59
|
+
| Spec | `**/spec*.md`, `**/technical*.md` | Technical specs, Architecture |
|
|
60
|
+
| OpenAPI | `**/*.yaml`, `**/*.yml` | Endpoints, Schemas |
|
|
61
|
+
| Design | `**/design*.md` | UI/UX flows, Mockups |
|
|
62
|
+
|
|
63
|
+
## How References Work
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
/sprint:sprint-new "Feature X" --ref=artifacts/prd.md
|
|
67
|
+
↓
|
|
68
|
+
┌─────────────────────────────────────────────────────────┐
|
|
69
|
+
│ 1. Load Reference Sources │
|
|
70
|
+
│ └── Read artifacts/prd.md │
|
|
71
|
+
│ │
|
|
72
|
+
│ 2. Extract Relevant Sections │
|
|
73
|
+
│ ├── Requirements │
|
|
74
|
+
│ ├── User Stories │
|
|
75
|
+
│ ├── Acceptance Criteria │
|
|
76
|
+
│ └── Technical Constraints │
|
|
77
|
+
│ │
|
|
78
|
+
│ 3. Inject into Planning Context │
|
|
79
|
+
│ └── AI plans with full context │
|
|
80
|
+
│ │
|
|
81
|
+
│ 4. Store Reference in Sprint │
|
|
82
|
+
│ └── sprint.yaml includes ref sources │
|
|
83
|
+
└─────────────────────────────────────────────────────────┘
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## AI Proposal Analysis (with --propose)
|
|
87
|
+
|
|
88
|
+
When using `--propose`, AI analyzes:
|
|
89
|
+
|
|
15
90
|
- TODOs and FIXMEs in code
|
|
16
91
|
- Test coverage gaps
|
|
17
92
|
- Documentation gaps
|
|
18
93
|
- Features aligned with vision
|
|
19
94
|
- Technical debt
|
|
95
|
+
- **Reference documents** (when --ref provided)
|
|
20
96
|
|
|
21
97
|
## Output
|
|
98
|
+
|
|
22
99
|
Save to: `.omgkit/sprints/current.yaml`
|
|
23
100
|
|
|
24
101
|
```yaml
|
|
@@ -27,5 +104,46 @@ sprint:
|
|
|
27
104
|
status: planning
|
|
28
105
|
start_date: null
|
|
29
106
|
end_date: null
|
|
107
|
+
|
|
108
|
+
# Reference sources (when --ref used)
|
|
109
|
+
references:
|
|
110
|
+
- source: ".omgkit/artifacts/prd-auth.md"
|
|
111
|
+
type: prd
|
|
112
|
+
sections: [requirements, stories, acceptance]
|
|
113
|
+
|
|
30
114
|
tasks: []
|
|
31
115
|
```
|
|
116
|
+
|
|
117
|
+
## Context Propagation
|
|
118
|
+
|
|
119
|
+
References set in sprint are automatically propagated to:
|
|
120
|
+
|
|
121
|
+
- `/sprint:team-run` - Agents receive reference context
|
|
122
|
+
- `/sprint:backlog-add` - New tasks can inherit sprint refs
|
|
123
|
+
- `/dev:feature` - Implementation aligned with specs
|
|
124
|
+
|
|
125
|
+
## Examples
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
# Basic sprint without references
|
|
129
|
+
/sprint:sprint-new "Sprint 1"
|
|
130
|
+
|
|
131
|
+
# Sprint with AI-proposed tasks
|
|
132
|
+
/sprint:sprint-new "MVP Sprint" --propose
|
|
133
|
+
|
|
134
|
+
# Sprint with PRD reference
|
|
135
|
+
/sprint:sprint-new "Auth Sprint" --ref=.omgkit/artifacts/prd-auth.md
|
|
136
|
+
|
|
137
|
+
# Sprint with multiple references and AI proposal
|
|
138
|
+
/sprint:sprint-new "Payment Sprint" --propose --ref=artifacts/prd.md,specs/api.yaml
|
|
139
|
+
|
|
140
|
+
# Sprint with entire artifacts folder
|
|
141
|
+
/sprint:sprint-new "Full Feature" --ref=.omgkit/artifacts/
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
## Best Practices
|
|
145
|
+
|
|
146
|
+
1. **Use specific references** - Point to relevant documents, not entire folders
|
|
147
|
+
2. **Combine with --propose** - Let AI analyze refs and propose aligned tasks
|
|
148
|
+
3. **Keep artifacts updated** - Reference docs should reflect current requirements
|
|
149
|
+
4. **Link tasks to requirements** - Use `requirement_ref` in tasks for traceability
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Run AI team on sprint tasks with configurable test enforcement
|
|
3
3
|
allowed-tools: Task, Read, Write, Bash, Grep, Glob
|
|
4
|
-
argument-hint: "[--mode MODE] [--no-test] [--test-level LEVEL]"
|
|
4
|
+
argument-hint: "[--mode MODE] [--no-test] [--test-level LEVEL] [--ref=<path>]"
|
|
5
|
+
references:
|
|
6
|
+
supported: true
|
|
7
|
+
inherit_from_sprint: true
|
|
8
|
+
types: [file, folder, glob]
|
|
5
9
|
related_skills:
|
|
6
10
|
- methodology/test-enforcement
|
|
7
11
|
- methodology/test-task-generation
|
|
8
12
|
- omega/omega-sprint
|
|
13
|
+
- autonomous/project-orchestration
|
|
9
14
|
related_commands:
|
|
10
15
|
- /sprint:team-status
|
|
16
|
+
- /sprint:sprint-new
|
|
11
17
|
- /quality:verify-done
|
|
12
18
|
- /quality:coverage-check
|
|
13
19
|
testing:
|
|
@@ -44,6 +50,24 @@ This command respects project testing configuration from `.omgkit/workflow.yaml`
|
|
|
44
50
|
| `--no-test` | Skip test enforcement (soft mode only) | `/sprint:team-run --no-test` |
|
|
45
51
|
| `--test-level <level>` | Override enforcement level | `/sprint:team-run --test-level strict` |
|
|
46
52
|
| `--with-test` | Force test enforcement | `/sprint:team-run --with-test` |
|
|
53
|
+
| `--ref=<path>` | Additional reference sources | `/sprint:team-run --ref=specs/api.yaml` |
|
|
54
|
+
|
|
55
|
+
### Reference Options
|
|
56
|
+
|
|
57
|
+
The `--ref` parameter provides additional context for task execution:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Use sprint references (inherited automatically)
|
|
61
|
+
/sprint:team-run
|
|
62
|
+
|
|
63
|
+
# Add additional references for this run
|
|
64
|
+
/sprint:team-run --ref=docs/architecture.md
|
|
65
|
+
|
|
66
|
+
# Override sprint references
|
|
67
|
+
/sprint:team-run --ref=specs/api-v2.yaml
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Reference Inheritance**: By default, team-run inherits references from the current sprint. Use `--ref` to add or override.
|
|
47
71
|
|
|
48
72
|
### Enforcement Levels
|
|
49
73
|
|
package/plugin/registry.yaml
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Version: 2.26.1
|
|
4
4
|
# Updated: 2026-01-06
|
|
5
5
|
|
|
6
|
-
version: "2.
|
|
6
|
+
version: "2.28.0"
|
|
7
7
|
|
|
8
8
|
# =============================================================================
|
|
9
9
|
# OPTIMIZED ALIGNMENT PRINCIPLE (OAP)
|
|
@@ -409,6 +409,7 @@ agents:
|
|
|
409
409
|
- /sprint:sprint-start
|
|
410
410
|
- /sprint:sprint-current
|
|
411
411
|
- /sprint:sprint-end
|
|
412
|
+
- /sprint:ship
|
|
412
413
|
- /sprint:backlog-add
|
|
413
414
|
- /sprint:backlog-show
|
|
414
415
|
- /sprint:backlog-prioritize
|
|
@@ -870,13 +871,13 @@ workflows:
|
|
|
870
871
|
skills:
|
|
871
872
|
- omega/omega-sprint
|
|
872
873
|
- methodology/executing-plans
|
|
873
|
-
commands: [/sprint:sprint-current, /sprint:team-run, /sprint:team-status, /dev:fix, /sprint:sprint-end]
|
|
874
|
+
commands: [/sprint:sprint-current, /sprint:team-run, /sprint:team-status, /dev:fix, /sprint:sprint-end, /sprint:ship]
|
|
874
875
|
|
|
875
876
|
sprint/sprint-retrospective:
|
|
876
877
|
agents: [sprint-master, project-manager, journal-writer]
|
|
877
878
|
skills:
|
|
878
879
|
- omega/omega-sprint
|
|
879
|
-
commands: [/sprint:sprint-end, /planning:doc]
|
|
880
|
+
commands: [/sprint:sprint-end, /sprint:ship, /planning:doc]
|
|
880
881
|
|
|
881
882
|
# Fullstack workflows
|
|
882
883
|
fullstack/full-feature:
|
|
@@ -19,6 +19,7 @@ commands:
|
|
|
19
19
|
- /sprint:team-status
|
|
20
20
|
- /dev:fix
|
|
21
21
|
- /sprint:sprint-end
|
|
22
|
+
- /sprint:ship
|
|
22
23
|
prerequisites:
|
|
23
24
|
- Sprint created and started
|
|
24
25
|
- Tasks assigned
|
|
@@ -109,6 +110,19 @@ Complete sprint:
|
|
|
109
110
|
|
|
110
111
|
**Output:** Sprint completed
|
|
111
112
|
|
|
113
|
+
### Step 6: Ship (Optional)
|
|
114
|
+
**Agent:** sprint-master
|
|
115
|
+
**Command:** `/sprint:ship`
|
|
116
|
+
**Duration:** 5-15 minutes
|
|
117
|
+
|
|
118
|
+
Ship sprint to production:
|
|
119
|
+
- Run tests
|
|
120
|
+
- Commit all changes
|
|
121
|
+
- Push to remote
|
|
122
|
+
- Create PR or deploy
|
|
123
|
+
|
|
124
|
+
**Output:** Sprint shipped
|
|
125
|
+
|
|
112
126
|
## Quality Gates
|
|
113
127
|
|
|
114
128
|
- [ ] All high-priority tasks complete
|
package/templates/config.yaml
CHANGED
|
@@ -36,6 +36,60 @@ output:
|
|
|
36
36
|
artifacts_dir: .omgkit/artifacts
|
|
37
37
|
verbose: false
|
|
38
38
|
|
|
39
|
+
# Reference settings
|
|
40
|
+
references:
|
|
41
|
+
# Enable reference loading in sprints and commands
|
|
42
|
+
enabled: true
|
|
43
|
+
|
|
44
|
+
# Auto-suggest relevant artifacts when planning
|
|
45
|
+
auto_suggest: true
|
|
46
|
+
|
|
47
|
+
# Default paths to search for references
|
|
48
|
+
default_paths:
|
|
49
|
+
- ".omgkit/artifacts/"
|
|
50
|
+
- "docs/"
|
|
51
|
+
|
|
52
|
+
# Maximum tokens to include from references
|
|
53
|
+
max_tokens: 10000
|
|
54
|
+
|
|
55
|
+
# File type mappings for smart extraction
|
|
56
|
+
type_mappings:
|
|
57
|
+
prd:
|
|
58
|
+
patterns:
|
|
59
|
+
- "**/prd*.md"
|
|
60
|
+
- "**/requirements*.md"
|
|
61
|
+
- "**/product*.md"
|
|
62
|
+
sections:
|
|
63
|
+
- requirements
|
|
64
|
+
- user_stories
|
|
65
|
+
- acceptance_criteria
|
|
66
|
+
spec:
|
|
67
|
+
patterns:
|
|
68
|
+
- "**/spec*.md"
|
|
69
|
+
- "**/technical*.md"
|
|
70
|
+
- "**/architecture*.md"
|
|
71
|
+
sections:
|
|
72
|
+
- overview
|
|
73
|
+
- api
|
|
74
|
+
- data_model
|
|
75
|
+
openapi:
|
|
76
|
+
patterns:
|
|
77
|
+
- "**/*.yaml"
|
|
78
|
+
- "**/*.yml"
|
|
79
|
+
- "**/openapi.*"
|
|
80
|
+
sections:
|
|
81
|
+
- paths
|
|
82
|
+
- components
|
|
83
|
+
design:
|
|
84
|
+
patterns:
|
|
85
|
+
- "**/design*.md"
|
|
86
|
+
- "**/ui*.md"
|
|
87
|
+
- "**/ux*.md"
|
|
88
|
+
sections:
|
|
89
|
+
- flows
|
|
90
|
+
- components
|
|
91
|
+
- interactions
|
|
92
|
+
|
|
39
93
|
# MCP settings
|
|
40
94
|
mcp:
|
|
41
95
|
context7: true
|
|
@@ -176,3 +176,92 @@ feature_flags:
|
|
|
176
176
|
|
|
177
177
|
# Default state for new flags
|
|
178
178
|
default_state: false
|
|
179
|
+
|
|
180
|
+
# =============================================================================
|
|
181
|
+
# REFERENCE-AWARE PLANNING
|
|
182
|
+
# =============================================================================
|
|
183
|
+
references:
|
|
184
|
+
# Enable reference loading in sprints
|
|
185
|
+
enabled: true
|
|
186
|
+
|
|
187
|
+
# Auto-suggest relevant artifacts when creating sprints
|
|
188
|
+
auto_suggest: true
|
|
189
|
+
|
|
190
|
+
# Maximum tokens for reference content (prevent context overflow)
|
|
191
|
+
max_tokens: 10000
|
|
192
|
+
|
|
193
|
+
# Section extraction settings for PRD/spec files
|
|
194
|
+
extract_sections:
|
|
195
|
+
- requirements
|
|
196
|
+
- user_stories
|
|
197
|
+
- acceptance_criteria
|
|
198
|
+
- constraints
|
|
199
|
+
- api_endpoints
|
|
200
|
+
|
|
201
|
+
# Propagate references to child commands
|
|
202
|
+
propagation:
|
|
203
|
+
# Pass sprint refs to team-run
|
|
204
|
+
to_team_run: true
|
|
205
|
+
|
|
206
|
+
# Pass sprint refs to individual tasks
|
|
207
|
+
to_tasks: true
|
|
208
|
+
|
|
209
|
+
# Pass refs to feature/fix commands
|
|
210
|
+
to_dev_commands: true
|
|
211
|
+
|
|
212
|
+
# Reference validation
|
|
213
|
+
validation:
|
|
214
|
+
# Check if referenced files exist
|
|
215
|
+
check_exists: true
|
|
216
|
+
|
|
217
|
+
# Warn if references are outdated (modified after sprint creation)
|
|
218
|
+
check_freshness: true
|
|
219
|
+
|
|
220
|
+
# Maximum file age in days before warning
|
|
221
|
+
max_age_days: 30
|
|
222
|
+
|
|
223
|
+
# =============================================================================
|
|
224
|
+
# SPRINT SHIP CONFIGURATION
|
|
225
|
+
# =============================================================================
|
|
226
|
+
ship:
|
|
227
|
+
# Run tests before shipping
|
|
228
|
+
auto_test: true
|
|
229
|
+
|
|
230
|
+
# Test command to run (uses package.json test script by default)
|
|
231
|
+
test_command: "npm test"
|
|
232
|
+
|
|
233
|
+
# Create PR instead of direct push
|
|
234
|
+
create_pr: true
|
|
235
|
+
|
|
236
|
+
# PR settings (when create_pr: true)
|
|
237
|
+
pr:
|
|
238
|
+
# Create as draft
|
|
239
|
+
draft: false
|
|
240
|
+
|
|
241
|
+
# Auto-assign reviewers
|
|
242
|
+
reviewers: []
|
|
243
|
+
|
|
244
|
+
# Auto-add labels
|
|
245
|
+
labels: ["sprint-complete"]
|
|
246
|
+
|
|
247
|
+
# Commit message settings
|
|
248
|
+
commit:
|
|
249
|
+
# Commit message prefix
|
|
250
|
+
prefix: "feat(sprint)"
|
|
251
|
+
|
|
252
|
+
# Include retrospective in commit body
|
|
253
|
+
include_retrospective: true
|
|
254
|
+
|
|
255
|
+
# Include metrics in commit body
|
|
256
|
+
include_metrics: true
|
|
257
|
+
|
|
258
|
+
# Ship behavior
|
|
259
|
+
behavior:
|
|
260
|
+
# Allow shipping with incomplete tasks (requires --force)
|
|
261
|
+
allow_incomplete: false
|
|
262
|
+
|
|
263
|
+
# Archive sprint after successful ship
|
|
264
|
+
archive_sprint: true
|
|
265
|
+
|
|
266
|
+
# Run lint/format before commit
|
|
267
|
+
pre_commit_checks: true
|