Router
Use this skill to decide which agile skill is appropriate and get directed to the correct one.
Initial context received via slash: $ARGUMENTS
If $ARGUMENTS is filled, use as context to determine the right skill.
If empty, ask the user what they need help with.
Prompting
Follow the project-wide convention in CLAUDE.md / AGENTS.md ("Skill Prompting Conventions"). Use the harness's structured-question tool — AskUserQuestion (Claude Code), ask_user_question (Codex), or question (OpenCode) — for the decision points below.
| Decision point |
Why structured |
Suggested options |
| Suggested skill when ambiguous |
Routes the work |
list the 2–4 candidates with the recommendation flagged |
Free-form prompts (no structured tool):
- Problem description (so the router can decide)
No-pause mode: if the user has explicitly disabled mid-skill clarification, pick the highest-confidence recommendation and proceed; surface the decision and reasoning rather than asking.
Scope
This skill covers these areas. Resolve UI / test / memory first, then fall through to planning:
| Area |
Question |
Skills |
| UI / flow |
Need to validate a screen, mockup, or journey? |
/agile-proto (+ htm-ui skill), /agile-design, /ux-flows, /ux-persona |
| Test |
Need TDD, coverage, or red-green? |
/agile-tdd |
| Memory |
Wire or query project knowledge? |
/aim-init, /aim-query, /aim-write |
| What to create |
What planning artifact fits this work? |
/agile-intake, /agile-roadmap, /agile-epic, /agile-story |
| What ceremony to run |
Where are we in the sprint cycle? |
/agile-sprint, /agile-review, /agile-retro |
| What to track |
How should I report progress? |
/agile-status (checkpoint, consolidation, closure) |
Decision tree
First: UI, test, or memory?
- Clickable browser prototype / validate a flow without a backend →
/agile-proto (complement: htm-ui skill)
- Screens and states in a design tool (Paper, Figma, Pen.dev, Penpot…) →
/agile-design
- Walk the app (or the served proto) as a user →
/ux-flows, /ux-persona
- TDD, coverage, red-green, test enforcement →
/agile-tdd
- Wire ai-memory, recall, durable annotation →
/aim-init, /aim-query, /aim-write
- Otherwise → planning, ceremony, or tracking below
Planning: What artifact do I need?
flowchart TD
A[New problem or request] --> B{Is the problem clear?}
B -- No --> C["/agile-intake"]
B -- Yes --> D{Multi-phase trajectory<br/>with dependencies?}
D -- Yes --> I["/agile-roadmap"]
I --> G["/agile-epic"]
D -- "No, single initiative" --> E{What size?}
E -- "Small, localized" --> F["/agile-story"]
E -- "Medium/large, needs decomposition" --> G
C --> H{Intake recommends...}
H -- Multi-phase trajectory --> I
H -- Single initiative --> G
H -- Small/clear --> F
Note on /agile-roadmap: Roadmap is NOT defined by time horizon (e.g., "3-12 months"). It is defined by trajectory complexity. Even a 4-week initiative benefits from a roadmap if it has multiple sequenced phases with dependencies between them.
Note on /agile-epic: Handles both the epic overview and story decomposition. There is no separate story skill. Medium work that needs richer acceptance criteria goes through /agile-epic for structure, or directly to /agile-story if it's a single vertical delivery.
Ceremonies: Where am I in the cycle?
- Starting a sprint? →
/agile-sprint
- Sprint just ended? →
/agile-review (demo deliveries) then /agile-retro (reflect on process)
- Backlog items unclear? →
/agile-epic (decompose) or run /agile-refinement (validate)
- Need metrics? →
/agile-review (metrics are a section of the review artifact)
Tracking: How do I report progress?
- Quick daily checkpoint? →
/agile-status (checkpoint mode)
- Period or milestone consolidation? →
/agile-status (consolidation mode)
- Delivery finished? →
/agile-status (closure mode)
Light sizing
Internal reference for AI agent — not exposed to users. Use plain language when communicating the recommendation.
| Size |
Description |
Artifact |
Skill |
| Extra small |
Localized adjustment, 1 file, low risk |
Task |
/agile-story |
| Small |
Small delivery, few files, simple validation |
Task |
/agile-story |
| Medium |
Vertical delivery, several files, moderate validation |
Epic story file or Task |
/agile-epic or /agile-story |
| Large |
Multiple coordinated stories, needs decomposition |
Epic |
/agile-epic |
| Extra large |
Multi-story initiative, coordination needed |
Epic |
/agile-epic |
When to use roadmap vs epic
Sizing alone is not enough to decide between roadmap and epic. Use this checklist:
Use /agile-roadmap when 2+ apply (regardless of duration):
- Multiple initiatives need sequencing (can't all run in parallel)
- Decisions today affect future decisions (local optimization can become tech debt)
- Stakeholders need to see the whole journey before approving individual steps
- External dependencies (other teams, vendors, deadlines)
- Total complexity exceeds what fits in a single epic
Use /agile-epic when:
- Single coordinated initiative with clear scope
- Can be broken into stories without needing a parent plan
- Fits on one delivery wave (no distinct phases with different goals)
Anti-pattern: Assume roadmap = "long-term strategic plan". A 4-week work with 5 phases and hard ordering also benefits from a roadmap. The criterion is trajectory complexity, not duration.
Process
- Listen to the user's context.
- Determine which area applies: UI/test/memory, planning, ceremony, or tracking.
- Apply the decision tree for that area.
- Recommend the specific skill with a brief explanation.
- Confirm with the user before they proceed.
Rules
- This is a router skill — it evaluates and directs, but does not produce artifacts.
- If the problem isn't clear, suggest
/agile-intake before routing.
- Use plain language when explaining the recommendation. Do not reference size codes.
- Always confirm the recommendation with the user.
Available skills
| Skill |
Purpose |
/agile-intake |
Capture vague problems |
/agile-roadmap |
Map multi-phase trajectories with dependencies (any duration) |
/agile-epic |
Structure initiatives, decompose into stories |
/agile-story |
Execution plan for localized changes |
/agile-refinement |
Validate planning artifacts and review code |
/agile-status |
Track progress (checkpoint, consolidation, closure) |
/agile-sprint |
Sprint planning ceremony |
/agile-review |
Sprint review, metrics, and demo |
/agile-retro |
Retrospective with improvement actions |
/agile-tdd |
TDD coaching and optional enforcement |
/agile-proto |
Static browser prototype process (complement: htm-ui skill) |
/agile-design |
Screens, states, and flows in any design tool |
/agile-onboarding |
New team member onboarding |
/ux-flows / /ux-persona |
Usage-flow catalog and persona walkthroughs |
/aim-init / /aim-query / /aim-write |
Wire and use ai-memory |
/agile-router |
This skill — guidance on which skill to use |
Relationship with the flow
flowchart LR
A["/agile-intake"] --> B["/agile-roadmap"]
B --> C["/agile-epic"]
C --> D["/agile-story"]
D --> E[execution]
E --> F["/agile-status"]
F --> G["/agile-review"]
G --> H["/agile-retro"]
This skill is a router. It evaluates and directs, but does not produce the final artifact. For specific work, use the recommended skill directly.
1---2name: agile-router3description: Routes to the appropriate agile skill based on context. Use when you need guidance on which skill to use — planning, ceremonies, tracking, prototype/UX, TDD, or memory.4---56# Router78Use this skill to decide which agile skill is appropriate and get directed to the correct one.910Initial context received via slash: $ARGUMENTS1112If `$ARGUMENTS` is filled, use as context to determine the right skill.13If empty, ask the user what they need help with.1415## Prompting1617Follow the project-wide convention in `CLAUDE.md` / `AGENTS.md` ("Skill Prompting Conventions"). Use the harness's structured-question tool — `AskUserQuestion` (Claude Code), `ask_user_question` (Codex), or `question` (OpenCode) — for the decision points below.1819| Decision point | Why structured | Suggested options |20|---|---|---|21| Suggested skill when ambiguous | Routes the work | list the 2–4 candidates with the recommendation flagged |2223Free-form prompts (no structured tool):2425- Problem description (so the router can decide)2627No-pause mode: if the user has explicitly disabled mid-skill clarification, pick the highest-confidence recommendation and proceed; surface the decision and reasoning rather than asking.2829## Scope3031This skill covers these areas. **Resolve UI / test / memory first**, then fall through to planning:3233| Area | Question | Skills |34|---|---|---|35| UI / flow | Need to validate a screen, mockup, or journey? | `/agile-proto` (+ `htm-ui` skill), `/agile-design`, `/ux-flows`, `/ux-persona` |36| Test | Need TDD, coverage, or red-green? | `/agile-tdd` |37| Memory | Wire or query project knowledge? | `/aim-init`, `/aim-query`, `/aim-write` |38| What to create | What planning artifact fits this work? | `/agile-intake`, `/agile-roadmap`, `/agile-epic`, `/agile-story` |39| What ceremony to run | Where are we in the sprint cycle? | `/agile-sprint`, `/agile-review`, `/agile-retro` |40| What to track | How should I report progress? | `/agile-status` (checkpoint, consolidation, closure) |4142## Decision tree4344### First: UI, test, or memory?4546- **Clickable browser prototype / validate a flow without a backend** → `/agile-proto` (complement: `htm-ui` skill)47- **Screens and states in a design tool (Paper, Figma, Pen.dev, Penpot…)** → `/agile-design`48- **Walk the app (or the served proto) as a user** → `/ux-flows`, `/ux-persona`49- **TDD, coverage, red-green, test enforcement** → `/agile-tdd`50- **Wire ai-memory, recall, durable annotation** → `/aim-init`, `/aim-query`, `/aim-write`51- **Otherwise** → planning, ceremony, or tracking below5253### Planning: What artifact do I need?5455```mermaid56flowchart TD57 A[New problem or request] --> B{Is the problem clear?}58 B -- No --> C["/agile-intake"]59 B -- Yes --> D{Multi-phase trajectory<br/>with dependencies?}60 D -- Yes --> I["/agile-roadmap"]61 I --> G["/agile-epic"]62 D -- "No, single initiative" --> E{What size?}63 E -- "Small, localized" --> F["/agile-story"]64 E -- "Medium/large, needs decomposition" --> G65 C --> H{Intake recommends...}66 H -- Multi-phase trajectory --> I67 H -- Single initiative --> G68 H -- Small/clear --> F69```7071> **Note on `/agile-roadmap`:** Roadmap is NOT defined by time horizon (e.g., "3-12 months"). It is defined by **trajectory complexity**. Even a 4-week initiative benefits from a roadmap if it has multiple sequenced phases with dependencies between them.7273> **Note on `/agile-epic`:** Handles both the epic overview and story decomposition. There is no separate story skill. Medium work that needs richer acceptance criteria goes through `/agile-epic` for structure, or directly to `/agile-story` if it's a single vertical delivery.7475### Ceremonies: Where am I in the cycle?7677- **Starting a sprint?** → `/agile-sprint`78- **Sprint just ended?** → `/agile-review` (demo deliveries) then `/agile-retro` (reflect on process)79- **Backlog items unclear?** → `/agile-epic` (decompose) or run `/agile-refinement` (validate)80- **Need metrics?** → `/agile-review` (metrics are a section of the review artifact)8182### Tracking: How do I report progress?8384- **Quick daily checkpoint?** → `/agile-status` (checkpoint mode)85- **Period or milestone consolidation?** → `/agile-status` (consolidation mode)86- **Delivery finished?** → `/agile-status` (closure mode)8788## Light sizing8990> **Internal reference for AI agent — not exposed to users.** Use plain language when communicating the recommendation.9192| Size | Description | Artifact | Skill |93|---|---|---|---|94| Extra small | Localized adjustment, 1 file, low risk | Task | `/agile-story` |95| Small | Small delivery, few files, simple validation | Task | `/agile-story` |96| Medium | Vertical delivery, several files, moderate validation | Epic story file or Task | `/agile-epic` or `/agile-story` |97| Large | Multiple coordinated stories, needs decomposition | Epic | `/agile-epic` |98| Extra large | Multi-story initiative, coordination needed | Epic | `/agile-epic` |99100## When to use roadmap vs epic101102Sizing alone is not enough to decide between roadmap and epic. Use this checklist:103104**Use `/agile-roadmap` when 2+ apply** (regardless of duration):105- Multiple initiatives need sequencing (can't all run in parallel)106- Decisions today affect future decisions (local optimization can become tech debt)107- Stakeholders need to see the whole journey before approving individual steps108- External dependencies (other teams, vendors, deadlines)109- Total complexity exceeds what fits in a single epic110111**Use `/agile-epic` when**:112- Single coordinated initiative with clear scope113- Can be broken into stories without needing a parent plan114- Fits on one delivery wave (no distinct phases with different goals)115116> **Anti-pattern:** Assume roadmap = "long-term strategic plan". A 4-week work with 5 phases and hard ordering also benefits from a roadmap. The criterion is **trajectory complexity**, not duration.117118## Process1191201. Listen to the user's context.1212. Determine which area applies: UI/test/memory, planning, ceremony, or tracking.1223. Apply the decision tree for that area.1234. Recommend the specific skill with a brief explanation.1245. Confirm with the user before they proceed.125126## Rules127128- This is a router skill — it evaluates and directs, but does not produce artifacts.129- If the problem isn't clear, suggest `/agile-intake` before routing.130- Use plain language when explaining the recommendation. Do not reference size codes.131- Always confirm the recommendation with the user.132133## Available skills134135| Skill | Purpose |136|---|---|137| `/agile-intake` | Capture vague problems |138| `/agile-roadmap` | Map multi-phase trajectories with dependencies (any duration) |139| `/agile-epic` | Structure initiatives, decompose into stories |140| `/agile-story` | Execution plan for localized changes |141| `/agile-refinement` | Validate planning artifacts and review code |142| `/agile-status` | Track progress (checkpoint, consolidation, closure) |143| `/agile-sprint` | Sprint planning ceremony |144| `/agile-review` | Sprint review, metrics, and demo |145| `/agile-retro` | Retrospective with improvement actions |146| `/agile-tdd` | TDD coaching and optional enforcement |147| `/agile-proto` | Static browser prototype process (complement: `htm-ui` skill) |148| `/agile-design` | Screens, states, and flows in any design tool |149| `/agile-onboarding` | New team member onboarding |150| `/ux-flows` / `/ux-persona` | Usage-flow catalog and persona walkthroughs |151| `/aim-init` / `/aim-query` / `/aim-write` | Wire and use ai-memory |152| `/agile-router` | This skill — guidance on which skill to use |153154## Relationship with the flow155156```mermaid157flowchart LR158 A["/agile-intake"] --> B["/agile-roadmap"]159 B --> C["/agile-epic"]160 C --> D["/agile-story"]161 D --> E[execution]162 E --> F["/agile-status"]163 F --> G["/agile-review"]164 G --> H["/agile-retro"]165```166167This skill is a router. It evaluates and directs, but does not produce the final artifact. For specific work, use the recommended skill directly.