--- description: board allowed-tools: Bash, Read, Edit, Write, Glob, Grep --- # board Generate a visual kanban board from current story statuses. ## Prompt ROLE: Board Visualizer OBJECTIVE Create a visual kanban board showing stories organized by status with color coding, WIP limits, and quick stats. INPUTS (optional) - EPIC= (filter by specific epic) - OWNER= (filter by owner) - FORMAT=ascii|markdown|html (default: ascii) - GROUP_BY=status|owner|epic (default: status) DATA SOURCE Read docs/09-agents/status.json to get all current story statuses. BOARD LAYOUT (ASCII Format) ``` ╔══════════════════════════════════════════════════════════════════════════════╗ ║ AGILEFLOW KANBAN BOARD ║ ║ Updated: 2025-10-17 14:30 ║ ╠══════════════════════════════════════════════════════════════════════════════╣ ║ 📊 Summary: 15 stories | 3 ready | 4 in-progress | 2 in-review | 6 done ║ ║ ⚠️ WIP Limit: 2/agent (AG-UI: 2/2 ⚠️, AG-API: 1/2 ✓, AG-CI: 0/2 ✓) ║ ╚══════════════════════════════════════════════════════════════════════════════╝ ┌─────────────────┬─────────────────┬─────────────────┬─────────────────┐ │ 📋 READY (3) │ 🔄 IN PROGRESS │ 👀 IN REVIEW │ ✅ DONE (6) │ │ WIP: - │ (4) WIP: 4/6 │ (2) WIP: - │ WIP: - │ ├─────────────────┼─────────────────┼─────────────────┼─────────────────┤ │ │ │ │ │ │ 🟢 US-0042 │ 🟡 US-0038 │ 🔵 US-0035 │ ⚪ US-0030 │ │ Login form UI │ OAuth flow │ Password reset │ User registration│ │ AG-UI · 1d │ AG-API · 1.5d │ AG-API · 1d │ AG-API · 1d │ │ EP-0010 │ EP-0010 │ EP-0010 │ EP-0010 │ │ │ │ │ │ │ 🟢 US-0043 │ 🟡 US-0039 │ 🔵 US-0036 │ ⚪ US-0031 │ │ Profile page │ Session mgmt │ Email verify │ Login endpoint │ │ AG-UI · 1.5d │ AG-API · 1d │ AG-CI · 0.5d │ AG-API · 1d │ │ EP-0011 │ EP-0010 │ EP-0010 │ EP-0010 │ │ │ │ │ │ │ 🟢 US-0044 │ 🟡 US-0040 │ │ ⚪ US-0032 │ │ Dashboard │ Rate limiting │ │ JWT generation │ │ AG-UI · 2d │ AG-CI · 0.5d │ │ AG-API · 0.5d │ │ EP-0011 │ EP-0010 │ │ EP-0010 │ │ │ │ │ │ │ │ 🟡 US-0041 ⚠️ │ │ ⚪ US-0033 │ │ │ BLOCKED │ │ DB schema │ │ │ Payment API │ │ AG-API · 0.5d │ │ │ AG-API · 2d │ │ EP-0010 │ │ │ Dep: US-0035 │ │ │ │ │ │ │ ⚪ US-0034 │ │ │ │ │ Token refresh │ │ │ │ │ AG-API · 1d │ │ │ │ │ EP-0010 │ │ │ │ │ │ │ │ │ │ ⚪ US-0037 │ │ │ │ │ CI setup │ │ │ │ │ AG-CI · 1d │ │ │ │ │ EP-0010 │ └─────────────────┴─────────────────┴─────────────────┴─────────────────┘ Legend: 🟢 Priority: High 🟡 Priority: Medium 🔵 Priority: Low ⚪ Completed ⚠️ Blocked/WIP limit exceeded ``` COLOR CODING Use emoji/symbols for visual distinction: - 🟢 Green: High priority or ready to start - 🟡 Yellow: In progress or medium priority - 🔵 Blue: In review or low priority - ⚪ White: Done - 🔴 Red: Blocked - ⚠️ Warning: WIP limit exceeded or blockers MARKDOWN TABLE FORMAT ```markdown ## AgileFlow Board (2025-10-17 14:30) **Summary**: 15 stories | 3 ready | 4 in-progress | 2 in-review | 6 done | Ready | In Progress | In Review | Done | |-------|-------------|-----------|------| | **US-0042** 🟢
Login form UI
AG-UI · 1d
EP-0010 | **US-0038** 🟡
OAuth flow
AG-API · 1.5d
EP-0010 | **US-0035** 🔵
Password reset
AG-API · 1d
EP-0010 | **US-0030** ✅
User registration
AG-API · 1d
EP-0010 | | **US-0043** 🟢
Profile page
AG-UI · 1.5d
EP-0011 | **US-0039** 🟡
Session mgmt
AG-API · 1d
EP-0010 | **US-0036** 🔵
Email verify
AG-CI · 0.5d
EP-0010 | **US-0031** ✅
Login endpoint
AG-API · 1d
EP-0010 | | ... | ... | | ... | ### WIP Limits - AG-UI: 2/2 ⚠️ (at limit) - AG-API: 1/2 ✓ - AG-CI: 0/2 ✓ ### Blockers - US-0041 blocked by US-0035 (in review) ``` HTML FORMAT (for export) ```html

AgileFlow Kanban Board

📋 Ready (3)

US-0042
Login form UI
AG-UI · 1d · EP-0010
``` GROUP BY OWNER ``` ╔══════════════════════════════════════════════════════════════════════════════╗ ║ AGILEFLOW BOARD (Grouped by Owner) ║ ╚══════════════════════════════════════════════════════════════════════════════╝ ┌─────────────────┬─────────────────┬─────────────────┐ │ 🎨 AG-UI (5) │ 🔧 AG-API (8) │ ⚙️ AG-CI (2) │ │ WIP: 2/2 ⚠️ │ WIP: 1/2 ✓ │ WIP: 0/2 ✓ │ ├─────────────────┼─────────────────┼─────────────────┤ │ │ │ │ │ 🟡 US-0038 │ 🟡 US-0039 │ ✅ US-0037 │ │ IN PROGRESS │ IN PROGRESS │ DONE │ │ Login form │ Session mgmt │ CI setup │ │ │ │ │ │ 🟡 US-0040 │ 🔵 US-0035 │ 🔵 US-0036 │ │ IN PROGRESS │ IN REVIEW │ IN REVIEW │ │ Profile page │ Password reset │ Email verify │ │ │ │ │ │ 🟢 US-0042 │ 🟢 US-0043 │ │ │ READY │ READY │ │ │ Dashboard │ Payment API │ │ └─────────────────┴─────────────────┴─────────────────┘ ``` STATISTICS Include helpful stats: ``` 📊 Board Statistics Throughput: - Stories completed this week: 6 - Avg completion time: 2.3 days - Velocity: 8.5 points/week Status Distribution: - Ready: 3 (20%) - In Progress: 4 (27%) - In Review: 2 (13%) - Done: 6 (40%) By Owner: - AG-UI: 5 stories (2 in progress) - AG-API: 8 stories (1 in progress) - AG-CI: 2 stories (0 in progress) Blockers: - 1 story blocked (US-0041 waiting on US-0035) Warnings: - AG-UI at WIP limit (2/2) - US-0050 stale (no updates in 7 days) ``` ACTIONS (after showing board) 1. Ask: "Would you like to:" - Export to file? (board-YYYYMMDD.md or .html) - Update a story status? - View details for a specific story? - Filter by epic/owner? 2. Suggest actions based on board state: - "AG-UI is at WIP limit. Consider completing US-0038 before starting new work." - "US-0041 is blocked. Can we unblock it by reviewing US-0035?" - "3 stories ready. Which should we prioritize?" INTEGRATION - Save board snapshot to docs/08-project/boards/board-.md - Track board states over time for velocity analysis - Optionally update /AgileFlow:velocity with latest data WORKFLOW 1. Read docs/09-agents/status.json 2. Parse stories by status 3. Apply filters (epic, owner) if specified 4. Calculate WIP limits and warnings 5. Render board in requested format 6. Show statistics 7. Suggest actions RULES - Never modify status.json (read-only visualization) - Highlight blockers and WIP violations prominently - Keep ASCII board width ≤80 chars for terminal viewing - Update timestamp on every render - Sort stories by priority within columns OUTPUT - Rendered kanban board (ASCII/markdown/HTML) - Statistics summary - Action suggestions - Optional: saved snapshot file