From idd
Starts implementation from Intent: validates INTENT.md and plan.md completeness, then delegates to TaskSwarm or executes TDD phases directly. Use /intent-build-now [path] when ready.
How this skill is triggered — by the user, by Claude, or both
Slash command
/idd:intent-build-nowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Start building from Intent. Validates completeness, then chooses execution path.
Start building from Intent. Validates completeness, then chooses execution path.
/intent-build-now [path]
↓
Locate Intent + plan.md
↓
Validate completeness ──→ Incomplete? ──→ Show gaps, suggest /intent-plan
↓
Check for TaskSwarm
│
├── Has TaskSwarm + TASK.yaml ──→ Delegate to /swarm run
│
└── No TaskSwarm ──→ Execute TDD phases directly
Search for Intent files in order:
intent/{name}/ directoriesRequired files:
INTENT.md - The intent documentplan.md - Execution plan with test matrixOptional:
TASK.yaml - TaskSwarm status fileIf plan.md missing:
plan.md not found.
Run /intent-plan first to generate the execution plan.
| Section | Purpose | How to Fix |
|---|---|---|
| Responsibilities | What it does / doesn't do | Use /intent-interview to clarify scope |
| Structure | ASCII diagram of components | Add ## Structure with ASCII diagram |
| API | Function signatures | Define key interfaces in ## API |
| Check | Criteria |
|---|---|
| Phases | Has ## Phase 0: or more phases |
| Tests | Each phase has 6 test categories |
| E2E Gate | Each phase has ### E2E Gate |
| Checkboxes | Uses - [ ] format |
## Intent Validation: NEEDS WORK
Missing elements:
1. **plan.md missing E2E Gate for Phase 1**
- Add `### E2E Gate` with verification script
2. **plan.md Phase 0 missing Data Leak tests**
- Add `#### Data Leak` section with test cases
Run /intent-plan to regenerate, or fix manually.
Detect TaskSwarm by checking:
TASK.yaml exists in intent directory/swarm skill)If both conditions met:
## Intent Validation: PASSED ✓
TaskSwarm detected. Delegating execution...
Your Intent is ready. Run:
/swarm run {task_name}
Or for continuous execution:
/swarm run-all
TaskSwarm will:
- Claim the task atomically
- Execute phases with TDD discipline
- Update checkboxes in plan.md
- Commit after each phase
- Push to remote
Do NOT execute phases yourself when TaskSwarm is available.
If TaskSwarm not available:
## Intent Validation: PASSED ✓
No TaskSwarm detected. Executing directly...
Starting Phase 0: {phase_name}
Then execute TDD loop for each phase:
For each Phase:
1. Read ### Tests section
2. For each unchecked test `- [ ]`:
a. Write test code (if not exists)
b. Run test → expect failure (red)
c. Write implementation
d. Run test → expect pass (green)
e. Update plan.md: `- [ ]` → `- [x]`
3. Run E2E Gate script
4. Git commit: "feat({scope}): Phase {n} - {phase_name}"
5. Continue to next Phase
After all phases complete:
## Build Complete ✓
All phases executed:
- Phase 0: {name} ✓
- Phase 1: {name} ✓
Next steps:
- Run /intent-sync to update Intent with confirmed details
- Run /intent-check to verify consistency
/intent-interview # Create Intent from scratch
↓
/intent-review # Section-by-section approval
↓
/intent-plan # Generate plan.md + TASK.yaml
↓
/intent-build-now # THIS SKILL
↓
┌───────────────────────────────────────┐
│ Has TaskSwarm? │
│ Yes → /swarm run (delegate) │
│ No → Execute TDD directly │
└───────────────────────────────────────┘
↓
/intent-sync # Sync confirmed details back
When executing without TaskSwarm, follow strict TDD:
Each phase's E2E Gate script MUST pass before proceeding:
# Run the E2E Gate script from plan.md
# Example: pnpm test -- --grep "Phase 0"
# If fails: Stop and fix
# If passes: Continue to next phase
npx claudepluginhub arcblock/idd --plugin iddTransforms approved Intents into executable TDD phased plans requiring tests first (happy/bad/edge/security/leak/damage) per phase with CLI E2E gates. Use after /intent-review for TaskSwarm.
Use when you have a spec or requirements for a multi-step task, before touching code
Structures multi-step implementation tasks into a phased plan.json manifest with intent-based task descriptions, validation, and self-review gates.