From workbench
Use when a design spec or approved requirements need to become a concrete, step-by-step implementation plan before code changes.
npx claudepluginhub pgoell/pgoell-claude-tools --plugin workbenchThis skill uses the workspace's default tool permissions.
Write implementation plans that a fresh agent can execute task by task without guessing.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Write implementation plans that a fresh agent can execute task by task without guessing.
Use this after workbench:writing-spec or after the user provides approved requirements. The output is a concrete plan with exact file paths, bite-sized checkbox steps, test commands, expected results, and commit points.
Assume the implementer is a capable engineer with little project context. Give them enough detail to work correctly, but keep the plan focused on the requested change. DRY, YAGNI, TDD, and frequent commits are the default.
Resolve the plan path in this order:
.workbench/autopilot.md Plans: heading.CLAUDE.md or AGENTS.md plan-path convention.docs/workbench/plans/YYYY-MM-DD-<feature-name>.md.If the resolved value is don't commit, write the plan to /tmp/<project-name>-autopilot/YYYY-MM-DD-<feature-name>.md and skip committing it.
Before writing tasks, check whether the spec covers multiple independent subsystems. If it does, stop and split it into separate plans, one per independently testable change.
Each plan should produce working, testable software on its own.
Before defining tasks, map which files will be created or modified and what each file is responsible for.
This file map governs the task decomposition.
Each checkbox step should be one small action:
Avoid broad steps that require the implementer to invent missing details.
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use `workbench:test-driven-development` for implementation chunks. Use `workbench:dispatching-parallel-agents` when independent tasks can safely fan out. Use `workbench:subagent-driven-development` for delegated plan execution, or execute sequentially in the main session when subagents are unavailable. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about the approach]
**Tech Stack:** [Key technologies, libraries, and commands]
---
Use this shape for each task:
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/new-file.ext`
- Modify: `exact/path/to/existing-file.ext`
- Test: `tests/exact/path/to/test-file.ext`
- [ ] **Step 1: Write the failing test**
```language
complete test code
```
- [ ] **Step 2: Run the test to verify it fails**
Run: `exact test command`
Expected: FAIL with the missing behavior or assertion named explicitly.
- [ ] **Step 3: Write the minimal implementation**
```language
complete implementation code or precise patch-sized instructions
```
- [ ] **Step 4: Run the test to verify it passes**
Run: `exact test command`
Expected: PASS.
- [ ] **Step 5: Commit**
```bash
git add exact/path/to/test-file.ext exact/path/to/existing-file.ext
git commit -m "type(scope): describe the change"
```
Never write plan steps that leave work to interpretation:
TBD, TODO, implement later, or fill in details.After writing the plan, dispatch a fresh-eyes reviewer subagent before presenting it. The reviewer should not receive the conversation history. Give it only the plan path, the source spec or requirements path when available, and the prompt template in plan-reviewer-prompt.md.
Claude Code: Agent tool, general-purpose subagent_type, no model override.
Codex: equivalent general-purpose subagent.
The reviewer checks:
Apply the reviewer's blocking findings inline. No re-review is required. Advisory recommendations do not block handoff unless they expose a real implementation risk.
After saving the plan, report the path and offer the execution route that fits the runtime:
Plan complete and saved to `<path>`.
Recommended execution: use `workbench:test-driven-development` for each implementation chunk. If subagents are available, use `workbench:subagent-driven-development`; otherwise execute the checkbox steps sequentially in this session. Use `workbench:dispatching-parallel-agents` only for independent tasks with disjoint write scopes.
Do not start implementation until the plan is saved, the reviewer pass is complete, and the required implementation discipline is clear.