From discuss-and-execute
Executes a wave-structured PLAN with parallel agents, committing per wave. Requires .context/PLAN-<SLUG>.md (run /plan-waves first). <triggers> /execute, execute wave plan, dispatch waves, run execute, execute with subagents, run wave plan </triggers>
How this skill is triggered — by the user, by Claude, or both
Slash command
/discuss-and-execute:executeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute with every convention, concern, and decision baked into each agent's prompt — no surprises at review.
Execute with every convention, concern, and decision baked into each agent's prompt — no surprises at review.
Requires: .context/PLAN-<SLUG>.md (run /plan-waves first)
---
config:
layout: elk
---
graph LR
A["/execute [slug]"] --> B["Load context"]
B --> WAVE
subgraph WAVE["Per-Wave Loop"]
direction TB
C["Spawn implementers"] --> D["Poll TaskList for completion"]
subgraph REVIEW["Cross-Review Sub-Wave"]
E["SendMessage review assignments"] --> F{"Blockers?"}
F -->|Yes| H["SendMessage fix requests"]
H --> I["Poll for fixes"]
I --> E
end
D --> E
F -->|No| J["Commit wave"]
end
J --> MORE{"More waves?"}
MORE -->|Yes| C
MORE -->|No| AUDIT["/audit pre-ship<br/>conventions, concerns, decisions, tests"]
AUDIT -->|PASS| DONE(["Complete"])
AUDIT -->|FAIL| FIXAUDIT["Fix"] --> AUDIT
## You Are The Orchestrator
When this skill runs, YOU coordinate everything. You spawn subagents via the Agent tool, poll TaskList for completion, and use SendMessage to send follow-up instructions to idle subagents.
Communication model:
Track all progress through TaskList.
You are implementing Task {wave}.{task} from the plan.
**Task:** {task summary}
**Files you own (ONLY modify these):** {file list}
**Decisions that apply:** {D-XX entries from CONTEXT}
**Known concerns for your files:** {relevant CONCERNS.md entries}
**Codebase context:**
- Conventions: read .context/codebase/CONVENTIONS.md
- Testing: read .context/codebase/TESTING.md
- Architecture: read .context/codebase/ARCHITECTURE.md
- Integrations: read .context/codebase/INTEGRATIONS.md
**Acceptance criteria:** {AC list}
**Your task ID:** {task_id} — update via TaskUpdate as you work.
Implement this task. Write tests. When done, update your task to completed.
Review Task {other_task}'s changes. You built Task {your_task} in this wave,
so review from that perspective.
**Their files:** {file list}
**Their task:** {task summary}
Check for: integration issues with your work, file ownership violations,
D-XX compliance, convention violations, bugs, test gaps.
Return findings as: severity (blocker/suggestion/note), file, line, issue, fix.
When done, update your task to completed.
If slug provided, read .context/PLAN-<SLUG>.md. Otherwise list available PLANs and ask. Verify CONTEXT doc still exists.
.context/codebase/Create TaskCreate entries for ALL tasks across ALL waves upfront. Wire dependencies with addBlockedBy:
For each wave:
_Wave <N>: [theme] — [count] tasks dispatching..._
Implementation sub-wave:
subagent_type: "discuss-and-execute:implementer"name: "impl-<WAVE>-<TASK>" (e.g., impl-1-1)run_in_background: truecompletedCross-review sub-wave (shift-left round-robin):
Each implementer reviews the next implementer's work. They already have full context from the implementation sub-wave.
impl-<WAVE>-1 reviews impl-<WAVE>-2's filesimpl-<WAVE>-2 reviews impl-<WAVE>-3's filesimpl-<WAVE>-N reviews impl-<WAVE>-1's filescompletedFix sub-wave (if blockers found):
## Escalation: [type]
**Wave:** [N] | **Task:** [ref] | **Issue:** [description]
**What was tried:** [attempts]
**Options:**
1. [expand file ownership]
2. [merge tasks]
3. [skip and proceed]
Commit:
git add changed files, commit: feat: Wave <N> — {summary}_Wave <N> complete ([count] tasks, [fix cycles] fix cycles)_
Implementers do NOT commit. You commit per-wave after cross-review passes.
Cross-wave handoffs: For later-wave tasks, include in the implementer's prompt: "This file was modified by Task X.Y in Wave N. Read it as-is and build on those changes."
Audit all changed files:
Pre-ship audit: .context/PLAN-<SLUG>.md
| Check | Status | Details |
|-------|--------|---------|
| Conventions | PASS/FAIL | [specifics] |
| Concerns | PASS/FAIL | [specifics] |
| Decisions | PASS/FAIL | [specifics] |
| Tests | PASS/FAIL | [specifics] |
If any FAIL: fix before proceeding. If all PASS: continue.
Execution complete: .context/PLAN-<SLUG>.md
Waves completed: [N/N]
Tasks completed: [M/M]
Fix cycles needed: [count]
Pre-ship audit: PASS
Files changed:
[consolidated list]
Next steps:
- Run tests: [test command from TESTING.md]
- Review changes: git diff
- /discuss [next task] for more work
npx claudepluginhub emmahyde/dotfiles --plugin discuss-and-executeProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.