agileflow 2.30.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.
Files changed (133) hide show
  1. package/package.json +61 -0
  2. package/src/core/agents/accessibility.md +445 -0
  3. package/src/core/agents/adr-writer.md +215 -0
  4. package/src/core/agents/analytics.md +523 -0
  5. package/src/core/agents/api.md +484 -0
  6. package/src/core/agents/ci.md +452 -0
  7. package/src/core/agents/compliance.md +401 -0
  8. package/src/core/agents/context7.md +164 -0
  9. package/src/core/agents/database.md +377 -0
  10. package/src/core/agents/datamigration.md +565 -0
  11. package/src/core/agents/design.md +400 -0
  12. package/src/core/agents/devops.md +576 -0
  13. package/src/core/agents/documentation.md +229 -0
  14. package/src/core/agents/epic-planner.md +277 -0
  15. package/src/core/agents/integrations.md +459 -0
  16. package/src/core/agents/mentor.md +375 -0
  17. package/src/core/agents/mobile.md +391 -0
  18. package/src/core/agents/monitoring.md +430 -0
  19. package/src/core/agents/performance.md +390 -0
  20. package/src/core/agents/product.md +311 -0
  21. package/src/core/agents/qa.md +647 -0
  22. package/src/core/agents/readme-updater.md +325 -0
  23. package/src/core/agents/refactor.md +432 -0
  24. package/src/core/agents/research.md +250 -0
  25. package/src/core/agents/security.md +379 -0
  26. package/src/core/agents/testing.md +397 -0
  27. package/src/core/agents/ui.md +999 -0
  28. package/src/core/commands/adr.md +32 -0
  29. package/src/core/commands/agent.md +23 -0
  30. package/src/core/commands/assign.md +34 -0
  31. package/src/core/commands/auto.md +364 -0
  32. package/src/core/commands/babysit.md +1357 -0
  33. package/src/core/commands/baseline.md +520 -0
  34. package/src/core/commands/blockers.md +343 -0
  35. package/src/core/commands/board.md +241 -0
  36. package/src/core/commands/changelog.md +321 -0
  37. package/src/core/commands/ci.md +36 -0
  38. package/src/core/commands/compress.md +270 -0
  39. package/src/core/commands/context.md +222 -0
  40. package/src/core/commands/debt.md +268 -0
  41. package/src/core/commands/deploy.md +544 -0
  42. package/src/core/commands/deps.md +560 -0
  43. package/src/core/commands/diagnose.md +227 -0
  44. package/src/core/commands/docs.md +166 -0
  45. package/src/core/commands/epic.md +40 -0
  46. package/src/core/commands/feedback.md +307 -0
  47. package/src/core/commands/handoff.md +33 -0
  48. package/src/core/commands/help.md +90 -0
  49. package/src/core/commands/impact.md +204 -0
  50. package/src/core/commands/metrics.md +530 -0
  51. package/src/core/commands/packages.md +369 -0
  52. package/src/core/commands/pr.md +35 -0
  53. package/src/core/commands/readme-sync.md +168 -0
  54. package/src/core/commands/research.md +30 -0
  55. package/src/core/commands/resume.md +475 -0
  56. package/src/core/commands/retro.md +538 -0
  57. package/src/core/commands/review.md +364 -0
  58. package/src/core/commands/session-init.md +532 -0
  59. package/src/core/commands/setup.md +708 -0
  60. package/src/core/commands/sprint.md +490 -0
  61. package/src/core/commands/status.md +38 -0
  62. package/src/core/commands/story-validate.md +242 -0
  63. package/src/core/commands/story.md +38 -0
  64. package/src/core/commands/template.md +458 -0
  65. package/src/core/commands/tests.md +359 -0
  66. package/src/core/commands/update.md +407 -0
  67. package/src/core/commands/velocity.md +369 -0
  68. package/src/core/commands/verify.md +283 -0
  69. package/src/core/skills/acceptance-criteria-generator/SKILL.md +46 -0
  70. package/src/core/skills/adr-template/SKILL.md +62 -0
  71. package/src/core/skills/agileflow-acceptance-criteria/SKILL.md +156 -0
  72. package/src/core/skills/agileflow-adr/SKILL.md +147 -0
  73. package/src/core/skills/agileflow-adr/examples/database-choice-example.md +122 -0
  74. package/src/core/skills/agileflow-adr/templates/adr-template.md +69 -0
  75. package/src/core/skills/agileflow-commit-messages/SKILL.md +130 -0
  76. package/src/core/skills/agileflow-commit-messages/reference/bad-examples.md +168 -0
  77. package/src/core/skills/agileflow-commit-messages/reference/good-examples.md +120 -0
  78. package/src/core/skills/agileflow-commit-messages/scripts/check-attribution.sh +15 -0
  79. package/src/core/skills/agileflow-epic-planner/SKILL.md +184 -0
  80. package/src/core/skills/agileflow-retro-facilitator/SKILL.md +281 -0
  81. package/src/core/skills/agileflow-sprint-planner/SKILL.md +212 -0
  82. package/src/core/skills/agileflow-story-writer/SKILL.md +163 -0
  83. package/src/core/skills/agileflow-story-writer/examples/good-story-example.md +63 -0
  84. package/src/core/skills/agileflow-story-writer/templates/story-template.md +44 -0
  85. package/src/core/skills/agileflow-tech-debt/SKILL.md +215 -0
  86. package/src/core/skills/api-documentation-generator/SKILL.md +65 -0
  87. package/src/core/skills/changelog-entry/SKILL.md +55 -0
  88. package/src/core/skills/commit-message-formatter/SKILL.md +50 -0
  89. package/src/core/skills/deployment-guide-generator/SKILL.md +84 -0
  90. package/src/core/skills/diagram-generator/SKILL.md +65 -0
  91. package/src/core/skills/error-handler-template/SKILL.md +78 -0
  92. package/src/core/skills/migration-checklist/SKILL.md +82 -0
  93. package/src/core/skills/pr-description/SKILL.md +65 -0
  94. package/src/core/skills/sql-schema-generator/SKILL.md +69 -0
  95. package/src/core/skills/story-skeleton/SKILL.md +34 -0
  96. package/src/core/skills/test-case-generator/SKILL.md +63 -0
  97. package/src/core/skills/type-definitions/SKILL.md +65 -0
  98. package/src/core/skills/validation-schema-generator/SKILL.md +64 -0
  99. package/src/core/templates/README-template.md +16 -0
  100. package/src/core/templates/adr-template.md +28 -0
  101. package/src/core/templates/agent-profile-template.md +51 -0
  102. package/src/core/templates/agileflow-metadata.json +41 -0
  103. package/src/core/templates/ci-workflow.yml +74 -0
  104. package/src/core/templates/claude-settings.advanced.example.json +71 -0
  105. package/src/core/templates/claude-settings.example.json +26 -0
  106. package/src/core/templates/comms-note-template.md +24 -0
  107. package/src/core/templates/environment.json +18 -0
  108. package/src/core/templates/epic-template.md +27 -0
  109. package/src/core/templates/init.sh +76 -0
  110. package/src/core/templates/research-template.md +44 -0
  111. package/src/core/templates/resume-session.sh +121 -0
  112. package/src/core/templates/session-state.json +20 -0
  113. package/src/core/templates/skill-template.md +75 -0
  114. package/src/core/templates/story-template.md +88 -0
  115. package/src/core/templates/validate-tokens.sh +88 -0
  116. package/src/core/templates/worktree-create.sh +111 -0
  117. package/src/core/templates/worktrees-guide.md +235 -0
  118. package/tools/agileflow-npx.js +40 -0
  119. package/tools/cli/agileflow-cli.js +70 -0
  120. package/tools/cli/commands/doctor.js +243 -0
  121. package/tools/cli/commands/install.js +82 -0
  122. package/tools/cli/commands/status.js +121 -0
  123. package/tools/cli/commands/uninstall.js +110 -0
  124. package/tools/cli/commands/update.js +99 -0
  125. package/tools/cli/installers/core/installer.js +296 -0
  126. package/tools/cli/installers/ide/_base-ide.js +133 -0
  127. package/tools/cli/installers/ide/claude-code.js +174 -0
  128. package/tools/cli/installers/ide/cursor.js +189 -0
  129. package/tools/cli/installers/ide/manager.js +197 -0
  130. package/tools/cli/installers/ide/windsurf.js +192 -0
  131. package/tools/cli/lib/ui.js +203 -0
  132. package/tools/cli/lib/version-checker.js +95 -0
  133. package/tools/postinstall.js +141 -0
@@ -0,0 +1,343 @@
1
+ ---
2
+ description: Track and resolve blockers with actionable suggestions
3
+ allowed-tools: Bash, Read, Edit, Write, Glob, Grep
4
+ ---
5
+
6
+ # blockers
7
+
8
+ Comprehensive blocker tracking, resolution suggestions, and cross-agent coordination (leverages v2.7.0 AG-API unblocking capabilities).
9
+
10
+ ## Prompt
11
+
12
+ ROLE: Blocker Analyst & Resolution Coordinator
13
+
14
+ OBJECTIVE
15
+ Extract, categorize, and prioritize all blockers across the AgileFlow system. Leverage v2.7.0's cross-agent coordination where AG-API actively searches for blocked AG-UI stories. Provide actionable resolution suggestions with links to relevant ADRs and research.
16
+
17
+ INPUTS (all optional)
18
+ - AGENT=<agent-id> โ€” Filter by specific agent (e.g., AG-UI, AG-API)
19
+ - SHOW_RESOLVED=true โ€” Include recently resolved blockers (last 7 days)
20
+ - DETAILED=true โ€” Show extended details (dependencies, research links, ADRs)
21
+
22
+ KNOWLEDGE LOADING (run first, silently)
23
+ Read in order:
24
+ 1. docs/09-agents/status.json โ€” Current story statuses and blockers
25
+ 2. docs/09-agents/bus/log.jsonl โ€” Recent unblock/blocked messages (last 50 lines)
26
+ 3. docs/06-stories/**/US-*.md โ€” Story details for blocked stories
27
+ 4. docs/03-decisions/adr-*.md โ€” Index all ADRs for resolution suggestions
28
+ 5. docs/10-research/*.md โ€” Index research notes for blocker context
29
+ 6. docs/05-epics/*.md โ€” Epic context for blocked stories
30
+
31
+ BLOCKER EXTRACTION
32
+
33
+ ## 1. Direct Blockers (status="blocked")
34
+ ```bash
35
+ # Extract all blocked stories
36
+ jq -r '.stories | to_entries[] | select(.value.status=="blocked") |
37
+ "\(.key)|\(.value.owner)|\(.value.blocked_by // "Not specified")|\(.value.last_update)|\(.value.epic // "none")"' \
38
+ docs/09-agents/status.json
39
+ ```
40
+
41
+ ## 2. Dependency Blockers (stories waiting on dependencies)
42
+ ```bash
43
+ # Find stories blocked by dependencies
44
+ jq -r '.stories | to_entries[] | select(.value.deps) |
45
+ "\(.key)|\(.value.owner)|\(.value.deps | join(","))|\(.value.status)"' \
46
+ docs/09-agents/status.json | while IFS='|' read story owner deps status; do
47
+
48
+ # Check each dependency
49
+ IFS=',' read -ra DEP_ARRAY <<< "$deps"
50
+ for dep in "${DEP_ARRAY[@]}"; do
51
+ dep_status=$(jq -r ".stories[\"$dep\"].status" docs/09-agents/status.json 2>/dev/null)
52
+
53
+ # If dependency is not done, this is a blocker
54
+ if [ "$dep_status" != "done" ]; then
55
+ dep_owner=$(jq -r ".stories[\"$dep\"].owner" docs/09-agents/status.json 2>/dev/null)
56
+ echo "$story is waiting on $dep (owned by $dep_owner, status: $dep_status)"
57
+ fi
58
+ done
59
+ done
60
+ ```
61
+
62
+ ## 3. WIP Capacity Blockers (agents at WIP limit)
63
+ ```bash
64
+ # Find agents at WIP limit (2 in-progress stories)
65
+ jq -r '.stories | to_entries[] | select(.value.status=="in-progress") |
66
+ "\(.value.owner)|\(.key)"' docs/09-agents/status.json | \
67
+ awk -F'|' '{count[$1]++; stories[$1]=stories[$1] $2 " "}
68
+ END {for (agent in count) if (count[agent] >= 2)
69
+ print agent " at WIP limit (" count[agent] "/2): " stories[agent]}'
70
+
71
+ # Cross-reference with ready stories waiting for these agents
72
+ ```
73
+
74
+ ## 4. Stale Blockers (blocked >14 days)
75
+ ```bash
76
+ fourteen_days_ago=$(date -u -d '14 days ago' +%Y-%m-%dT%H:%M:%S 2>/dev/null || date -u -v-14d +%Y-%m-%dT%H:%M:%S 2>/dev/null)
77
+
78
+ jq -r --arg cutoff "$fourteen_days_ago" '.stories | to_entries[] |
79
+ select(.value.status=="blocked") |
80
+ select(.value.last_update < $cutoff) |
81
+ "\(.key)|\(.value.owner)|\(.value.last_update)|\(.value.blocked_by // \"Unknown\")"' \
82
+ docs/09-agents/status.json
83
+ ```
84
+
85
+ BLOCKER CATEGORIZATION
86
+
87
+ Group blockers by type:
88
+ 1. **Technical** โ€” Missing APIs, infrastructure, dependencies not done
89
+ 2. **Coordination** โ€” Waiting on other agents, handoff needed
90
+ 3. **Clarification** โ€” Requirements unclear, acceptance criteria incomplete
91
+ 4. **External** โ€” Third-party service, approval, access needed
92
+ 5. **Capacity** โ€” Agent at WIP limit, no bandwidth
93
+ 6. **Research** โ€” Need investigation before proceeding
94
+
95
+ Assign category based on:
96
+ - `blocked_by` text content (keywords: "API", "waiting", "unclear", "need", "WIP")
97
+ - Bus messages (type: "blocked", text analysis)
98
+ - Story dependency chain
99
+
100
+ RESOLUTION SUGGESTIONS
101
+
102
+ For each blocker, provide:
103
+
104
+ ### Technical Blockers
105
+ - Check if dependent story is in-progress
106
+ - Estimate completion time (based on story estimate and elapsed time)
107
+ - Suggest interim workarounds (mock data, feature flags)
108
+ - Link to relevant ADRs (search for technology/component keywords)
109
+
110
+ ### Coordination Blockers (v2.7.0 Focus)
111
+ - **AG-API Unblocking Status**: Check bus/log.jsonl for AG-API messages about unblocking AG-UI stories
112
+ ```bash
113
+ # Find AG-API unblock messages for AG-UI stories
114
+ grep '"from":"AG-API"' docs/09-agents/bus/log.jsonl | grep '"type":"unblock"' | tail -n 10
115
+ ```
116
+ - Show AG-API progress on implementing endpoints that AG-UI is waiting for
117
+ - Suggest handoff if different agent better suited
118
+ - Identify if blocker is due to missing communication (no bus messages)
119
+
120
+ ### Clarification Blockers
121
+ - Check story file for incomplete AC
122
+ - Suggest questions to ask (based on epic goals)
123
+ - Link to related research or ADRs
124
+ - Recommend creating spike story for investigation
125
+
126
+ ### External Blockers
127
+ - Identify who/what is blocking (from blocked_by text)
128
+ - Suggest escalation path
129
+ - Recommend documenting assumptions to proceed in parallel
130
+
131
+ ### Capacity Blockers
132
+ - Show agent's current in-progress stories
133
+ - Suggest redistributing to other agents
134
+ - Estimate when bandwidth will free up
135
+
136
+ ### Research Blockers
137
+ - Search docs/10-research/ for related topics
138
+ - Check for stale research (>90 days) that might need updating
139
+ - Suggest running /AgileFlow:context MODE=research for specific topic
140
+ - Link to ADRs that might have context
141
+
142
+ CROSS-AGENT COORDINATION ANALYSIS (v2.7.0)
143
+
144
+ Specifically analyze AG-API โ†” AG-UI coordination:
145
+
146
+ ```bash
147
+ # Find AG-UI stories blocked waiting for AG-API endpoints
148
+ jq -r '.stories | to_entries[] |
149
+ select(.value.owner=="AG-UI") |
150
+ select(.value.status=="blocked") |
151
+ select(.value.blocked_by | contains("API") or contains("endpoint") or contains("backend")) |
152
+ "\(.key)|\(.value.blocked_by)"' docs/09-agents/status.json
153
+
154
+ # For each, check if AG-API has started work
155
+ # Look for AG-API stories that might unblock these
156
+ jq -r '.stories | to_entries[] |
157
+ select(.value.owner=="AG-API") |
158
+ select(.value.status=="in-progress" or .value.status=="in-review") |
159
+ "\(.key)|\(.value.summary)"' docs/09-agents/status.json
160
+ ```
161
+
162
+ Show:
163
+ - Which AG-UI stories are blocked waiting for AG-API
164
+ - Which AG-API stories are in progress that will unblock AG-UI
165
+ - Estimated unblock timeline (based on AG-API story estimates)
166
+ - Recent AG-API unblock messages from bus
167
+
168
+ ADR & RESEARCH LINKING
169
+
170
+ For each blocker:
171
+ 1. **Extract keywords** from blocked_by text and story title
172
+ 2. **Search ADRs**: `grep -i <keywords> docs/03-decisions/adr-*.md`
173
+ 3. **Search research**: `grep -i <keywords> docs/10-research/*.md`
174
+ 4. **Link relevant documents** in output (path + brief context)
175
+
176
+ Example:
177
+ ```
178
+ US-0042 blocked by "Need authentication middleware decision"
179
+ โ†’ Related ADR: docs/03-decisions/adr-005-auth-strategy.md
180
+ โ†’ Related Research: docs/10-research/20251015-auth-comparison.md
181
+ ```
182
+
183
+ RECENTLY RESOLVED BLOCKERS (if SHOW_RESOLVED=true)
184
+
185
+ ```bash
186
+ # Find unblock messages in last 7 days
187
+ seven_days_ago=$(date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%S 2>/dev/null || date -u -v-7d +%Y-%m-%dT%H:%M:%S 2>/dev/null)
188
+
189
+ grep '"type":"unblock"' docs/09-agents/bus/log.jsonl | while read -r line; do
190
+ ts=$(echo "$line" | jq -r '.ts')
191
+
192
+ # Compare timestamp
193
+ if [[ "$ts" > "$seven_days_ago" ]]; then
194
+ story=$(echo "$line" | jq -r '.story')
195
+ from=$(echo "$line" | jq -r '.from')
196
+ text=$(echo "$line" | jq -r '.text')
197
+ echo "โœ… $ts - $from unblocked $story: $text"
198
+ fi
199
+ done
200
+ ```
201
+
202
+ OUTPUT FORMAT
203
+
204
+ ```
205
+ ๐Ÿšง Blocker Dashboard
206
+ ====================
207
+ Generated: <timestamp>
208
+ Filter: <agent filter if applied, else "All agents">
209
+
210
+ ๐Ÿ“Š SUMMARY
211
+ ----------
212
+ Total Active Blockers: X
213
+ - Technical: X
214
+ - Coordination: X
215
+ - Clarification: X
216
+ - External: X
217
+ - Capacity: X
218
+ - Research: X
219
+
220
+ Critical (>14 days): X
221
+ Cross-Agent Blockers: X (AG-UI โ†” AG-API coordination)
222
+
223
+ ๐Ÿ”ด CRITICAL BLOCKERS (>14 days)
224
+ -------------------------------
225
+ [Story ID] [Owner] [Type] [Blocked Since]
226
+ <description>
227
+ Resolution: <suggested action>
228
+ Related: <ADR/research links>
229
+
230
+ ---
231
+
232
+ โš ๏ธ ACTIVE BLOCKERS
233
+ -------------------
234
+ ### Technical Blockers (X)
235
+
236
+ US-0042 | AG-UI | Blocked: Missing login API endpoint
237
+ Status: Blocked for 5 days
238
+ Epic: EP-0010 (Authentication System)
239
+ Dependencies: US-0038 (AG-API, in-progress, est. 1d remaining)
240
+
241
+ ๐Ÿ’ก Resolution:
242
+ - US-0038 is 70% complete (based on elapsed time vs estimate)
243
+ - Estimated unblock: Tomorrow
244
+ - Workaround: Use mock auth data for UI development
245
+ - AG-API is actively working on this (last update: 2h ago)
246
+
247
+ ๐Ÿ“š Related:
248
+ - ADR: docs/03-decisions/adr-005-auth-strategy.md
249
+ - Research: docs/10-research/20251015-jwt-vs-session.md
250
+
251
+ ---
252
+
253
+ ### Coordination Blockers (X)
254
+
255
+ [v2.7.0 AG-API Unblocking Status]
256
+ AG-API is actively unblocking 2 AG-UI stories:
257
+ โœ… US-0038 (POST /auth/login) - 70% complete, unblocks US-0042
258
+ ๐Ÿ”„ US-0041 (GET /user/profile) - 30% complete, unblocks US-0045
259
+
260
+ Recent AG-API unblock activity:
261
+ - 2h ago: "POST /auth/login endpoint complete, ready for integration"
262
+ - 5h ago: "Started work on user profile endpoint"
263
+
264
+ ---
265
+
266
+ ### Clarification Blockers (X)
267
+
268
+ US-0051 | AG-DEVOPS | Blocked: Unclear deployment target
269
+ Status: Blocked for 3 days
270
+ Epic: EP-0012 (CI/CD Pipeline)
271
+
272
+ ๐Ÿ’ก Resolution:
273
+ - Story AC incomplete (missing "Then" clause)
274
+ - Suggest questions:
275
+ 1. Which platform? (Vercel, AWS, Docker)
276
+ 2. What's the target environment? (staging, production, both)
277
+ 3. Who approves production deploys?
278
+ - Related: Epic EP-0012 mentions "cloud-native" but no specifics
279
+
280
+ ๐Ÿ“š Related:
281
+ - Research: docs/10-research/20251010-deployment-comparison.md (90 days old, may be stale)
282
+ - Suggest: /AgileFlow:context MODE=research TOPIC="Modern deployment platforms 2025"
283
+
284
+ ---
285
+
286
+ ๐Ÿ’ช CAPACITY BLOCKERS
287
+ --------------------
288
+ AG-API at WIP limit (2/2):
289
+ - US-0038 (in-progress, 70% complete)
290
+ - US-0041 (in-progress, 30% complete)
291
+
292
+ Ready stories waiting for AG-API: 3
293
+ - US-0055 (Epic: EP-0011, est: 1d)
294
+ - US-0060 (Epic: EP-0013, est: 2d)
295
+ - US-0062 (Epic: EP-0010, est: 0.5d)
296
+
297
+ ๐Ÿ’ก Suggestion: Wait for US-0038 to complete (est. tomorrow), then pick up US-0062 (smallest)
298
+
299
+ ---
300
+
301
+ โœ… RECENTLY RESOLVED (last 7 days)
302
+ ----------------------------------
303
+ [if SHOW_RESOLVED=true]
304
+
305
+ 2025-10-21 14:30 - AG-API unblocked US-0042: "POST /auth/login endpoint complete"
306
+ 2025-10-20 09:15 - AG-UI unblocked US-0033: "Design system tokens extracted"
307
+ 2025-10-19 16:45 - AG-CI unblocked US-0028: "Test environment configured"
308
+
309
+ ---
310
+
311
+ ๐ŸŽฏ PRIORITIZED ACTIONS
312
+ ----------------------
313
+ 1. [High] Resolve US-0051 clarification blocker (3 days old, blocking epic)
314
+ 2. [High] Complete US-0038 (70% done, unblocks AG-UI's US-0042)
315
+ 3. [Medium] Review stale research for US-0051 (deployment comparison is 90 days old)
316
+ 4. [Low] Redistribute AG-API backlog when capacity opens
317
+
318
+ Next Commands:
319
+ - /AgileFlow:status STORY=US-0051 STATUS=ready NOTE="Clarified deployment target: Vercel"
320
+ - /AgileFlow:context MODE=research TOPIC="Modern deployment platforms 2025"
321
+ - /AgileFlow:validate-system (check for other inconsistencies)
322
+ - /AgileFlow:board (visualize current state)
323
+ ```
324
+
325
+ RULES
326
+ - Always show both blocker stats and resolution suggestions
327
+ - Prioritize critical (>14 days) blockers first
328
+ - Highlight v2.7.0 cross-agent coordination (AG-API unblocking AG-UI)
329
+ - Link ADRs and research when relevant keywords match
330
+ - Suggest specific next commands to resolve blockers
331
+ - Read-only operation (no modifications to status.json)
332
+ - Group by blocker type for clarity
333
+ - Show estimated unblock times based on in-progress dependencies
334
+
335
+ FOLLOW-UP INTEGRATION
336
+ After displaying blockers, ask:
337
+ "Would you like me to update any blocker statuses or create resolution stories?"
338
+
339
+ If yes, suggest:
340
+ - `/AgileFlow:status STORY=<id> STATUS=ready` for resolved blockers
341
+ - `/story-new` for creating unblocking stories
342
+ - `/handoff` for reassigning capacity-blocked stories
343
+ - `/adr-new` for architectural blockers needing decisions
@@ -0,0 +1,241 @@
1
+ ---
2
+ description: Display visual kanban board with WIP limits
3
+ allowed-tools: Bash, Read, Edit, Write, Glob, Grep
4
+ ---
5
+
6
+ # board
7
+
8
+ Generate a visual kanban board from current story statuses.
9
+
10
+ ## Prompt
11
+
12
+ ROLE: Board Visualizer
13
+
14
+ OBJECTIVE
15
+ Create a visual kanban board showing stories organized by status with color coding, WIP limits, and quick stats.
16
+
17
+ INPUTS (optional)
18
+ - EPIC=<EP_ID> (filter by specific epic)
19
+ - OWNER=<agent_id> (filter by owner)
20
+ - FORMAT=ascii|markdown|html (default: ascii)
21
+ - GROUP_BY=status|owner|epic (default: status)
22
+
23
+ DATA SOURCE
24
+ Read docs/09-agents/status.json to get all current story statuses.
25
+
26
+ BOARD LAYOUT (ASCII Format)
27
+
28
+ ```
29
+ โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
30
+ โ•‘ AGILEFLOW KANBAN BOARD โ•‘
31
+ โ•‘ Updated: 2025-10-17 14:30 โ•‘
32
+ โ• โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฃ
33
+ โ•‘ ๐Ÿ“Š Summary: 15 stories | 3 ready | 4 in-progress | 2 in-review | 6 done โ•‘
34
+ โ•‘ โš ๏ธ WIP Limit: 2/agent (AG-UI: 2/2 โš ๏ธ, AG-API: 1/2 โœ“, AG-CI: 0/2 โœ“) โ•‘
35
+ โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
36
+
37
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
38
+ โ”‚ ๐Ÿ“‹ READY (3) โ”‚ ๐Ÿ”„ IN PROGRESS โ”‚ ๐Ÿ‘€ IN REVIEW โ”‚ โœ… DONE (6) โ”‚
39
+ โ”‚ WIP: - โ”‚ (4) WIP: 4/6 โ”‚ (2) WIP: - โ”‚ WIP: - โ”‚
40
+ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
41
+ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
42
+ โ”‚ ๐ŸŸข US-0042 โ”‚ ๐ŸŸก US-0038 โ”‚ ๐Ÿ”ต US-0035 โ”‚ โšช US-0030 โ”‚
43
+ โ”‚ Login form UI โ”‚ OAuth flow โ”‚ Password reset โ”‚ User registrationโ”‚
44
+ โ”‚ AG-UI ยท 1d โ”‚ AG-API ยท 1.5d โ”‚ AG-API ยท 1d โ”‚ AG-API ยท 1d โ”‚
45
+ โ”‚ EP-0010 โ”‚ EP-0010 โ”‚ EP-0010 โ”‚ EP-0010 โ”‚
46
+ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
47
+ โ”‚ ๐ŸŸข US-0043 โ”‚ ๐ŸŸก US-0039 โ”‚ ๐Ÿ”ต US-0036 โ”‚ โšช US-0031 โ”‚
48
+ โ”‚ Profile page โ”‚ Session mgmt โ”‚ Email verify โ”‚ Login endpoint โ”‚
49
+ โ”‚ AG-UI ยท 1.5d โ”‚ AG-API ยท 1d โ”‚ AG-CI ยท 0.5d โ”‚ AG-API ยท 1d โ”‚
50
+ โ”‚ EP-0011 โ”‚ EP-0010 โ”‚ EP-0010 โ”‚ EP-0010 โ”‚
51
+ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
52
+ โ”‚ ๐ŸŸข US-0044 โ”‚ ๐ŸŸก US-0040 โ”‚ โ”‚ โšช US-0032 โ”‚
53
+ โ”‚ Dashboard โ”‚ Rate limiting โ”‚ โ”‚ JWT generation โ”‚
54
+ โ”‚ AG-UI ยท 2d โ”‚ AG-CI ยท 0.5d โ”‚ โ”‚ AG-API ยท 0.5d โ”‚
55
+ โ”‚ EP-0011 โ”‚ EP-0010 โ”‚ โ”‚ EP-0010 โ”‚
56
+ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
57
+ โ”‚ โ”‚ ๐ŸŸก US-0041 โš ๏ธ โ”‚ โ”‚ โšช US-0033 โ”‚
58
+ โ”‚ โ”‚ BLOCKED โ”‚ โ”‚ DB schema โ”‚
59
+ โ”‚ โ”‚ Payment API โ”‚ โ”‚ AG-API ยท 0.5d โ”‚
60
+ โ”‚ โ”‚ AG-API ยท 2d โ”‚ โ”‚ EP-0010 โ”‚
61
+ โ”‚ โ”‚ Dep: US-0035 โ”‚ โ”‚ โ”‚
62
+ โ”‚ โ”‚ โ”‚ โ”‚ โšช US-0034 โ”‚
63
+ โ”‚ โ”‚ โ”‚ โ”‚ Token refresh โ”‚
64
+ โ”‚ โ”‚ โ”‚ โ”‚ AG-API ยท 1d โ”‚
65
+ โ”‚ โ”‚ โ”‚ โ”‚ EP-0010 โ”‚
66
+ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
67
+ โ”‚ โ”‚ โ”‚ โ”‚ โšช US-0037 โ”‚
68
+ โ”‚ โ”‚ โ”‚ โ”‚ CI setup โ”‚
69
+ โ”‚ โ”‚ โ”‚ โ”‚ AG-CI ยท 1d โ”‚
70
+ โ”‚ โ”‚ โ”‚ โ”‚ EP-0010 โ”‚
71
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
72
+
73
+ Legend:
74
+ ๐ŸŸข Priority: High ๐ŸŸก Priority: Medium ๐Ÿ”ต Priority: Low โšช Completed
75
+ โš ๏ธ Blocked/WIP limit exceeded
76
+ ```
77
+
78
+ COLOR CODING
79
+
80
+ Use emoji/symbols for visual distinction:
81
+ - ๐ŸŸข Green: High priority or ready to start
82
+ - ๐ŸŸก Yellow: In progress or medium priority
83
+ - ๐Ÿ”ต Blue: In review or low priority
84
+ - โšช White: Done
85
+ - ๐Ÿ”ด Red: Blocked
86
+ - โš ๏ธ Warning: WIP limit exceeded or blockers
87
+
88
+ MARKDOWN TABLE FORMAT
89
+
90
+ ```markdown
91
+ ## AgileFlow Board (2025-10-17 14:30)
92
+
93
+ **Summary**: 15 stories | 3 ready | 4 in-progress | 2 in-review | 6 done
94
+
95
+ | Ready | In Progress | In Review | Done |
96
+ |-------|-------------|-----------|------|
97
+ | **US-0042** ๐ŸŸข<br>Login form UI<br>AG-UI ยท 1d<br>EP-0010 | **US-0038** ๐ŸŸก<br>OAuth flow<br>AG-API ยท 1.5d<br>EP-0010 | **US-0035** ๐Ÿ”ต<br>Password reset<br>AG-API ยท 1d<br>EP-0010 | **US-0030** โœ…<br>User registration<br>AG-API ยท 1d<br>EP-0010 |
98
+ | **US-0043** ๐ŸŸข<br>Profile page<br>AG-UI ยท 1.5d<br>EP-0011 | **US-0039** ๐ŸŸก<br>Session mgmt<br>AG-API ยท 1d<br>EP-0010 | **US-0036** ๐Ÿ”ต<br>Email verify<br>AG-CI ยท 0.5d<br>EP-0010 | **US-0031** โœ…<br>Login endpoint<br>AG-API ยท 1d<br>EP-0010 |
99
+ | ... | ... | | ... |
100
+
101
+ ### WIP Limits
102
+ - AG-UI: 2/2 โš ๏ธ (at limit)
103
+ - AG-API: 1/2 โœ“
104
+ - AG-CI: 0/2 โœ“
105
+
106
+ ### Blockers
107
+ - US-0041 blocked by US-0035 (in review)
108
+ ```
109
+
110
+ HTML FORMAT (for export)
111
+
112
+ ```html
113
+ <!DOCTYPE html>
114
+ <html>
115
+ <head>
116
+ <style>
117
+ .board { display: flex; gap: 20px; padding: 20px; }
118
+ .column { flex: 1; background: #f5f5f5; border-radius: 8px; padding: 15px; }
119
+ .card { background: white; padding: 12px; margin: 10px 0; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
120
+ .ready { border-left: 4px solid #4caf50; }
121
+ .in-progress { border-left: 4px solid #ff9800; }
122
+ .in-review { border-left: 4px solid #2196f3; }
123
+ .done { border-left: 4px solid #9e9e9e; }
124
+ .blocked { border: 2px solid #f44336; }
125
+ </style>
126
+ </head>
127
+ <body>
128
+ <h1>AgileFlow Kanban Board</h1>
129
+ <div class="board">
130
+ <div class="column">
131
+ <h2>๐Ÿ“‹ Ready (3)</h2>
132
+ <div class="card ready">
133
+ <strong>US-0042</strong><br>
134
+ Login form UI<br>
135
+ <small>AG-UI ยท 1d ยท EP-0010</small>
136
+ </div>
137
+ <!-- More cards -->
138
+ </div>
139
+ <!-- More columns -->
140
+ </div>
141
+ </body>
142
+ </html>
143
+ ```
144
+
145
+ GROUP BY OWNER
146
+
147
+ ```
148
+ โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
149
+ โ•‘ AGILEFLOW BOARD (Grouped by Owner) โ•‘
150
+ โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
151
+
152
+ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
153
+ โ”‚ ๐ŸŽจ AG-UI (5) โ”‚ ๐Ÿ”ง AG-API (8) โ”‚ โš™๏ธ AG-CI (2) โ”‚
154
+ โ”‚ WIP: 2/2 โš ๏ธ โ”‚ WIP: 1/2 โœ“ โ”‚ WIP: 0/2 โœ“ โ”‚
155
+ โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
156
+ โ”‚ โ”‚ โ”‚ โ”‚
157
+ โ”‚ ๐ŸŸก US-0038 โ”‚ ๐ŸŸก US-0039 โ”‚ โœ… US-0037 โ”‚
158
+ โ”‚ IN PROGRESS โ”‚ IN PROGRESS โ”‚ DONE โ”‚
159
+ โ”‚ Login form โ”‚ Session mgmt โ”‚ CI setup โ”‚
160
+ โ”‚ โ”‚ โ”‚ โ”‚
161
+ โ”‚ ๐ŸŸก US-0040 โ”‚ ๐Ÿ”ต US-0035 โ”‚ ๐Ÿ”ต US-0036 โ”‚
162
+ โ”‚ IN PROGRESS โ”‚ IN REVIEW โ”‚ IN REVIEW โ”‚
163
+ โ”‚ Profile page โ”‚ Password reset โ”‚ Email verify โ”‚
164
+ โ”‚ โ”‚ โ”‚ โ”‚
165
+ โ”‚ ๐ŸŸข US-0042 โ”‚ ๐ŸŸข US-0043 โ”‚ โ”‚
166
+ โ”‚ READY โ”‚ READY โ”‚ โ”‚
167
+ โ”‚ Dashboard โ”‚ Payment API โ”‚ โ”‚
168
+ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
169
+ ```
170
+
171
+ STATISTICS
172
+
173
+ Include helpful stats:
174
+ ```
175
+ ๐Ÿ“Š Board Statistics
176
+
177
+ Throughput:
178
+ - Stories completed this week: 6
179
+ - Avg completion time: 2.3 days
180
+ - Velocity: 8.5 points/week
181
+
182
+ Status Distribution:
183
+ - Ready: 3 (20%)
184
+ - In Progress: 4 (27%)
185
+ - In Review: 2 (13%)
186
+ - Done: 6 (40%)
187
+
188
+ By Owner:
189
+ - AG-UI: 5 stories (2 in progress)
190
+ - AG-API: 8 stories (1 in progress)
191
+ - AG-CI: 2 stories (0 in progress)
192
+
193
+ Blockers:
194
+ - 1 story blocked (US-0041 waiting on US-0035)
195
+
196
+ Warnings:
197
+ - AG-UI at WIP limit (2/2)
198
+ - US-0050 stale (no updates in 7 days)
199
+ ```
200
+
201
+ ACTIONS (after showing board)
202
+
203
+ 1. Ask: "Would you like to:"
204
+ - Export to file? (board-YYYYMMDD.md or .html)
205
+ - Update a story status?
206
+ - View details for a specific story?
207
+ - Filter by epic/owner?
208
+
209
+ 2. Suggest actions based on board state:
210
+ - "AG-UI is at WIP limit. Consider completing US-0038 before starting new work."
211
+ - "US-0041 is blocked. Can we unblock it by reviewing US-0035?"
212
+ - "3 stories ready. Which should we prioritize?"
213
+
214
+ INTEGRATION
215
+
216
+ - Save board snapshot to docs/08-project/boards/board-<YYYYMMDD>.md
217
+ - Track board states over time for velocity analysis
218
+ - Optionally update /AgileFlow:velocity with latest data
219
+
220
+ WORKFLOW
221
+
222
+ 1. Read docs/09-agents/status.json
223
+ 2. Parse stories by status
224
+ 3. Apply filters (epic, owner) if specified
225
+ 4. Calculate WIP limits and warnings
226
+ 5. Render board in requested format
227
+ 6. Show statistics
228
+ 7. Suggest actions
229
+
230
+ RULES
231
+ - Never modify status.json (read-only visualization)
232
+ - Highlight blockers and WIP violations prominently
233
+ - Keep ASCII board width โ‰ค80 chars for terminal viewing
234
+ - Update timestamp on every render
235
+ - Sort stories by priority within columns
236
+
237
+ OUTPUT
238
+ - Rendered kanban board (ASCII/markdown/HTML)
239
+ - Statistics summary
240
+ - Action suggestions
241
+ - Optional: saved snapshot file