بنقرة واحدة
plan
Decompose work into small testable tasks with clear dependencies
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Decompose work into small testable tasks with clear dependencies
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Decompose a large system specification into cook-it-ready epic beads via DDD bounded contexts
Reference for configuring, launching, and monitoring infinity loops and polish loops
Decompose a large system specification into cook-it-ready epic beads via DDD bounded contexts
Reflect on the cycle and capture high-quality lessons for future sessions
Full-cycle orchestrator chaining all five phases with gates and controls
Decompose work into small testable tasks with clear dependencies
| name | Plan |
| description | Decompose work into small testable tasks with clear dependencies |
| phase | plan |
Create a concrete implementation plan by decomposing work into small, testable tasks with dependencies and acceptance criteria.
Resolve the spec file: read the Spec: pointer in the epic stub (bd show <epic>) or the Spec: bead note, and open that docs/specs/ file as the source of truth. If no spec-file pointer exists (legacy epic, or the epic was entered directly at plan), CREATE docs/specs/<epic-id>-<slug>.md now: write the frontmatter and the spec content from the epic description (or a brief stub if the description has none) through an empty ## Amendments section, set the epic description to the pointer stub, add the Spec: bead note, and register the file in docs/specs/index.md. This guarantees a writable spec file for the Acceptance Criteria and Verification Contract sections below. Read the spec for EARS requirements, decisions, and open questions. Verify the epic's type is epic -- if it was created as task, fix with bd update <id> --type=epic
Search memory with ca search and docs with ca knowledge "relevant topic" for architectural patterns and past mistakes
Spawn subagents via Task tool in parallel for research (lightweight, no inter-agent coordination):
.claude/agents/compound/repo-analyst.md, memory-analyst.mdFor decisions requiring deep technical grounding, invoke the researcher skill to produce a survey document. Review findings before decomposing into tasks.
Synthesize research findings into a coherent approach. Flag conflicts between ADRs and proposed plan.
Use AskUserQuestion to resolve ambiguities, conflicting constraints, or priority trade-offs before decomposing
Decompose into tasks small enough to verify individually
Define acceptance criteria for each task
Ensure each task traces back to a spec requirement for traceability
Generate Acceptance Criteria table: Extract testable criteria from EARS requirements and append them to the resolved spec FILE (docs/specs/<epic-id>-<slug>.md), inserting the section just before the ## Amendments section. Use this format:
## Acceptance Criteria
| ID | Source Req | Criterion | Verification Method |
|----|-----------|-----------|---------------------|
| AC-1 | EARS-N | When X, system shall Y within Z | unit test / manual / integration |
Rules:
## Acceptance Criteria section immediately before ## Amendments. Do NOT write it to the epic description.Generate Verification Contract: Derive a minimal, per-epic definition of done and append it to the resolved spec FILE (docs/specs/<epic-id>-<slug>.md), inserting the ## Verification Contract section just before the ## Amendments section (after the Acceptance Criteria section). Use this format:
## Verification Contract
Profile: webapp | api | cli | library | service | mixed
Surfaces:
- ui_surface
Risks:
- user_visible_quality
Required evidence:
- test
- lint
- build
Rules:
webapp -> test, lint, build, runtime_startup, browser_evidenceapi -> test, lint, build, runtime_startup, contract_checkscli -> test, lint, build, help_version_check, command_transcriptlibrary -> test, lint, build, examples_run, public_api_reviewservice -> test, lint, build, runtime_startup, config_validationui_surface -> responsive_check, edge_states_check, console_network_clean, a11y_smoke, design_craft_checkpublic_api -> contract_examples, backward_compat_reviewpersistence_schema -> roundtrip_test, migration_check, backcompat_checkpackaging_or_distribution -> package_build, install_smokedocs_or_examples -> docs_examples_syncauth_or_security -> auth_failure_pathsperformance_sensitive -> performance_budget_checkSurfaces and Risks; prefer consistency over novelty.AskUserQuestion once before finalizing the plan.## Verification Contract section immediately before ## Amendments. Do NOT write it to the epic description.Map dependencies between tasks
Create beads issues: bd create --title="..." --type=task
Create review and compound blocking tasks (bd create + bd dep add) that depend on work tasks — these survive compaction and surface via bd ready after work completes
ca search and ca knowledge "relevant topic" for patterns related to the feature areadocs/ for relevant specs, standards, and researchdocs/decisions/ for existing ADRs that constrain or inform the planAskUserQuestion before decomposing## Amendments## AmendmentsAfter creating all tasks, verify review and compound tasks exist:
bd list --status=open and check for a "Review:" task and a "Compound:" taskdocs/specs/<epic-id>-<slug>.md) and confirm the ## Acceptance Criteria section exists before ## Amendments. If missing, the plan is NOT complete.docs/specs/<epic-id>-<slug>.md) and confirm the ## Verification Contract section exists before ## Amendments. If missing, the plan is NOT complete.