From adjutant-agent
Creates structured epic hierarchies for features, refactorings, and large tasks: generates spec.md, plan.md, tasks.md, beads-import.md in specs/, and beads via bd CLI with dependencies.
npx claudepluginhub lupusdei/adjutant --plugin adjutant-agentThis skill uses the workspace's default tool permissions.
Plan and scaffold a complete epic hierarchy: from idea to beads-tracked, dependency-wired tasks ready for multi-agent execution.
Converts plan files into beads epics, TDD-quality tasks, implementation prompts, and worktrees to structure projects before coding begins.
Breaks requirements into epics and user stories for agile planning. Auto-activates when user says "create the epics and stories list" or invoke via /bmad-create-epics-and-stories.
Creates epic JSON files with vision (overview, goals, metrics, scope, NFRs) via user dialog, ID generation, and existence checks. Deprecated; use /plan instead.
Share bugs, ideas, or general feedback.
Plan and scaffold a complete epic hierarchy: from idea to beads-tracked, dependency-wired tasks ready for multi-agent execution.
Every spec artifact maps to a bead hierarchy level. Use the project's beads prefix (e.g. adj- for adjutant) — shown here as bd- generically.
| Spec Artifact | Section | Bead Level | Bead ID | Bead Type |
|---|---|---|---|---|
| spec.md | User Story N (Priority: PN) | Sub-Epic | bd-xxx.N | epic |
| plan.md | Phase N heading | Sub-Epic | bd-xxx.N | epic |
| tasks.md | T001 task line under Phase N | Task | bd-xxx.N.M | task |
| beads-import.md | Task table row | Task | bd-xxx.N.M | task |
| (created during impl) | Bug fix / refactor / extra tests | Improvement | bd-xxx.N.M.P | task|bug |
T-IDs vs Bead IDs: T001, T002 etc. are authoring-time identifiers used in tasks.md for readability. Bead IDs (bd-xxx.N.M) are the runtime tracking identifiers that replace them once beads are created. The beads-import.md table maps between them.
Phase-to-sub-epic numbering: Phases in tasks.md and sub-epics in beads share the same sequential numbering. Phase 1 = .1, Phase 2 = .2, etc. If you skip a phase (e.g. no Setup needed), skip that sub-epic number too — keep them in sync.
Before generating anything, ask 3-5 targeted questions using AskUserQuestion. Good areas to probe:
Skip questions whose answers are obvious from the user's description.
Determine the next feature number by scanning specs/ for existing directories:
ls specs/ | sort -n | tail -1 # e.g., 007-push-notifications
# Next number: 008
Create directory: specs/###-feature-name/
Generate four files in order. Use the templates in references/templates.md as the structural guide — fill them with content derived from the user's description and your clarification answers.
Write all four files to specs/###-feature-name/.
Small features (< 5 tasks): Skip sub-epics entirely. Use the simplified template variant in templates.md. Tasks go directly under the root epic (bd-xxx.1, bd-xxx.2 as tasks, not sub-epics).
Use bd CLI to create real beads matching the hierarchy in beads-import.md. See references/beads-workflow.md for the exact commands and conventions.
Hierarchy pattern (using project prefix, e.g. adj-):
bd-xxx (root epic, type=epic)
bd-xxx.1 (sub-epic: Setup, type=epic)
bd-xxx.2 (sub-epic: Foundational, type=epic)
bd-xxx.3 (sub-epic: US1, type=epic)
bd-xxx.3.1 (task under US1, type=task)
bd-xxx.3.2 (task under US1, type=task)
bd-xxx.4 (sub-epic: US2, type=epic)
...
Steps:
bd list --status=all and pick next sequential rootbd create --id=bd-xxx --title="..." --description="..." --type=epic --priority=NAfter creating beads, update beads-import.md and plan.md with the actual bead IDs. Add a bead map block to plan.md:
## Bead Map
- `bd-xxx` - Root epic: [Title]
- `bd-xxx.1` - Setup
- `bd-xxx.1.1` - [Task title]
- `bd-xxx.2` - Foundational
- `bd-xxx.3` - US1: [Title]
- `bd-xxx.3.1` - [Task title]
Report to the user:
bd ready to see unblocked tasks, or assign work to team agents"Improvements are Level 4 beads (bd-xxx.N.M.P) created during implementation, not during planning. They cover:
Create them as children of the affected task. Example: while implementing bd-012.3.1, you discover a bug → create bd-012.3.1.1 as type=bug. Wire it: bd dep add bd-012.3.1 bd-012.3.1.1.
Do NOT pre-plan improvements in the spec artifacts — they emerge organically.
All questions about the epic MUST be sent to the user via Adjutant MCP messages. This is non-negotiable.
send_message({ to: "user", body: "Question about epic '<title>': <your question>" })
Rules:
AskUserQuestion — it blocks execution and the user may not be at the terminalWhen spawning team agents to work on the epic, include this same instruction in their spawn prompts — they must also route questions through MCP, not stdout.
.1, .2, .3, not random)bd CLI commands, dependency wiring, and ID conventions