AI-DLC Decompose (Mob Elaboration)
Break down an approved Intent into Tasks and Units using the AI-DLC Mob Elaboration ritual. This skill uses parallel agents for efficient Task elaboration. Tasks are created as Confluence pages (child pages under the Intent) for collaborative team review, with proposed Bolt groupings for later Jira transfer. Do not create Bugs unless explicitly requested by a human.
AI-DLC Mob Elaboration
Per AI-DLC methodology: "AI plays a central role in proposing an initial breakdown of the Intent into Tasks, Acceptance Criteria, Units, and Bolt groupings, leveraging domain knowledge, and the principles of loose coupling and high cohesion for rapid parallel execution downstream."
Units are cohesive, self-contained work elements (analogous to Subdomains in DDD). Tasks are grouped into Bolts (rapid iteration cycles) for implementation. Jira artifacts are created later in
/aidlc-verifyafter design and verification.
CRITICAL: Confluence First, Jira Later
This skill has FOUR phases with approval gates between them:
- •Phase 1: Elaborate Tasks and create Confluence pages (Overview → Units → Tasks). NO Jira creation.
- •Phase 2: Team reviews in Confluence, adding inline and footer comments. (Human activity)
- •Phase 3: Comment resolution session - address feedback, update content, resolve comments.
- •Phase 4: Reorganization - regroup Tasks into Units, propose Bolt groupings.
Jira transfer happens in
/aidlc-verifyafter design and verification are complete. DO NOT create Jira issues in this skill. DO NOT skip phases without explicit user approval.
Completion Checklist
IMPORTANT: Create tasks for each step at the start using
TodoWrite. Mark tasks complete as you go usingTodoWrite. Each task description should reference the corresponding Workflow step.
Phase 1: Task Decomposition
| # | Task | Depends On | Workflow Reference | Exit Criteria |
|---|---|---|---|---|
| 1 | Validate prerequisites | — | Prerequisites section | Confluence doc exists and shows "Level 1 Intent: ✅ Approved" |
| 2 | Gather context | 1 | Phase 1 > Step 1 | Confluence link and Jira project key collected |
| 3 | Identify theme clusters | 2 | Phase 1 > Step 2 | 3-5 clusters identified, user confirms |
| 4 | Spawn task elaboration subagents | 3 | Phase 1 > Step 3 | All subagents launched (one per theme) |
| 5 | Consolidate subagent results | 4 | Phase 1 > Step 4 | JSON parsed, deps classified with environment field, Tasks right-sized |
| 6 | Group tasks into Units | 5 | Phase 1 > Step 5 | Tasks assigned to Units based on blocking dependencies, user confirms |
| 7 | Decouple dependencies | 6 | Phase 1 > Step 6 | Infra deps reviewed (dev vs deploy), Unit chains addressed, easy wins applied |
| 8 | Plan Bolts per Unit | 6, 7 | Phase 1 > Step 7 | Bolt sequence respects blocking deps, parallel opportunities identified |
| 9 | Create Confluence pages | 7, 8 | Phase 1 > Step 8 | Overview, Unit, and Task pages created (incl. contract/integration tasks) |
| 10 | Request team review | 9 | Phase 1 > Step 9 | User notified to begin team review |
Phase 3: Comment Resolution (after human review)
| # | Task | Depends On | Workflow Reference | Exit Criteria |
|---|---|---|---|---|
| 11 | Fetch all comments | 10 | Phase 3 > Step 10 | Inline + footer comments fetched for all pages |
| 12 | Address feedback | 11 | Phase 3 > Step 11 | Each comment analyzed, action determined |
| 13 | Update content | 12 | Phase 3 > Step 12 | Pages updated to address valid feedback |
| 14 | Reply to comments | 13 | Phase 3 > Step 13 | Replies posted explaining how feedback was addressed |
| 15 | Mark comments resolved | 14 | Phase 3 > Step 14 | User informed which comments need manual resolution |
Phase 4: Unit Re-assessment
| # | Task | Depends On | Workflow Reference | Exit Criteria |
|---|---|---|---|---|
| 16 | Apply re-assessment criteria | 15 | Phase 4 > Step 15 | Each Unit evaluated against 5 criteria, findings presented |
| 17 | Regroup tasks if needed | 16 | Phase 4 > Step 16 | Task pages moved between Units, or user confirms no changes |
| 18 | Update Units Overview | 17 | Phase 4 > Step 17 | Summary table and dependency graph updated |
| 19 | Update workflow status | 18 | Phase 4 > Step 18 | Status shows "Unit Decomposition: ✅ Complete" |
Task Tracking
When this skill is invoked:
- •Create tasks for the current phase's checklist items using
TodoWrite- •Include a reference to the workflow step in the task description (content field)
- •Set activeForm appropriately (e.g., "Validating prerequisites" for content "Validate prerequisites")
- •Example:
"Validate prerequisites (See Prerequisites section)"
- •Mark task as in_progress when starting each step using
TodoWrite(update status) - •Mark task complete when the exit criteria are met using
TodoWrite(update status) - •At phase boundaries, create tasks for the next phase
- •Verify all phase tasks complete before stopping at a gate
This ensures visibility into progress and prevents incomplete execution.
Example Invocations
- •"Break down the authentication intent into Tasks and Units"
- •"Decompose the billing intent"
- •"Create Units and Tasks for the API migration intent"
- •"Split the approved intent into work items"
References
- •Use @${CLAUDE_PLUGIN_ROOT}/references/planning-shared.md for templates, Bolt guidance, subagent prompts, and Jira tool names.
Prerequisites
Before starting, validate:
- •
Required artifacts
- •Confluence Intent document (ask for link)
- •Fetch using Atlassian MCP to confirm it exists
- •
Required status
- •Check the Workflow Status table in the Confluence doc
- •Verify "Intent" row shows "✅ Approved"
- •
If prerequisites incomplete
- •Offer to run
/aidlc-intentfirst if Confluence doc is missing or not approved - •Or allow override with explicit confirmation (see Override Pattern in @${CLAUDE_PLUGIN_ROOT}/references/planning-shared.md)
- •Offer to run
Confluence Page Hierarchy
Tasks are organized as a page hierarchy under the Intent document:
Intent Document (existing)
└── Units Overview (child of Intent)
├── Unit 1: [Name] (child of Overview)
│ ├── Task 1.1 (child of Unit)
│ ├── Task 1.2 (child of Unit)
│ └── ...
├── Unit 2: [Name] (child of Overview)
│ ├── Task 2.1 (child of Unit)
│ └── ...
└── ...
Note: Bolt groupings are documented in the Units Overview page (not as separate pages). During /aidlc-verify, Bolts become Stories in Jira that group Tasks as Sub-tasks.
Workflow
Phase 1: Task Decomposition to Confluence
In this phase, you will:
- •Read from Confluence (to understand the Intent)
- •Spawn subagents to elaborate Tasks in parallel
- •Create Confluence pages for Units Overview, Units, and Tasks
- •Propose initial Bolt groupings on Units Overview
- •Discuss and refine with the user
DO NOT in Phase 1:
- •Create any Jira issues (Sub-epics, Stories, Sub-tasks, etc.)
- •Update Jira labels or fields
- •Modify Confluence workflow status
Step 1: Gather Context
Ask only for what is missing:
- •Approved Confluence Intent doc link (this will be the parent for the Units Overview)
- •Jira project key (for later transfer in
/aidlc-verify- no default) - •Any known constraints, dependencies, or sequencing needs
Step 2: Identify Theme Clusters
Analyze the Intent and identify 3-5 theme clusters for parallel elaboration:
- •Group related functionality/capabilities together
- •Each cluster should have low coupling to other clusters
- •Present the clusters to the user for confirmation
Example output:
Based on the Intent, I've identified these theme clusters: 1. **Authentication & Authorization** - Login, SSO, permissions (4 Tasks) 2. **API Layer** - Endpoints, validation, rate limiting (3 Tasks) 3. **Data Migration** - Schema changes, ETL, rollback (3 Tasks) I'll spawn 3 subagents to elaborate these in parallel.
Step 3: Spawn Task Elaboration Subagents
For each theme cluster, spawn a subagent using the Task tool:
- •Use
subagent_type: "task-elaborator"(aidlc plugin agent) - •Pass the condensed Intent context (not full documents)
- •Spawn all subagents in a single message (parallel execution)
Each subagent will:
- •Elaborate all Tasks for its assigned theme
- •Apply internal Task sizing (combine trivial, split large)
- •Classify dependencies as blocking vs non-blocking
- •Return structured JSON with Tasks, risks, dependencies, cross-cutting concerns
Step 4: Consolidate Subagent Results
After all subagents return:
- •Parse the JSON results from each subagent
- •Merge cross-cutting concerns into a unified risk list
- •Build a dependency graph across all Tasks using @${CLAUDE_PLUGIN_ROOT}/references/dependency-analysis.md
- •Classify each dependency as blocking or non-blocking (critical for parallelization)
- •Validate environment field on all dependencies:
- •Each dependency should have
environment: "dev" | "deploy" | "both" - •Flag any infrastructure dependency marked as
"dev"or"both"— challenge whether local alternative exists - •Default: Cloud infrastructure should be
"deploy"only
- •Each dependency should have
- •Surface any conflicts or gaps between themes
- •Right-size Tasks using internal Fibonacci sizing (see dependency-analysis.md)
Step 5: Group Tasks into Units
Organize the elaborated Tasks into cohesive Units:
- •Start with theme boundaries as initial groupings
- •Adjust based on dependency analysis (may merge or split themes)
- •Apply loose coupling, high cohesion principles
- •Each Unit should deliver independent value
- •Surface dependencies between Units
Step 6: Propose Initial Bolt Groupings
For each Unit, propose how Tasks should be grouped into Bolts:
Grouping Criteria (from AI-DLC methodology):
- •Tasks that can be implemented in a single rapid iteration (hours to days)
- •Tasks forming a cohesive, well-defined scope of work
- •Tasks aligned with Unit objectives
- •Consider: A Unit may have multiple Bolts running in parallel or sequentially
- •Each Bolt should be sized between 2 hours and 3 days
Include in Units Overview page:
| Bolt | Phase | Lane | Tasks | Dependencies | Est. Duration |
|---|---|---|---|---|---|
| Bolt 1 | 0 | A | 1, 2, 3 | — | X hours/days |
| Bolt 2 | 1 | A | 4, 5 | Bolt 1 | X hours/days |
Initial Bolt Execution Plan:
- •Propose initial phase assignments (Phase 0 for foundation/setup, then sequential phases for dependent work)
- •Identify bolt-to-bolt dependencies and assign lanes for parallelism within each phase
- •Include the initial Bolt Execution Plan in Units Overview using the Phase/Lane template from @${CLAUDE_PLUGIN_ROOT}/references/planning-shared.md
Note: These are initial proposals — phases, lanes, and critical path are refined during /aidlc-verify.
See Bolt Planning Guidance in @${CLAUDE_PLUGIN_ROOT}/references/planning-shared.md
Step 6b: Suggest Team Size
After proposing bolt groupings and the initial execution plan, generate a team size recommendation using the Team Size Recommendation Rubric from @${CLAUDE_PLUGIN_ROOT}/references/planning-shared.md.
Steps:
- •Count peak lanes: Find the maximum number of parallel lanes across all phases
- •Calculate weighted average lanes: Σ(lanes × phase_duration) / Σ(phase_duration)
- •Assess coupling level: Evaluate the dependency graph against the coupling criteria (Low / Medium / High)
- •Identify specialist requirements: Count distinct skill sets needed concurrently from bolt content (e.g., backend, frontend, infrastructure)
- •Apply the formula:
- •Start with weighted average lanes
- •Apply coupling discount (Low: ×1.0, Medium: ×0.85, High: ×0.70)
- •Cap Phase 0 at 2 lanes and recalculate
- •Round up, then apply bounds (floor = specialist count, ceiling = peak lanes)
- •Build the recommendation: Fill in the Team Size Recommendation template (metrics table, rationale, scaling options, phase staffing guide)
- •Present to user: Show the recommendation with scaling options and ask if they want to adjust before creating pages
Include the completed Team Size Recommendation section in the Units Overview page (Step 7) using the template from @${CLAUDE_PLUGIN_ROOT}/references/planning-shared.md.
Step 7: Create Confluence Pages (Parallel)
Create the page hierarchy under the Intent document using parallel sub-agents for efficiency.
Phase A: Create Units Overview (sequential)
- •Create Units Overview page (child of Intent)
- •Use the Units Overview Template from @${CLAUDE_PLUGIN_ROOT}/references/planning-shared.md
- •Include: Intent name, Unit summary table, Proposed Bolts section, dependency graph, technical decisions, acceptance criteria
- •This must complete first to provide the parent page ID for Units
Phase B: Create Unit + Tasks (parallel, one agent per Unit)
- •
Spawn one sub-agent per Unit using the Task tool:
- •Use
subagent_type: "confluence-creator"(aidlc plugin agent) - •Pass the Units Overview page ID as the parent
- •Pass Unit definition and all Task definitions
- •Spawn all sub-agents in a single message (parallel execution)
Each sub-agent creates:
- •The Unit page (child of Units Overview)
- •All Task pages for that Unit (children of Unit page)
- •Returns page IDs and URLs for consolidation
- •Use
- •
Consolidate sub-agent results:
- •Collect all Unit page IDs and Task page IDs
- •Verify all pages were created successfully
- •Report any failures and offer to retry
Step 8: Request Review
Summarize the full decomposition:
- •Tasks grouped by Unit (with links to Confluence pages)
- •Proposed Bolt groupings per Unit
- •Dependencies and risks
Ask explicitly: "The Tasks are now in Confluence for team review. Please add inline and footer comments, then return for comment resolution."
⛔ STOP — Review Gate
Phase 1 is complete. The team will now review the Tasks in Confluence.
This is a human activity that happens outside of Claude.
Team members should:
- •Review each Task page
- •Add inline comments on specific text that needs clarification or changes
- •Add footer comments for general feedback
- •Reply to existing comments to discuss
- •Review the Proposed Bolts section and suggest adjustments
Wait for the user to return and request comment resolution before continuing to Phase 2.
Phase 2: Team Review in Confluence
(Human activity - no Claude involvement)
The team reviews Tasks in Confluence by:
- •Adding inline comments on specific text selections
- •Adding footer comments for general page feedback
- •Replying to comments for discussion
- •Reviewing proposed Bolt groupings
Phase 3: Comment Resolution
This phase is typically run in a NEW Claude session after the team has completed their review.
Step 9: Fetch All Comments
For each page (Units Overview, Unit pages, Story pages):
- •Fetch inline comments using
getConfluencePageInlineComments - •Fetch footer comments using
getConfluencePageFooterComments - •Include replies - comments have threaded replies that must be read
Present a summary of all comments organized by page.
Step 10: Address Feedback
For each comment:
- •Analyze the feedback and any reply thread
- •Determine the appropriate action:
- •Update Task content if the feedback is valid
- •Clarify if the feedback is based on a misunderstanding
- •Escalate if the feedback requires a decision beyond scope
Step 11: Update Content
Update the Confluence pages to address feedback:
- •Use
updateConfluencePageto modify Task content - •Update Proposed Bolts section if groupings need adjustment
- •Ensure changes address the specific feedback
Step 12: Reply to Comments
Reply to each comment explaining how it was addressed:
- •Use
createConfluenceInlineComment(withparentCommentId) for inline comment replies - •Use
createConfluenceFooterComment(withparentCommentId) for footer comment replies
Step 13: Mark Comments Resolved
After addressing feedback, comments should be marked as resolved. Note: Confluence inline comments have a resolution status; footer comments are resolved by the reply thread.
⛔ STOP — Reorganization Gate
Phase 3 is complete. Before proceeding to design, the team may need to reorganize Tasks into different Units.
Ask: "Are you ready to proceed with the current Unit groupings, or do you need to reorganize Tasks first?"
Phase 4: Unit Re-assessment and Reorganization
This phase applies domain knowledge and architectural principles to validate and refine Unit boundaries and Bolt groupings before proceeding to design.
Step 14: Apply Unit Re-assessment Criteria
Evaluate each Unit against these AI-DLC principles:
| Criterion | Question | Action if Failed |
|---|---|---|
| Domain Alignment | Does each Unit map to a coherent subdomain? | Split or merge Units to align with domain boundaries |
| Loose Coupling | Are cross-Unit dependencies minimized? | Regroup Tasks to reduce dependencies |
| High Cohesion | Are related Tasks grouped together? | Move Tasks between Units |
| Independent Value | Can each Unit deliver value independently? | Ensure each Unit has a clear deliverable |
| Parallel Execution | Can Units be built in parallel by different teams? | Resolve blocking dependencies |
Present the re-assessment findings to the user:
- •Which Units pass all criteria
- •Which Units need adjustment and why
- •Proposed regrouping (if any)
Step 15: Regroup into Units
If regrouping is needed based on re-assessment:
- •Move Task pages between Unit pages (update parent page ID)
- •Rename/repurpose Unit pages where possible (avoid creating new pages unnecessarily)
- •Create new Unit pages only when necessary
- •Archive Unit pages that are no longer needed
- •Document the rationale for Unit boundaries in the Units Overview
Step 16: Refine Bolt Groupings
Review and refine the Proposed Bolts on the Units Overview:
- •Verify each Bolt forms a cohesive scope (2 hours to 3 days of work)
- •Check Tasks are grouped logically (related functionality)
- •Ensure no circular dependencies between Bolts
- •Verify bolt-to-bolt dependencies are explicitly identified
- •Verify phase and lane assignments reflect actual dependency chains
- •Adjust groupings based on re-assessment findings
If adjustments needed:
- •Move Tasks between Bolts
- •Split large Bolts (>3 days of work)
- •Merge small Bolts (<2 hours of work)
- •Reassign phases/lanes if dependency structure changed
- •Update Units Overview with refined Bolt Execution Plan (Phase/Lane table format)
Step 17: Update Units Overview
Update the Units Overview page to reflect the new groupings:
- •Update the Unit summary table
- •Update the Proposed Bolts section with refined groupings
- •Update the dependency graph
- •Update Task counts
- •Add "Unit Boundary Rationale" section documenting why Units are grouped this way
Step 18: Update Workflow Status
Update the Confluence Intent page status table:
- •Set "Unit Decomposition" row to "✅ Complete" with today's date
- •Add note that Units are ready for design phase
Step 19: Chain to Design
Report back with:
- •Summary of Units and their Tasks (with Confluence links)
- •Refined Bolt groupings per Unit
- •Boundary rationale for each Unit
- •Any cross-cutting concerns or dependencies
Ask whether to proceed with Domain Design for any Unit.
If yes, invoke /aidlc-design with the Unit context.
Note: Jira transfer happens later in
/aidlc-verifyafter design is complete and documentation has been verified. Final Bolt groupings are confirmed during verify before creating Jira artifacts.
Workflow Chain
- •Previous:
/aidlc-intent(Intent documentation) - •Next:
/aidlc-design(Domain and Logical Design)
Definition of Done
Phase 1 (Confluence Pages Created)
- •Theme clusters identified and confirmed with user
- •Subagents spawned in parallel for Task elaboration
- •All subagent results consolidated
- •Units Overview page created as child of Intent
- •Unit pages created as children of Units Overview
- •Task pages created as children of their respective Units
- •All pages include acceptance criteria, dependencies, risks
- •Proposed Bolt groupings documented on Units Overview
- •User notified to begin team review
Phase 2 (Team Review)
- •Team has reviewed all Task pages in Confluence
- •Inline and footer comments added
- •Comment threads include replies/discussion
- •Proposed Bolt groupings reviewed
Phase 3 (Comment Resolution)
- •All comments fetched (inline + footer + replies)
- •Task content updated to address feedback
- •Replies posted explaining how feedback was addressed
- •Comments marked as resolved
Phase 4 (Unit Re-assessment and Reorganization)
- •All Units evaluated against re-assessment criteria (domain alignment, loose coupling, high cohesion, independent value, parallel execution)
- •Tasks regrouped based on domain knowledge and architectural principles
- •Task pages moved between Units as needed
- •Unit pages renamed/repurposed (not duplicated)
- •Bolt groupings refined based on re-assessment
- •Units Overview updated with new groupings, Bolt proposals, and boundary rationale
- •Workflow status table updated in Confluence
- •User informed that next step is
/aidlc-design
Note: Jira transfer (Sub-epics → Units, Stories → Bolts, Sub-tasks → Tasks) happens later in
/aidlc-verifyafter design and verification are complete.
Troubleshooting
- •Too many Tasks: Consider splitting into multiple Units or deferring lower-priority Tasks.
- •User wants to skip Confluence phase: Allow override but recommend Confluence for team collaboration.
- •Subagent failure: Report which theme cluster failed and offer to retry or elaborate manually.
- •Single theme identified: Still spawn one subagent for consistency; workflow proceeds normally.
- •Comment resolution in same session: If user wants to resolve comments immediately (no new session), proceed with Phase 3 in the current session.
- •Moving pages between Units: Use
updateConfluencePagewith a newparentIdto move Task pages. - •Bolt grouping disagreement: Present alternative groupings and let user decide; document rationale for chosen approach.