agileflow 2.77.0 → 2.79.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 +6 -6
- package/package.json +6 -1
- package/scripts/agileflow-configure.js +174 -2
- package/scripts/agileflow-statusline.sh +171 -78
- package/scripts/agileflow-welcome.js +88 -64
- package/scripts/auto-self-improve.js +23 -45
- package/scripts/check-update.js +35 -42
- package/scripts/damage-control/bash-tool-damage-control.js +257 -0
- package/scripts/damage-control/edit-tool-damage-control.js +279 -0
- package/scripts/damage-control/patterns.yaml +227 -0
- package/scripts/damage-control/write-tool-damage-control.js +274 -0
- package/scripts/damage-control-bash.js +232 -0
- package/scripts/damage-control-edit.js +243 -0
- package/scripts/damage-control-write.js +243 -0
- package/scripts/obtain-context.js +22 -3
- package/scripts/ralph-loop.js +191 -63
- package/scripts/screenshot-verifier.js +213 -0
- package/scripts/session-manager.js +12 -33
- package/src/core/agents/accessibility.md +124 -53
- package/src/core/agents/adr-writer.md +192 -52
- package/src/core/agents/analytics.md +139 -60
- package/src/core/agents/api.md +173 -63
- package/src/core/agents/ci.md +139 -57
- package/src/core/agents/compliance.md +159 -68
- package/src/core/agents/configuration/damage-control.md +356 -0
- package/src/core/agents/configuration-damage-control.md +248 -0
- package/src/core/agents/database.md +162 -61
- package/src/core/agents/datamigration.md +179 -66
- package/src/core/agents/design.md +179 -57
- package/src/core/agents/devops.md +160 -3
- package/src/core/agents/documentation.md +204 -60
- package/src/core/agents/epic-planner.md +147 -55
- package/src/core/agents/integrations.md +197 -69
- package/src/core/agents/mentor.md +158 -57
- package/src/core/agents/mobile.md +159 -67
- package/src/core/agents/monitoring.md +154 -65
- package/src/core/agents/multi-expert.md +115 -43
- package/src/core/agents/orchestrator.md +77 -24
- package/src/core/agents/performance.md +130 -75
- package/src/core/agents/product.md +151 -55
- package/src/core/agents/qa.md +162 -74
- package/src/core/agents/readme-updater.md +178 -76
- package/src/core/agents/refactor.md +148 -95
- package/src/core/agents/research.md +143 -72
- package/src/core/agents/security.md +154 -65
- package/src/core/agents/testing.md +176 -97
- package/src/core/agents/ui.md +170 -79
- package/src/core/commands/adr/list.md +171 -0
- package/src/core/commands/adr/update.md +235 -0
- package/src/core/commands/adr/view.md +252 -0
- package/src/core/commands/adr.md +207 -50
- package/src/core/commands/agent.md +16 -0
- package/src/core/commands/assign.md +148 -44
- package/src/core/commands/auto.md +18 -1
- package/src/core/commands/babysit.md +391 -38
- package/src/core/commands/baseline.md +14 -0
- package/src/core/commands/blockers.md +170 -51
- package/src/core/commands/board.md +144 -66
- package/src/core/commands/changelog.md +15 -0
- package/src/core/commands/ci.md +179 -69
- package/src/core/commands/compress.md +18 -0
- package/src/core/commands/configure.md +16 -0
- package/src/core/commands/context/export.md +193 -4
- package/src/core/commands/context/full.md +191 -18
- package/src/core/commands/context/note.md +248 -4
- package/src/core/commands/debt.md +17 -0
- package/src/core/commands/deploy.md +208 -65
- package/src/core/commands/deps.md +15 -0
- package/src/core/commands/diagnose.md +16 -0
- package/src/core/commands/docs.md +196 -64
- package/src/core/commands/epic/list.md +170 -0
- package/src/core/commands/epic/view.md +242 -0
- package/src/core/commands/epic.md +192 -69
- package/src/core/commands/feedback.md +191 -71
- package/src/core/commands/handoff.md +162 -48
- package/src/core/commands/help.md +9 -0
- package/src/core/commands/ideate.md +446 -0
- package/src/core/commands/impact.md +16 -0
- package/src/core/commands/metrics.md +141 -37
- package/src/core/commands/multi-expert.md +77 -0
- package/src/core/commands/packages.md +16 -0
- package/src/core/commands/pr.md +161 -67
- package/src/core/commands/readme-sync.md +16 -0
- package/src/core/commands/research/analyze.md +568 -0
- package/src/core/commands/research/ask.md +345 -20
- package/src/core/commands/research/import.md +562 -19
- package/src/core/commands/research/list.md +173 -5
- package/src/core/commands/research/view.md +181 -8
- package/src/core/commands/retro.md +135 -48
- package/src/core/commands/review.md +219 -47
- package/src/core/commands/session/end.md +209 -0
- package/src/core/commands/session/history.md +210 -0
- package/src/core/commands/session/init.md +116 -0
- package/src/core/commands/session/new.md +296 -0
- package/src/core/commands/session/resume.md +166 -0
- package/src/core/commands/session/status.md +166 -0
- package/src/core/commands/setup/visual-e2e.md +462 -0
- package/src/core/commands/skill/create.md +115 -17
- package/src/core/commands/skill/delete.md +117 -0
- package/src/core/commands/skill/edit.md +104 -0
- package/src/core/commands/skill/list.md +128 -0
- package/src/core/commands/skill/test.md +135 -0
- package/src/core/commands/skill/upgrade.md +542 -0
- package/src/core/commands/sprint.md +17 -1
- package/src/core/commands/status.md +133 -21
- package/src/core/commands/story/list.md +176 -0
- package/src/core/commands/story/view.md +265 -0
- package/src/core/commands/story-validate.md +101 -1
- package/src/core/commands/story.md +204 -51
- package/src/core/commands/template.md +16 -1
- package/src/core/commands/tests.md +226 -64
- package/src/core/commands/update.md +17 -1
- package/src/core/commands/validate-expertise.md +16 -0
- package/src/core/commands/velocity.md +140 -36
- package/src/core/commands/verify.md +14 -0
- package/src/core/commands/whats-new.md +30 -0
- package/src/core/skills/_learnings/README.md +91 -0
- package/src/core/skills/_learnings/_template.yaml +106 -0
- package/src/core/skills/_learnings/code-review.yaml +118 -0
- package/src/core/skills/_learnings/commit.yaml +69 -0
- package/src/core/skills/_learnings/story-writer.yaml +71 -0
- package/src/core/templates/damage-control-patterns.yaml +234 -0
- package/src/core/templates/skill-template.md +53 -11
- package/tools/cli/commands/start.js +180 -0
- package/tools/cli/installers/ide/claude-code.js +127 -0
- package/tools/cli/tui/Dashboard.js +66 -0
- package/tools/cli/tui/StoryList.js +69 -0
- package/tools/cli/tui/index.js +16 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: List all epics with status and progress
|
|
3
|
+
argument-hint: [STATUS=<status>]
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /agileflow:epic:list
|
|
7
|
+
|
|
8
|
+
Display all epics with progress tracking and quick actions.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
Shows all epics from `docs/09-agents/status.json` with:
|
|
15
|
+
- Status (active, complete, on-hold)
|
|
16
|
+
- Story count and completion percentage
|
|
17
|
+
- Owner assignment
|
|
18
|
+
- Quick action options
|
|
19
|
+
|
|
20
|
+
**This is a read-only command** - no files are written.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
25
|
+
## Compact Summary
|
|
26
|
+
|
|
27
|
+
**Command**: `/agileflow:epic:list [STATUS=<status>]`
|
|
28
|
+
**Purpose**: Display epics with progress and offer quick actions
|
|
29
|
+
|
|
30
|
+
### Flow
|
|
31
|
+
1. Read status.json for epics
|
|
32
|
+
2. Calculate story progress for each epic
|
|
33
|
+
3. Display formatted table
|
|
34
|
+
4. Offer actions: view details, add story, create new
|
|
35
|
+
|
|
36
|
+
### Critical Rules
|
|
37
|
+
- **Read-only**: No file writes
|
|
38
|
+
- **Show progress**: Include story completion percentage
|
|
39
|
+
- **Always offer actions**: End with AskUserQuestion for next steps
|
|
40
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Arguments
|
|
45
|
+
|
|
46
|
+
| Argument | Required | Description |
|
|
47
|
+
|----------|----------|-------------|
|
|
48
|
+
| STATUS | No | Filter by status (active, complete, on-hold) |
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## IMMEDIATE ACTIONS
|
|
53
|
+
|
|
54
|
+
Upon invocation, execute these steps:
|
|
55
|
+
|
|
56
|
+
### Step 1: Read Status File
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
cat docs/09-agents/status.json
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Step 2: Calculate Progress
|
|
63
|
+
|
|
64
|
+
For each epic:
|
|
65
|
+
- Count total stories
|
|
66
|
+
- Count completed stories
|
|
67
|
+
- Calculate percentage
|
|
68
|
+
|
|
69
|
+
### Step 3: Apply Filters
|
|
70
|
+
|
|
71
|
+
If STATUS provided, show only epics with that status.
|
|
72
|
+
|
|
73
|
+
### Step 4: Display Epics
|
|
74
|
+
|
|
75
|
+
Format output as table sorted by status then number:
|
|
76
|
+
|
|
77
|
+
```markdown
|
|
78
|
+
## Epics
|
|
79
|
+
|
|
80
|
+
| Epic | Title | Status | Progress | Owner |
|
|
81
|
+
|------|-------|--------|----------|-------|
|
|
82
|
+
| EP-0003 | User Dashboard | active | 2/5 (40%) | AG-UI |
|
|
83
|
+
| EP-0002 | Authentication | active | 4/6 (67%) | AG-API |
|
|
84
|
+
| EP-0001 | Core Setup | complete | 3/3 (100%) | AG-DEVOPS |
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
**Summary**: 3 epics (2 active, 1 complete)
|
|
88
|
+
**Stories**: 9/14 complete (64%)
|
|
89
|
+
|
|
90
|
+
Legend:
|
|
91
|
+
- **active**: In progress, accepting new stories
|
|
92
|
+
- **complete**: All stories done
|
|
93
|
+
- **on-hold**: Paused, not currently worked on
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Step 5: Offer Actions
|
|
97
|
+
|
|
98
|
+
```xml
|
|
99
|
+
<invoke name="AskUserQuestion">
|
|
100
|
+
<parameter name="questions">[{
|
|
101
|
+
"question": "What would you like to do?",
|
|
102
|
+
"header": "Actions",
|
|
103
|
+
"multiSelect": false,
|
|
104
|
+
"options": [
|
|
105
|
+
{"label": "View epic details", "description": "See all stories in an epic with progress"},
|
|
106
|
+
{"label": "Add story to epic", "description": "Create a new story in an existing epic"},
|
|
107
|
+
{"label": "Create new epic", "description": "Start a new feature epic"},
|
|
108
|
+
{"label": "Done", "description": "Exit"}
|
|
109
|
+
]
|
|
110
|
+
}]</parameter>
|
|
111
|
+
</invoke>
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**If "View epic details"**:
|
|
115
|
+
```xml
|
|
116
|
+
<invoke name="AskUserQuestion">
|
|
117
|
+
<parameter name="questions">[{
|
|
118
|
+
"question": "Which epic would you like to view?",
|
|
119
|
+
"header": "Select",
|
|
120
|
+
"multiSelect": false,
|
|
121
|
+
"options": [
|
|
122
|
+
{"label": "EP-0003: User Dashboard (40%)", "description": "active - 2/5 stories"},
|
|
123
|
+
{"label": "EP-0002: Authentication (67%)", "description": "active - 4/6 stories"},
|
|
124
|
+
{"label": "EP-0001: Core Setup (100%)", "description": "complete - 3/3 stories"}
|
|
125
|
+
]
|
|
126
|
+
}]</parameter>
|
|
127
|
+
</invoke>
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Then invoke: `/agileflow:epic:view EPIC=<selected>`
|
|
131
|
+
|
|
132
|
+
**If "Add story to epic"**:
|
|
133
|
+
Ask which epic, then invoke: `/agileflow:story EPIC=<selected>`
|
|
134
|
+
|
|
135
|
+
**If "Create new epic"**:
|
|
136
|
+
Invoke: `/agileflow:epic`
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Example Usage
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
# List all epics
|
|
144
|
+
/agileflow:epic:list
|
|
145
|
+
|
|
146
|
+
# List only active epics
|
|
147
|
+
/agileflow:epic:list STATUS=active
|
|
148
|
+
|
|
149
|
+
# List completed epics
|
|
150
|
+
/agileflow:epic:list STATUS=complete
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## Rules
|
|
156
|
+
|
|
157
|
+
- **Read-only**: No file writes
|
|
158
|
+
- **Show progress**: Calculate and display story completion
|
|
159
|
+
- **Show summary**: Include totals at the bottom
|
|
160
|
+
- **Always offer actions**: End with next step options
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Related Commands
|
|
165
|
+
|
|
166
|
+
- `/agileflow:epic:view` - View epic details with all stories
|
|
167
|
+
- `/agileflow:epic` - Create new epic
|
|
168
|
+
- `/agileflow:story:list` - View all stories
|
|
169
|
+
- `/agileflow:board` - Visual kanban board
|
|
170
|
+
- `/agileflow:sprint` - Sprint planning
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: View epic details with stories and contextual actions
|
|
3
|
+
argument-hint: EPIC=<EP-ID>
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /agileflow:epic:view
|
|
7
|
+
|
|
8
|
+
View full epic details including all stories and contextual actions.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
Displays complete epic information and offers **context-aware actions** based on epic state:
|
|
15
|
+
- **active, low progress** → Add stories, start work
|
|
16
|
+
- **active, high progress** → Complete remaining stories, close epic
|
|
17
|
+
- **complete** → View summary, reopen if needed
|
|
18
|
+
- **on-hold** → Resume, view blockers
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
<!-- COMPACT_SUMMARY_START -->
|
|
23
|
+
## Compact Summary
|
|
24
|
+
|
|
25
|
+
**Command**: `/agileflow:epic:view EPIC=<EP-ID>`
|
|
26
|
+
**Purpose**: View epic with all stories and context-aware actions
|
|
27
|
+
|
|
28
|
+
### Flow
|
|
29
|
+
1. Read epic from status.json
|
|
30
|
+
2. Load all stories for this epic
|
|
31
|
+
3. Display epic overview and story breakdown
|
|
32
|
+
4. Offer actions based on epic progress
|
|
33
|
+
5. Execute selected action
|
|
34
|
+
|
|
35
|
+
### Critical Rules
|
|
36
|
+
- **Show all stories**: Group by status (in_progress, ready, done)
|
|
37
|
+
- **Context-aware actions**: Different options based on progress
|
|
38
|
+
- **Always offer next steps**: End with relevant AskUserQuestion
|
|
39
|
+
<!-- COMPACT_SUMMARY_END -->
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Arguments
|
|
44
|
+
|
|
45
|
+
| Argument | Required | Description |
|
|
46
|
+
|----------|----------|-------------|
|
|
47
|
+
| EPIC | Yes | Epic ID (e.g., EP-0001) |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## IMMEDIATE ACTIONS
|
|
52
|
+
|
|
53
|
+
Upon invocation, execute these steps:
|
|
54
|
+
|
|
55
|
+
### Step 1: Validate Input
|
|
56
|
+
|
|
57
|
+
If EPIC not provided, list recent epics:
|
|
58
|
+
|
|
59
|
+
```xml
|
|
60
|
+
<invoke name="AskUserQuestion">
|
|
61
|
+
<parameter name="questions">[{
|
|
62
|
+
"question": "Which epic would you like to view?",
|
|
63
|
+
"header": "Select",
|
|
64
|
+
"multiSelect": false,
|
|
65
|
+
"options": [
|
|
66
|
+
{"label": "EP-0003: User Dashboard", "description": "active - 40% complete"},
|
|
67
|
+
{"label": "EP-0002: Authentication", "description": "active - 67% complete"},
|
|
68
|
+
{"label": "Show all epics", "description": "View full epic list"}
|
|
69
|
+
]
|
|
70
|
+
}]</parameter>
|
|
71
|
+
</invoke>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Step 2: Read Epic Data
|
|
75
|
+
|
|
76
|
+
Read from status.json:
|
|
77
|
+
- Epic metadata (title, owner, status, goal)
|
|
78
|
+
- All stories belonging to this epic
|
|
79
|
+
|
|
80
|
+
### Step 3: Display Epic Overview
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
## EP-0002: Authentication System
|
|
84
|
+
|
|
85
|
+
**Status**: active
|
|
86
|
+
**Owner**: AG-API
|
|
87
|
+
**Goal**: Implement secure user authentication with OAuth and sessions
|
|
88
|
+
**Created**: 2024-12-20
|
|
89
|
+
**Updated**: 2024-12-28
|
|
90
|
+
|
|
91
|
+
**Progress**: 4/6 stories complete (67%)
|
|
92
|
+
|
|
93
|
+
███████████████░░░░░░░ 67%
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
### Stories by Status
|
|
98
|
+
|
|
99
|
+
#### In Progress (1)
|
|
100
|
+
| Story | Title | Owner | Estimate |
|
|
101
|
+
|-------|-------|-------|----------|
|
|
102
|
+
| US-0012 | Session management | AG-API | 4h |
|
|
103
|
+
|
|
104
|
+
#### Ready (1)
|
|
105
|
+
| Story | Title | Owner | Estimate |
|
|
106
|
+
|-------|-------|-------|----------|
|
|
107
|
+
| US-0013 | Remember me feature | AG-UI | 2h |
|
|
108
|
+
|
|
109
|
+
#### Done (4)
|
|
110
|
+
| Story | Title | Owner | Completed |
|
|
111
|
+
|-------|-------|-------|-----------|
|
|
112
|
+
| US-0011 | OAuth Google login | AG-API | 2024-12-27 |
|
|
113
|
+
| US-0010 | Login form UI | AG-UI | 2024-12-26 |
|
|
114
|
+
| US-0009 | User model | AG-API | 2024-12-25 |
|
|
115
|
+
| US-0008 | Auth API setup | AG-API | 2024-12-24 |
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
### Related
|
|
120
|
+
|
|
121
|
+
- **Research**: [OAuth Best Practices](../10-research/20241220-oauth.md)
|
|
122
|
+
- **ADR**: [ADR-0002: Use NextAuth](../03-decisions/adr-0002.md)
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Step 4: Offer Context-Aware Actions
|
|
126
|
+
|
|
127
|
+
**Based on epic progress, show different options:**
|
|
128
|
+
|
|
129
|
+
#### If Progress < 50%
|
|
130
|
+
|
|
131
|
+
```xml
|
|
132
|
+
<invoke name="AskUserQuestion">
|
|
133
|
+
<parameter name="questions">[{
|
|
134
|
+
"question": "This epic is 40% complete. What would you like to do?",
|
|
135
|
+
"header": "Actions",
|
|
136
|
+
"multiSelect": false,
|
|
137
|
+
"options": [
|
|
138
|
+
{"label": "Add more stories", "description": "Epic may need more work items"},
|
|
139
|
+
{"label": "Start work on a ready story", "description": "Pick a story to begin"},
|
|
140
|
+
{"label": "Plan sprint for this epic", "description": "Schedule stories with /agileflow:sprint"},
|
|
141
|
+
{"label": "Back to epic list", "description": "Return to /agileflow:epic:list"}
|
|
142
|
+
]
|
|
143
|
+
}]</parameter>
|
|
144
|
+
</invoke>
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
#### If Progress >= 50% but < 100%
|
|
148
|
+
|
|
149
|
+
```xml
|
|
150
|
+
<invoke name="AskUserQuestion">
|
|
151
|
+
<parameter name="questions">[{
|
|
152
|
+
"question": "This epic is 67% complete. What would you like to do?",
|
|
153
|
+
"header": "Actions",
|
|
154
|
+
"multiSelect": false,
|
|
155
|
+
"options": [
|
|
156
|
+
{"label": "Work on remaining stories (Recommended)", "description": "Continue toward completion"},
|
|
157
|
+
{"label": "View story details", "description": "Check a specific story"},
|
|
158
|
+
{"label": "Add more stories", "description": "Epic scope may have grown"},
|
|
159
|
+
{"label": "Mark epic as complete", "description": "If remaining work is deferred"}
|
|
160
|
+
]
|
|
161
|
+
}]</parameter>
|
|
162
|
+
</invoke>
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
**If "Work on remaining stories"**:
|
|
166
|
+
- Show ready stories
|
|
167
|
+
- Let user pick one
|
|
168
|
+
- Run `/agileflow:story:view STORY=<selected>`
|
|
169
|
+
|
|
170
|
+
#### If Progress = 100%
|
|
171
|
+
|
|
172
|
+
```xml
|
|
173
|
+
<invoke name="AskUserQuestion">
|
|
174
|
+
<parameter name="questions">[{
|
|
175
|
+
"question": "This epic is 100% complete! What would you like to do?",
|
|
176
|
+
"header": "Actions",
|
|
177
|
+
"multiSelect": false,
|
|
178
|
+
"options": [
|
|
179
|
+
{"label": "Close epic (Recommended)", "description": "Mark as complete in status.json"},
|
|
180
|
+
{"label": "View completion summary", "description": "See what was delivered"},
|
|
181
|
+
{"label": "Add follow-up stories", "description": "Epic needs more work after all"},
|
|
182
|
+
{"label": "Back to epic list", "description": "Return to /agileflow:epic:list"}
|
|
183
|
+
]
|
|
184
|
+
}]</parameter>
|
|
185
|
+
</invoke>
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**If "Close epic"**:
|
|
189
|
+
- Update epic status to "complete" in status.json
|
|
190
|
+
- Add completion timestamp
|
|
191
|
+
- Show summary of delivered stories
|
|
192
|
+
|
|
193
|
+
#### If Status = on-hold
|
|
194
|
+
|
|
195
|
+
```xml
|
|
196
|
+
<invoke name="AskUserQuestion">
|
|
197
|
+
<parameter name="questions">[{
|
|
198
|
+
"question": "This epic is on hold. What would you like to do?",
|
|
199
|
+
"header": "Actions",
|
|
200
|
+
"multiSelect": false,
|
|
201
|
+
"options": [
|
|
202
|
+
{"label": "Resume epic", "description": "Change status back to active"},
|
|
203
|
+
{"label": "View why it's on hold", "description": "Check blockers or notes"},
|
|
204
|
+
{"label": "Close epic", "description": "No longer needed"},
|
|
205
|
+
{"label": "Back to epic list", "description": "Return to /agileflow:epic:list"}
|
|
206
|
+
]
|
|
207
|
+
}]</parameter>
|
|
208
|
+
</invoke>
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Example Usage
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
# View specific epic
|
|
217
|
+
/agileflow:epic:view EPIC=EP-0002
|
|
218
|
+
|
|
219
|
+
# Will prompt for selection if no ID
|
|
220
|
+
/agileflow:epic:view
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Rules
|
|
226
|
+
|
|
227
|
+
- **Show all stories**: Group by status for clarity
|
|
228
|
+
- **Progress visualization**: Show percentage and progress bar
|
|
229
|
+
- **Context-aware**: Actions match epic state
|
|
230
|
+
- **Connect to related**: Show linked research, ADRs
|
|
231
|
+
- **Always offer next steps**: End with relevant action options
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
## Related Commands
|
|
236
|
+
|
|
237
|
+
- `/agileflow:epic:list` - View all epics
|
|
238
|
+
- `/agileflow:epic` - Create new epic
|
|
239
|
+
- `/agileflow:story` - Add story to epic
|
|
240
|
+
- `/agileflow:story:view` - View story details
|
|
241
|
+
- `/agileflow:sprint` - Plan sprint
|
|
242
|
+
- `/agileflow:board` - Kanban view
|