agileflow 3.3.0 → 3.4.1
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/CHANGELOG.md +10 -0
- package/README.md +6 -6
- package/lib/skill-loader.js +0 -1
- package/package.json +1 -1
- package/scripts/agileflow-statusline.sh +81 -0
- package/scripts/agileflow-welcome.js +79 -0
- package/scripts/claude-tmux.sh +90 -23
- package/scripts/claude-watchdog.sh +225 -0
- package/scripts/generators/agent-registry.js +14 -1
- package/scripts/generators/inject-babysit.js +22 -9
- package/scripts/generators/inject-help.js +19 -9
- package/scripts/lib/ac-test-matcher.js +452 -0
- package/scripts/lib/audit-cleanup.js +250 -0
- package/scripts/lib/audit-registry.js +304 -0
- package/scripts/lib/configure-features.js +35 -0
- package/scripts/lib/feature-catalog.js +3 -3
- package/scripts/lib/gate-enforcer.js +295 -0
- package/scripts/lib/model-profiles.js +118 -0
- package/scripts/lib/quality-gates.js +163 -0
- package/scripts/lib/signal-detectors.js +44 -1
- package/scripts/lib/skill-catalog.js +557 -0
- package/scripts/lib/skill-recommender.js +311 -0
- package/scripts/lib/status-writer.js +255 -0
- package/scripts/lib/story-claiming.js +128 -45
- package/scripts/lib/task-sync.js +32 -38
- package/scripts/lib/tdd-phase-manager.js +455 -0
- package/scripts/lib/team-events.js +34 -3
- package/scripts/lib/tmux-audit-monitor.js +611 -0
- package/scripts/lib/tmux-group-colors.js +113 -0
- package/scripts/lib/tool-registry.yaml +241 -0
- package/scripts/lib/tool-shed.js +441 -0
- package/scripts/messaging-bridge.js +209 -1
- package/scripts/native-team-observer.js +219 -0
- package/scripts/obtain-context.js +14 -0
- package/scripts/ralph-loop.js +30 -5
- package/scripts/smart-detect.js +21 -0
- package/scripts/spawn-audit-sessions.js +877 -0
- package/scripts/team-manager.js +56 -16
- package/scripts/tmux-close-windows.sh +180 -0
- package/src/core/agents/a11y-analyzer-aria.md +155 -0
- package/src/core/agents/a11y-analyzer-forms.md +162 -0
- package/src/core/agents/a11y-analyzer-keyboard.md +175 -0
- package/src/core/agents/a11y-analyzer-semantic.md +153 -0
- package/src/core/agents/a11y-analyzer-visual.md +158 -0
- package/src/core/agents/a11y-consensus.md +248 -0
- package/src/core/agents/ads-audit-budget.md +181 -0
- package/src/core/agents/ads-audit-compliance.md +169 -0
- package/src/core/agents/ads-audit-creative.md +164 -0
- package/src/core/agents/ads-audit-google.md +226 -0
- package/src/core/agents/ads-audit-meta.md +183 -0
- package/src/core/agents/ads-audit-tracking.md +197 -0
- package/src/core/agents/ads-consensus.md +396 -0
- package/src/core/agents/ads-generate.md +145 -0
- package/src/core/agents/ads-performance-tracker.md +197 -0
- package/src/core/agents/api-quality-analyzer-conventions.md +148 -0
- package/src/core/agents/api-quality-analyzer-docs.md +176 -0
- package/src/core/agents/api-quality-analyzer-errors.md +183 -0
- package/src/core/agents/api-quality-analyzer-pagination.md +171 -0
- package/src/core/agents/api-quality-analyzer-versioning.md +143 -0
- package/src/core/agents/api-quality-consensus.md +214 -0
- package/src/core/agents/arch-analyzer-circular.md +148 -0
- package/src/core/agents/arch-analyzer-complexity.md +171 -0
- package/src/core/agents/arch-analyzer-coupling.md +146 -0
- package/src/core/agents/arch-analyzer-layering.md +151 -0
- package/src/core/agents/arch-analyzer-patterns.md +162 -0
- package/src/core/agents/arch-consensus.md +227 -0
- package/src/core/agents/brainstorm-analyzer-features.md +169 -0
- package/src/core/agents/brainstorm-analyzer-growth.md +161 -0
- package/src/core/agents/brainstorm-analyzer-integration.md +172 -0
- package/src/core/agents/brainstorm-analyzer-market.md +147 -0
- package/src/core/agents/brainstorm-analyzer-ux.md +167 -0
- package/src/core/agents/brainstorm-consensus.md +237 -0
- package/src/core/agents/completeness-consensus.md +5 -5
- package/src/core/agents/perf-consensus.md +2 -2
- package/src/core/agents/security-consensus.md +2 -2
- package/src/core/agents/seo-analyzer-content.md +167 -0
- package/src/core/agents/seo-analyzer-images.md +187 -0
- package/src/core/agents/seo-analyzer-performance.md +206 -0
- package/src/core/agents/seo-analyzer-schema.md +176 -0
- package/src/core/agents/seo-analyzer-sitemap.md +172 -0
- package/src/core/agents/seo-analyzer-technical.md +144 -0
- package/src/core/agents/seo-consensus.md +289 -0
- package/src/core/agents/test-consensus.md +2 -2
- package/src/core/commands/adr.md +1 -0
- package/src/core/commands/ads/audit.md +375 -0
- package/src/core/commands/ads/budget.md +97 -0
- package/src/core/commands/ads/competitor.md +112 -0
- package/src/core/commands/ads/creative.md +85 -0
- package/src/core/commands/ads/generate.md +238 -0
- package/src/core/commands/ads/google.md +112 -0
- package/src/core/commands/ads/health.md +327 -0
- package/src/core/commands/ads/landing.md +119 -0
- package/src/core/commands/ads/linkedin.md +112 -0
- package/src/core/commands/ads/meta.md +91 -0
- package/src/core/commands/ads/microsoft.md +115 -0
- package/src/core/commands/ads/plan.md +321 -0
- package/src/core/commands/ads/test-plan.md +317 -0
- package/src/core/commands/ads/tiktok.md +129 -0
- package/src/core/commands/ads/track.md +288 -0
- package/src/core/commands/ads/youtube.md +124 -0
- package/src/core/commands/ads.md +140 -0
- package/src/core/commands/assign.md +1 -0
- package/src/core/commands/audit.md +43 -6
- package/src/core/commands/babysit.md +315 -1266
- package/src/core/commands/baseline.md +1 -0
- package/src/core/commands/blockers.md +1 -0
- package/src/core/commands/board.md +1 -0
- package/src/core/commands/changelog.md +1 -0
- package/src/core/commands/choose.md +1 -0
- package/src/core/commands/ci.md +1 -0
- package/src/core/commands/code/accessibility.md +347 -0
- package/src/core/commands/code/api.md +297 -0
- package/src/core/commands/code/architecture.md +297 -0
- package/src/core/commands/{audit → code}/completeness.md +72 -25
- package/src/core/commands/{audit → code}/legal.md +63 -16
- package/src/core/commands/{audit → code}/logic.md +64 -16
- package/src/core/commands/{audit → code}/performance.md +67 -20
- package/src/core/commands/{audit → code}/security.md +69 -19
- package/src/core/commands/{audit → code}/test.md +67 -20
- package/src/core/commands/configure.md +1 -0
- package/src/core/commands/council.md +1 -0
- package/src/core/commands/deploy.md +1 -0
- package/src/core/commands/diagnose.md +1 -0
- package/src/core/commands/docs.md +1 -0
- package/src/core/commands/epic/edit.md +213 -0
- package/src/core/commands/epic.md +1 -0
- package/src/core/commands/export.md +238 -0
- package/src/core/commands/help.md +16 -1
- package/src/core/commands/{discovery → ideate}/brief.md +12 -12
- package/src/core/commands/{discovery/new.md → ideate/discover.md} +20 -16
- package/src/core/commands/ideate/features.md +496 -0
- package/src/core/commands/ideate/new.md +158 -124
- package/src/core/commands/impact.md +1 -0
- package/src/core/commands/learn/explain.md +118 -0
- package/src/core/commands/learn/glossary.md +135 -0
- package/src/core/commands/learn/patterns.md +138 -0
- package/src/core/commands/learn/tour.md +126 -0
- package/src/core/commands/migrate/codemods.md +151 -0
- package/src/core/commands/migrate/plan.md +131 -0
- package/src/core/commands/migrate/scan.md +114 -0
- package/src/core/commands/migrate/validate.md +119 -0
- package/src/core/commands/multi-expert.md +1 -0
- package/src/core/commands/pr.md +1 -0
- package/src/core/commands/review.md +1 -0
- package/src/core/commands/seo/audit.md +373 -0
- package/src/core/commands/seo/competitor.md +174 -0
- package/src/core/commands/seo/content.md +107 -0
- package/src/core/commands/seo/geo.md +229 -0
- package/src/core/commands/seo/hreflang.md +140 -0
- package/src/core/commands/seo/images.md +96 -0
- package/src/core/commands/seo/page.md +198 -0
- package/src/core/commands/seo/plan.md +163 -0
- package/src/core/commands/seo/programmatic.md +131 -0
- package/src/core/commands/seo/references/cwv-thresholds.md +64 -0
- package/src/core/commands/seo/references/eeat-framework.md +110 -0
- package/src/core/commands/seo/references/quality-gates.md +91 -0
- package/src/core/commands/seo/references/schema-types.md +102 -0
- package/src/core/commands/seo/schema.md +183 -0
- package/src/core/commands/seo/sitemap.md +97 -0
- package/src/core/commands/seo/technical.md +100 -0
- package/src/core/commands/seo.md +107 -0
- package/src/core/commands/skill/list.md +68 -212
- package/src/core/commands/skill/recommend.md +216 -0
- package/src/core/commands/sprint.md +1 -0
- package/src/core/commands/status/undo.md +191 -0
- package/src/core/commands/status.md +1 -0
- package/src/core/commands/story/edit.md +204 -0
- package/src/core/commands/story/view.md +29 -7
- package/src/core/commands/story-validate.md +1 -0
- package/src/core/commands/story.md +1 -0
- package/src/core/commands/tdd-next.md +238 -0
- package/src/core/commands/tdd.md +211 -0
- package/src/core/commands/team/start.md +10 -6
- package/src/core/commands/tests.md +1 -0
- package/src/core/commands/verify.md +27 -1
- package/src/core/commands/workflow.md +2 -0
- package/src/core/experts/_core-expertise.yaml +105 -0
- package/src/core/experts/analytics/expertise.yaml +5 -99
- package/src/core/experts/codebase-query/expertise.yaml +3 -72
- package/src/core/experts/compliance/expertise.yaml +6 -72
- package/src/core/experts/database/expertise.yaml +9 -52
- package/src/core/experts/documentation/expertise.yaml +7 -140
- package/src/core/experts/integrations/expertise.yaml +7 -127
- package/src/core/experts/mentor/expertise.yaml +8 -35
- package/src/core/experts/monitoring/expertise.yaml +7 -49
- package/src/core/experts/performance/expertise.yaml +1 -26
- package/src/core/experts/security/expertise.yaml +9 -34
- package/src/core/experts/ui/expertise.yaml +6 -36
- package/src/core/knowledge/ads/ad-audit-checklist-scoring.md +424 -0
- package/src/core/knowledge/ads/ad-optimization-logic.md +590 -0
- package/src/core/knowledge/ads/ad-technical-specifications.md +385 -0
- package/src/core/knowledge/ads/definitive-advertising-reference-2026.md +506 -0
- package/src/core/knowledge/ads/paid-advertising-research-2026.md +445 -0
- package/src/core/teams/backend.json +41 -0
- package/src/core/teams/frontend.json +41 -0
- package/src/core/teams/qa.json +41 -0
- package/src/core/teams/solo.json +35 -0
- package/src/core/templates/agileflow-metadata.json +20 -1
- package/tools/cli/commands/setup.js +85 -3
- package/tools/cli/commands/update.js +42 -0
- package/tools/cli/installers/ide/_base-ide.js +42 -5
- package/tools/cli/installers/ide/claude-code.js +71 -3
- package/tools/cli/lib/content-injector.js +160 -12
- package/tools/cli/lib/docs-setup.js +1 -1
- package/src/core/commands/skill/create.md +0 -698
- package/src/core/commands/skill/delete.md +0 -316
- package/src/core/commands/skill/edit.md +0 -359
- package/src/core/commands/skill/test.md +0 -394
- package/src/core/commands/skill/upgrade.md +0 -552
- package/src/core/templates/skill-template.md +0 -117
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Export stories and epics to CSV, JSON, or Markdown for stakeholder reporting
|
|
3
|
+
argument-hint: "FORMAT=csv|json|md [EPIC=<EP-ID>] [STATUS=<status>] [OWNER=<id>]"
|
|
4
|
+
compact_context:
|
|
5
|
+
priority: medium
|
|
6
|
+
preserve_rules:
|
|
7
|
+
- "ACTIVE COMMAND: /agileflow:export - Export stories/epics to CSV/JSON/Markdown"
|
|
8
|
+
- "{{RULES:json_operations}}"
|
|
9
|
+
- "MUST read status.json as data source"
|
|
10
|
+
- "MUST support FORMAT=csv|json|md (default: csv)"
|
|
11
|
+
- "MUST support optional filters: EPIC, STATUS, OWNER"
|
|
12
|
+
- "MUST save output to docs/08-project/exports/"
|
|
13
|
+
state_fields:
|
|
14
|
+
- format
|
|
15
|
+
- filter_epic
|
|
16
|
+
- filter_status
|
|
17
|
+
- filter_owner
|
|
18
|
+
- output_path
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
# /agileflow:export
|
|
22
|
+
|
|
23
|
+
Export stories and epics from status.json to CSV, JSON, or Markdown for stakeholder reporting.
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## STEP 0: Gather Context
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
node .agileflow/scripts/obtain-context.js export
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
36
|
+
## Compact Summary
|
|
37
|
+
|
|
38
|
+
**Command**: `/agileflow:export FORMAT=csv|json|md [EPIC=...] [STATUS=...] [OWNER=...]`
|
|
39
|
+
**Purpose**: Export filtered stories to CSV, JSON, or Markdown files
|
|
40
|
+
|
|
41
|
+
### Flow
|
|
42
|
+
1. Parse FORMAT and optional filters
|
|
43
|
+
2. Read status.json
|
|
44
|
+
3. Apply filters (epic, status, owner)
|
|
45
|
+
4. Generate output in requested format
|
|
46
|
+
5. Save to docs/08-project/exports/export-YYYYMMDD.{csv|json|md}
|
|
47
|
+
6. Show summary and file path
|
|
48
|
+
|
|
49
|
+
### Critical Rules
|
|
50
|
+
- **Default format**: CSV if not specified
|
|
51
|
+
- **CSV must be Excel-compatible**: Proper quoting, comma-separated
|
|
52
|
+
- **JSON mirrors status.json**: Filtered subset of stories structure
|
|
53
|
+
- **Markdown generates table**: Paste-ready for docs/reports
|
|
54
|
+
- **Always show count**: "Exported N stories to <path>"
|
|
55
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Arguments
|
|
60
|
+
|
|
61
|
+
| Argument | Required | Default | Description |
|
|
62
|
+
|----------|----------|---------|-------------|
|
|
63
|
+
| FORMAT | No | csv | Output format: `csv`, `json`, or `md` |
|
|
64
|
+
| EPIC | No | all | Filter by epic ID (e.g., EP-0041) |
|
|
65
|
+
| STATUS | No | all | Filter by status: ready, in_progress, blocked, done, completed |
|
|
66
|
+
| OWNER | No | all | Filter by owner (e.g., AG-API, AG-UI) |
|
|
67
|
+
|
|
68
|
+
Multiple filters can be combined. All are AND-joined (stories must match all filters).
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## IMMEDIATE ACTIONS
|
|
73
|
+
|
|
74
|
+
### Step 1: Parse Arguments
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
FORMAT = argument or "csv" (default)
|
|
78
|
+
EPIC = optional epic filter
|
|
79
|
+
STATUS = optional status filter
|
|
80
|
+
OWNER = optional owner filter
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Validate FORMAT is one of: csv, json, md. If invalid, show error and suggest valid values.
|
|
84
|
+
|
|
85
|
+
### Step 2: Read and Filter Data
|
|
86
|
+
|
|
87
|
+
Read `docs/09-agents/status.json` and filter stories:
|
|
88
|
+
|
|
89
|
+
```javascript
|
|
90
|
+
const data = JSON.parse(fs.readFileSync('docs/09-agents/status.json', 'utf8'));
|
|
91
|
+
let stories = Object.entries(data.stories).map(([id, s]) => ({ id, ...s }));
|
|
92
|
+
|
|
93
|
+
// Apply filters
|
|
94
|
+
if (EPIC) stories = stories.filter(s => s.epic === EPIC);
|
|
95
|
+
if (STATUS) stories = stories.filter(s => s.status === STATUS);
|
|
96
|
+
if (OWNER) stories = stories.filter(s => s.owner === OWNER);
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
If no stories match, inform user: "No stories match the given filters."
|
|
100
|
+
|
|
101
|
+
### Step 3: Generate Output
|
|
102
|
+
|
|
103
|
+
#### CSV Format
|
|
104
|
+
|
|
105
|
+
Columns: ID, Title, Epic, Status, Owner, Priority, Estimate
|
|
106
|
+
|
|
107
|
+
```csv
|
|
108
|
+
ID,Title,Epic,Status,Owner,Priority,Estimate
|
|
109
|
+
US-0380,"Add story:edit and epic:edit commands",EP-0041,done,AG-API,high,3h
|
|
110
|
+
US-0381,"Add status:undo command for story status rollback",EP-0041,done,AG-API,high,2h
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Rules:
|
|
114
|
+
- First row is header
|
|
115
|
+
- Quote fields containing commas or quotes
|
|
116
|
+
- Escape quotes by doubling them
|
|
117
|
+
- Use UTF-8 encoding
|
|
118
|
+
|
|
119
|
+
#### JSON Format
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"exported_at": "2026-03-03T12:00:00Z",
|
|
124
|
+
"filters": { "epic": "EP-0041", "status": null, "owner": null },
|
|
125
|
+
"count": 8,
|
|
126
|
+
"stories": [
|
|
127
|
+
{
|
|
128
|
+
"id": "US-0380",
|
|
129
|
+
"title": "Add story:edit and epic:edit commands",
|
|
130
|
+
"epic": "EP-0041",
|
|
131
|
+
"status": "done",
|
|
132
|
+
"owner": "AG-API",
|
|
133
|
+
"priority": "high",
|
|
134
|
+
"estimate": "3h"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
#### Markdown Format
|
|
141
|
+
|
|
142
|
+
```markdown
|
|
143
|
+
# Story Export - 2026-03-03
|
|
144
|
+
|
|
145
|
+
**Filters**: Epic: EP-0041
|
|
146
|
+
**Count**: 8 stories
|
|
147
|
+
|
|
148
|
+
| ID | Title | Epic | Status | Owner | Priority | Estimate |
|
|
149
|
+
|----|-------|------|--------|-------|----------|----------|
|
|
150
|
+
| US-0380 | Add story:edit and epic:edit commands | EP-0041 | done | AG-API | high | 3h |
|
|
151
|
+
| US-0381 | Add status:undo command | EP-0041 | done | AG-API | high | 2h |
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Step 4: Save Output
|
|
155
|
+
|
|
156
|
+
Create output directory if needed:
|
|
157
|
+
```bash
|
|
158
|
+
mkdir -p docs/08-project/exports
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Save to: `docs/08-project/exports/export-YYYYMMDD.{csv|json|md}`
|
|
162
|
+
|
|
163
|
+
If file already exists for today, append a counter: `export-YYYYMMDD-2.csv`
|
|
164
|
+
|
|
165
|
+
### Step 5: Show Summary
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
Exported 8 stories to docs/08-project/exports/export-20260303.csv
|
|
169
|
+
|
|
170
|
+
Filters applied:
|
|
171
|
+
Epic: EP-0041
|
|
172
|
+
Status: all
|
|
173
|
+
Owner: all
|
|
174
|
+
|
|
175
|
+
Preview (first 3 rows):
|
|
176
|
+
US-0380 | Add story:edit and epic:edit commands | done
|
|
177
|
+
US-0381 | Add status:undo command | done
|
|
178
|
+
US-0382 | Add export command | in_progress
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
Then offer next steps:
|
|
182
|
+
|
|
183
|
+
```xml
|
|
184
|
+
<invoke name="AskUserQuestion">
|
|
185
|
+
<parameter name="questions">[{
|
|
186
|
+
"question": "Export complete. What next?",
|
|
187
|
+
"header": "Next steps",
|
|
188
|
+
"multiSelect": false,
|
|
189
|
+
"options": [
|
|
190
|
+
{"label": "Open/view the exported file", "description": "Display full file contents"},
|
|
191
|
+
{"label": "Export in another format", "description": "Re-export as json/md/csv"},
|
|
192
|
+
{"label": "Done", "description": "Export saved successfully"}
|
|
193
|
+
]
|
|
194
|
+
}]</parameter>
|
|
195
|
+
</invoke>
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## Example Usage
|
|
201
|
+
|
|
202
|
+
```bash
|
|
203
|
+
# Export all stories as CSV (default)
|
|
204
|
+
/agileflow:export
|
|
205
|
+
|
|
206
|
+
# Export specific epic as JSON
|
|
207
|
+
/agileflow:export FORMAT=json EPIC=EP-0041
|
|
208
|
+
|
|
209
|
+
# Export ready stories as Markdown
|
|
210
|
+
/agileflow:export FORMAT=md STATUS=ready
|
|
211
|
+
|
|
212
|
+
# Export specific owner's stories as CSV
|
|
213
|
+
/agileflow:export OWNER=AG-API STATUS=done
|
|
214
|
+
|
|
215
|
+
# Combine filters
|
|
216
|
+
/agileflow:export FORMAT=md EPIC=EP-0041 STATUS=ready OWNER=AG-API
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## Rules
|
|
222
|
+
|
|
223
|
+
- **CSV Excel-compatible**: Proper quoting, commas, UTF-8
|
|
224
|
+
- **JSON well-formed**: Pretty-printed, includes metadata
|
|
225
|
+
- **Markdown paste-ready**: Standard table format
|
|
226
|
+
- **Always show preview**: Display first few rows after export
|
|
227
|
+
- **Always show path**: User needs to know where the file is
|
|
228
|
+
- **No destructive overwrites**: Counter suffix for same-day exports
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## Related Commands
|
|
233
|
+
|
|
234
|
+
- `/agileflow:story:list` - Interactive story listing
|
|
235
|
+
- `/agileflow:epic:list` - Interactive epic listing
|
|
236
|
+
- `/agileflow:board` - Visual kanban board
|
|
237
|
+
- `/agileflow:sprint` - Sprint planning view
|
|
238
|
+
- `/agileflow:changelog` - Generate changelog
|
|
@@ -87,7 +87,22 @@ Print a concise, one-screen overview:
|
|
|
87
87
|
- What Epics, Stories, ADRs are; how docs/09-agents/status.json + bus/log.jsonl work
|
|
88
88
|
- Daily flow: Pick story → Implement to AC → Tests → PR → Update status
|
|
89
89
|
- WIP limit: max 2 stories/agent
|
|
90
|
-
- List ALL available commands
|
|
90
|
+
- List ALL available commands grouped by lifecycle phase
|
|
91
|
+
- Show the current detected phase (from smart-detect.json) to highlight relevant commands
|
|
92
|
+
|
|
93
|
+
### Lifecycle Phases
|
|
94
|
+
|
|
95
|
+
Commands are organized by the project phase where they're most useful:
|
|
96
|
+
|
|
97
|
+
| Phase | Description | Key Commands |
|
|
98
|
+
|-------|------------|--------------|
|
|
99
|
+
| **Pre-Story** | Story selection and project setup | epic, story, board, sprint, choose, configure |
|
|
100
|
+
| **Planning** | Architecture and research decisions | adr, impact, council, multi-expert, baseline |
|
|
101
|
+
| **Implementation** | Active development work | babysit, tdd, tests, verify, ci, workflow |
|
|
102
|
+
| **Post-Impl** | Review, docs, and quality checks | audit, review, docs, changelog, diagnose |
|
|
103
|
+
| **Pre-PR** | Final checks before pull request | pr, compress |
|
|
104
|
+
|
|
105
|
+
**Tip**: Commands have a `phase` tag in their frontmatter. Run the command most relevant to your current phase.
|
|
91
106
|
|
|
92
107
|
<!-- {{COMMAND_LIST}} -->
|
|
93
108
|
|
|
@@ -4,7 +4,7 @@ argument-hint: "TOPIC=<text> [IDEATION=<path>] [RESEARCH=<path,...>]"
|
|
|
4
4
|
compact_context:
|
|
5
5
|
priority: critical
|
|
6
6
|
preserve_rules:
|
|
7
|
-
- "ACTIVE COMMAND: /agileflow:
|
|
7
|
+
- "ACTIVE COMMAND: /agileflow:ideate:brief - Product Brief synthesis"
|
|
8
8
|
- "MUST read ideation report and/or research files as input"
|
|
9
9
|
- "MUST generate a Product Brief using the product-brief template structure"
|
|
10
10
|
- "MoSCoW mapping: HIGH-confidence ideas = MUST HAVE, single-expert ideas = SHOULD HAVE"
|
|
@@ -20,7 +20,7 @@ compact_context:
|
|
|
20
20
|
- brief_generated
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
-
# /agileflow:
|
|
23
|
+
# /agileflow:ideate:brief
|
|
24
24
|
|
|
25
25
|
Synthesize brainstorming results and research findings into a professional Product Brief artifact.
|
|
26
26
|
|
|
@@ -33,14 +33,14 @@ Generate a structured Product Brief that combines:
|
|
|
33
33
|
- Research data (competitive analysis, market sizing, best practices)
|
|
34
34
|
- Your own knowledge synthesis
|
|
35
35
|
|
|
36
|
-
This can be used standalone (with existing ideation/research files) or as Phase 3 of the `/agileflow:
|
|
36
|
+
This can be used standalone (with existing ideation/research files) or as Phase 3 of the `/agileflow:ideate:discover` workflow.
|
|
37
37
|
|
|
38
38
|
---
|
|
39
39
|
|
|
40
40
|
## STEP 0: Gather Context
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
node .agileflow/scripts/obtain-context.js
|
|
43
|
+
node .agileflow/scripts/obtain-context.js ideate:brief
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
---
|
|
@@ -49,13 +49,13 @@ node .agileflow/scripts/obtain-context.js discovery:brief
|
|
|
49
49
|
|
|
50
50
|
## Compact Summary
|
|
51
51
|
|
|
52
|
-
**Command**: `/agileflow:
|
|
52
|
+
**Command**: `/agileflow:ideate:brief` - Generate Product Brief from ideation + research
|
|
53
53
|
|
|
54
54
|
**Quick Usage**:
|
|
55
55
|
```
|
|
56
|
-
/agileflow:
|
|
57
|
-
/agileflow:
|
|
58
|
-
/agileflow:
|
|
56
|
+
/agileflow:ideate:brief TOPIC="Mobile time tracking app"
|
|
57
|
+
/agileflow:ideate:brief TOPIC="AI code review" IDEATION=docs/08-project/ideation/ideation-20260213.md
|
|
58
|
+
/agileflow:ideate:brief TOPIC="Dashboard" RESEARCH=docs/10-research/20260213-dashboard-research.md
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
**What It Does**: Read ideation + research inputs -> Synthesize into Product Brief -> Save to docs/08-project/briefs/
|
|
@@ -307,19 +307,19 @@ Summary:
|
|
|
307
307
|
|
|
308
308
|
### Standalone (no prior ideation)
|
|
309
309
|
```
|
|
310
|
-
/agileflow:
|
|
310
|
+
/agileflow:ideate:brief TOPIC="Real-time collaboration for docs"
|
|
311
311
|
```
|
|
312
312
|
Generates a brief from internal knowledge + topic analysis.
|
|
313
313
|
|
|
314
314
|
### With existing ideation
|
|
315
315
|
```
|
|
316
|
-
/agileflow:
|
|
316
|
+
/agileflow:ideate:brief TOPIC="API rate limiter" IDEATION=docs/08-project/ideation/ideation-20260213-api-rate-limiter.md
|
|
317
317
|
```
|
|
318
318
|
Reads the ideation report and synthesizes into a brief.
|
|
319
319
|
|
|
320
320
|
### With ideation + research
|
|
321
321
|
```
|
|
322
|
-
/agileflow:
|
|
322
|
+
/agileflow:ideate:brief TOPIC="Mobile app" IDEATION=docs/08-project/ideation/ideation-20260213-mobile-app.md RESEARCH=docs/10-research/20260213-mobile-market-research.md,docs/10-research/20260213-mobile-competitors.md
|
|
323
323
|
```
|
|
324
324
|
Full synthesis from both sources.
|
|
325
325
|
|
|
@@ -355,7 +355,7 @@ What would you like to do next?
|
|
|
355
355
|
|
|
356
356
|
## Related Commands
|
|
357
357
|
|
|
358
|
-
- `/agileflow:
|
|
358
|
+
- `/agileflow:ideate:discover` - Full discovery workflow (brainstorm + research + brief)
|
|
359
359
|
- `/agileflow:ideate:new` - Generate ideation report
|
|
360
360
|
- `/agileflow:research:ask` - Generate research prompts
|
|
361
361
|
- `/agileflow:research:synthesize` - Synthesize multiple research files
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Run structured discovery workflow - brainstorm, research, and generate a Product Brief
|
|
3
|
-
argument-hint: "TOPIC=<text> [DEPTH=quick|guided|deep]"
|
|
3
|
+
argument-hint: "TOPIC=<text> [DEPTH=quick|guided|deep] [MODEL=haiku|sonnet|opus]"
|
|
4
4
|
compact_context:
|
|
5
5
|
priority: critical
|
|
6
6
|
preserve_rules:
|
|
7
|
-
- "ACTIVE COMMAND: /agileflow:
|
|
7
|
+
- "ACTIVE COMMAND: /agileflow:ideate:discover - Discovery workflow orchestrator"
|
|
8
8
|
- "DEPTH modes: quick (skip research, auto-generate), guided (interactive, optional research), deep (comprehensive research + curation)"
|
|
9
9
|
- "Phase 1: Brainstorm via /agileflow:ideate:new SCOPE=all"
|
|
10
10
|
- "Phase 2: Research via /agileflow:research:ask (optional in quick mode)"
|
|
11
|
-
- "Phase 3: Generate Product Brief via /agileflow:
|
|
11
|
+
- "Phase 3: Generate Product Brief via /agileflow:ideate:brief"
|
|
12
12
|
- "Output: docs/08-project/briefs/{date}-{topic-slug}-brief.md"
|
|
13
|
-
- "MUST parse TOPIC (required)
|
|
13
|
+
- "MUST parse TOPIC (required), DEPTH (default: guided), and MODEL (default: haiku, passed to ideate:new)"
|
|
14
14
|
- "After brief generation, offer: create epic, refine brief, or done"
|
|
15
15
|
state_fields:
|
|
16
16
|
- topic
|
|
17
17
|
- depth
|
|
18
|
+
- model
|
|
18
19
|
- brainstorm_complete
|
|
19
20
|
- research_complete
|
|
20
21
|
- brief_generated
|
|
@@ -22,7 +23,7 @@ compact_context:
|
|
|
22
23
|
- research_files
|
|
23
24
|
---
|
|
24
25
|
|
|
25
|
-
# /agileflow:
|
|
26
|
+
# /agileflow:ideate:discover
|
|
26
27
|
|
|
27
28
|
Run a structured discovery workflow that produces a professional Product Brief. Chains brainstorming, optional research, and synthesis into a single orchestrated flow.
|
|
28
29
|
|
|
@@ -33,7 +34,7 @@ Run a structured discovery workflow that produces a professional Product Brief.
|
|
|
33
34
|
Bridge the gap between "vague idea" and "epic planning". This command validates product viability BEFORE decomposing into stories/epics.
|
|
34
35
|
|
|
35
36
|
```
|
|
36
|
-
Vague Idea --> /
|
|
37
|
+
Vague Idea --> /ideate:discover --> Product Brief --> /epic --> Stories --> Implementation
|
|
37
38
|
```
|
|
38
39
|
|
|
39
40
|
---
|
|
@@ -41,7 +42,7 @@ Vague Idea --> /discovery:new --> Product Brief --> /epic --> Stories --> Implem
|
|
|
41
42
|
## STEP 0: Gather Context
|
|
42
43
|
|
|
43
44
|
```bash
|
|
44
|
-
node .agileflow/scripts/obtain-context.js
|
|
45
|
+
node .agileflow/scripts/obtain-context.js ideate:discover
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
---
|
|
@@ -50,19 +51,20 @@ node .agileflow/scripts/obtain-context.js discovery
|
|
|
50
51
|
|
|
51
52
|
## Compact Summary
|
|
52
53
|
|
|
53
|
-
**Command**: `/agileflow:
|
|
54
|
+
**Command**: `/agileflow:ideate:discover` - Orchestrate brainstorm + research + Product Brief generation
|
|
54
55
|
|
|
55
56
|
**Quick Usage**:
|
|
56
57
|
```
|
|
57
|
-
/agileflow:
|
|
58
|
-
/agileflow:
|
|
59
|
-
/agileflow:
|
|
58
|
+
/agileflow:ideate:discover TOPIC="Mobile time tracking app"
|
|
59
|
+
/agileflow:ideate:discover TOPIC="AI code review tool" DEPTH=deep
|
|
60
|
+
/agileflow:ideate:discover TOPIC="Internal dashboard" DEPTH=quick
|
|
61
|
+
/agileflow:ideate:discover TOPIC="Enterprise CRM" MODEL=opus
|
|
60
62
|
```
|
|
61
63
|
|
|
62
64
|
**Phases**:
|
|
63
65
|
1. Brainstorm (delegates to `/agileflow:ideate:new`)
|
|
64
66
|
2. Research (delegates to `/agileflow:research:ask` - optional in quick mode)
|
|
65
|
-
3. Brief Generation (delegates to `/agileflow:
|
|
67
|
+
3. Brief Generation (delegates to `/agileflow:ideate:brief`)
|
|
66
68
|
|
|
67
69
|
**Depth Modes**:
|
|
68
70
|
- `quick`: Auto-run brainstorm, skip research, generate brief immediately (~5-10 min)
|
|
@@ -87,7 +89,7 @@ node .agileflow/scripts/obtain-context.js discovery
|
|
|
87
89
|
## How It Works
|
|
88
90
|
|
|
89
91
|
```
|
|
90
|
-
USER: /agileflow:
|
|
92
|
+
USER: /agileflow:ideate:discover TOPIC="..." DEPTH=guided
|
|
91
93
|
|
|
|
92
94
|
v
|
|
93
95
|
+-------------------------------+
|
|
@@ -114,7 +116,7 @@ USER: /agileflow:discovery:new TOPIC="..." DEPTH=guided
|
|
|
114
116
|
v
|
|
115
117
|
+-------------------------------+
|
|
116
118
|
| STEP 4: GENERATE BRIEF |
|
|
117
|
-
| Delegate to
|
|
119
|
+
| Delegate to ideate:brief |
|
|
118
120
|
| Synthesize all inputs |
|
|
119
121
|
| Output: Product Brief |
|
|
120
122
|
+-------------------------------+
|
|
@@ -142,6 +144,7 @@ Parse the user's input:
|
|
|
142
144
|
|----------|----------|---------|-------------|
|
|
143
145
|
| TOPIC | Yes | - | The product/feature idea to explore |
|
|
144
146
|
| DEPTH | No | guided | Discovery depth: quick, guided, or deep |
|
|
147
|
+
| MODEL | No | haiku | Model for expert subagents (haiku, sonnet, opus). Passed through to ideate:new brainstorm phase. |
|
|
145
148
|
|
|
146
149
|
**If TOPIC is missing**, ask the user:
|
|
147
150
|
|
|
@@ -191,7 +194,7 @@ From your {DOMAIN} perspective, generate 3-5 ideas covering:
|
|
|
191
194
|
Be specific and actionable. Reference real-world examples where helpful.
|
|
192
195
|
```
|
|
193
196
|
|
|
194
|
-
Deploy all experts with `run_in_background: true`, then collect results with TaskOutput.
|
|
197
|
+
Deploy all experts with `run_in_background: true`, then collect results with TaskOutput. **If MODEL is specified**, pass it to each Task call via the `model` parameter.
|
|
195
198
|
|
|
196
199
|
#### Guided Mode
|
|
197
200
|
Same as Quick, but after collecting results:
|
|
@@ -343,6 +346,7 @@ Present the completed brief and ask what to do next:
|
|
|
343
346
|
|----------|--------|---------|-------------|
|
|
344
347
|
| TOPIC | Free text | (required) | The product/feature idea to explore |
|
|
345
348
|
| DEPTH | quick, guided, deep | guided | Discovery depth level |
|
|
349
|
+
| MODEL | haiku, sonnet, opus | haiku | Model for expert subagents. Passed to brainstorm phase Task calls. |
|
|
346
350
|
|
|
347
351
|
{{argument}}
|
|
348
352
|
|
|
@@ -386,7 +390,7 @@ What would you like to do next?
|
|
|
386
390
|
|
|
387
391
|
## Related Commands
|
|
388
392
|
|
|
389
|
-
- `/agileflow:
|
|
393
|
+
- `/agileflow:ideate:brief` - Generate a Product Brief from existing ideation + research
|
|
390
394
|
- `/agileflow:ideate:new` - Run multi-expert brainstorming
|
|
391
395
|
- `/agileflow:research:ask` - Generate external research prompts
|
|
392
396
|
- `/agileflow:research:import` - Import research results
|