mcpField
A
agile-router

agile-router

github.com/djalmajrAgent workflows4122 installsUpdated 5w ago
Repository

About agile-router

agile-router is an agent skill that directs a request to the relevant agile, UX, testing, or project-memory skill. It uses the request context and a decision tree to recommend a skill, then asks for confirmation; it does not create planning artifacts.

Key features

  1. 01Routes requests across agile and UX skills
  2. 02Prioritizes UI, testing, and memory needs
  3. 03Chooses planning, ceremony, or tracking skills
  4. 04Requests confirmation before proceeding

Use cases

  1. 01Finding a skill for an unclear project request
  2. 02Choosing a sprint ceremony or progress-tracking skill
  3. 03Routing design, prototype, or TDD work

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/djalmajr/skills --skill agile-router

After installing, type/agile-routerin Claude Code to confirm it loaded.

Details

From the project README

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 pointWhy structuredSuggested options
Suggested skill when ambiguousRoutes the worklist 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:

AreaQuestionSkills
UI / flowNeed to validate a screen, mockup, or journey?/agile-proto (+ htm-ui skill), /agile-design, /ux-flows, /ux-persona
TestNeed TDD, coverage, or red-green?/agile-tdd
MemoryWire or query project knowledge?/aim-init, /aim-query, /aim-write
What to createWhat planning artifact fits this work?/agile-intake, /agile-roadmap, /agile-epic, /agile-story
What ceremony to runWhere are we in the sprint cycle?/agile-sprint, /agile-review, /agile-retro
What to trackHow 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.

SizeDescriptionArtifactSkill
Extra smallLocalized adjustment, 1 file, low riskTask/agile-story
SmallSmall delivery, few files, simple validationTask/agile-story
MediumVertical delivery, several files, moderate validationEpic story file or Task/agile-epic or /agile-story
LargeMultiple coordinated stories, needs decompositionEpic/agile-epic
Extra largeMulti-story initiative, coordination neededEpic/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

  1. Listen to the user's context.
  2. Determine which area applies: UI/test/memory, planning, ceremony, or tracking.
  3. Apply the decision tree for that area.
  4. Recommend the specific skill with a brief explanation.
  5. 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

SkillPurpose
/agile-intakeCapture vague problems
/agile-roadmapMap multi-phase trajectories with dependencies (any duration)
/agile-epicStructure initiatives, decompose into stories
/agile-storyExecution plan for localized changes
/agile-refinementValidate planning artifacts and review code
/agile-statusTrack progress (checkpoint, consolidation, closure)
/agile-sprintSprint planning ceremony
/agile-reviewSprint review, metrics, and demo
/agile-retroRetrospective with improvement actions
/agile-tddTDD coaching and optional enforcement
/agile-protoStatic browser prototype process (complement: htm-ui skill)
/agile-designScreens, states, and flows in any design tool
/agile-onboardingNew team member onboarding
/ux-flows / /ux-personaUsage-flow catalog and persona walkthroughs
/aim-init / /aim-query / /aim-writeWire and use ai-memory
/agile-routerThis 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.

Comments

Markdown supported