florianbruniaux/claude-code-ultimate-guide/execute
Claude Code and agent skill by florianbruniaux/claude-code-ultimate-guide
- community
Checking that the SKILL.md file is still in the repository.
Execute a validated plan: worktree isolation, TDD scaffolding, level-based parallel agents, quality gate with smoke test, PR creation and merge. Handles everything through to merged PR.
Install
npx vskill@latest install florianbruniaux/claude-code-ultimate-guide/executeSKILL.md
/plan-pipeline:execute: Execution to merged PR
Execute the validated plan in an isolated worktree. Spawn per-task agents, verify quality, create and merge the PR. Handles everything through to cleanup.
Run /clear before this command.
Prerequisite
A validated plan must exist at docs/plans/plan-{name}.md with all issues resolved (output of /plan-pipeline:validate).
Step 1: Worktree setup
Create an isolated git worktree:
All execution happens inside the worktree. Main branch remains clean throughout.
Step 2: TDD scaffolding
Only for tasks marked as TDD in the plan.
For each TDD task, before any implementation:
- Write the failing test(s) that define the acceptance criteria
- Run tests to confirm they fail (red)
- Commit the failing tests
- Mark the test file in the task for the implementation agent to find
Do not write implementation code in this step.
Step 3: Level-Based parallel execution
Parse the task list from the plan. Group tasks by layer (Layer 1 = foundation, Layer 2 = depends on Layer 1, etc.).
For each layer:
- Identify all tasks in the layer
- Spawn one agent per task in parallel (Task tool, run_in_background: true)
- Each agent receives: its task description, files to modify, acceptance criteria, and relevant ADRs
- Monitor all agents by reading the output path reported by the agent via
Read(TaskOutput was removed in v2.1.278) - Each agent commits on task completion:
git commit -m "feat: {task-description}" - Wait for all tasks in the layer to complete before starting the next layer
Drift detection: after each layer, diff the actual changes against the plan spec. If implementation deviates significantly from the plan (new files not in plan, plan files not touched), flag and ask how to proceed. Do not silently continue on drift.
Agent instructions for each task:
Step 4: Quality gate
Run in parallel:
- Linter
- Type checker (if applicable)
- Full test suite
If all pass: proceed to smoke test.
If any fail: spawn a quality-fixer debug agent with the failure output. It gets up to 3 auto-fix attempts. After each attempt, re-run the quality gate. If still failing after 3 attempts: stop, report the failure with the full error output, and wait for human intervention.
Integration smoke test (skip for pure frontend or docs-only plans):
Run the smoke commands defined in the plan's ## Integration Verification section. Additionally:
- If GraphQL: run an introspection probe to verify schema is accessible
- If Docker services: scan container logs for ERROR-level entries
- If new API routes: verify each returns expected status codes
Smoke test failures are debugged by a quality-fixer-smoke agent with the same 3-attempt limit.
Step 5: Pre-PR documentation
In the worktree, before creating the PR.
PRD Reconciliation: compare the implemented behavior against the original PRD. Note any deviations or additions discovered during implementation. Update the PRD with actuals. These updates ship in the same PR as the feature.
Plan Archival: move docs/plans/plan-{name}.md to docs/plans/completed/plan-{name}.md. Update the status header.
Commit documentation updates: docs: reconcile PRD and archive plan for {feature-name}.
Step 6: Push and PR
Push the worktree branch and create the PR:
PR body template:
Merge using squash:
Step 7: Post-Merge metrics
Switch back to develop/main. Update docs/plans/metrics/{name}.json with execution data:
- Task count and per-layer breakdown
- TDD task count
- Diff stats (files changed, lines added/removed)
- Quality gate results (pass/fail, fix attempts)
- Smoke test results
- Drift score (0-1, how closely implementation matched plan)
- PR data (number, merge commit, timestamp)
Commit metrics update.
Step 8: Worktree cleanup
Usage
Picks up the most recent validated plan. Or specify:
Output
When to use
After /plan-pipeline:validate confirms all issues are resolved. Never skip validation: executing an unvalidated plan skips the independent review that catches ~18 issues on average.
Pipeline position
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/skills/plan-pipeline/execute/SKILL.md
Popularity
- Repository stars
- 6,257
- Repository forks
- 814
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/florianbruniaux/claude-code-ultimate-guide/execute)