/autoworker:deep-planfrom autoworker
Structured deep discussion for Plan Mode. Guides through 5 phases (motivation, assumptions, design, acceptance criteria) to ensure thorough questioning before writing a plan. Call immediately after entering Plan Mode for non-trivial tasks.
Ships in autoworker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Invoke immediately after entering Plan Mode. Ensures discussion depth through 5 structured phases, producing a structured plan file for autoworker:subtask-init to extract from.
Core idea: Plan depth determines the quality ceiling of the execution chain. autoworker:subtask-init extracts from the plan file, autoworker:subtask-plan derives the verification plan from it. If the discussion is shallow, the entire chain — no matter how well-structured — is verifying an insufficiently thought-through solution.
Goal: Understand what problem the user truly needs to solve, rather than rushing to think about how.
Pre-action: Check if the project has a task_plan.md. If so, read the overall goals and phase list; subsequent questioning should address the relationship to the overall plan.
Questioning approach (use AskUserQuestion, 2-3 questions per round):
Anti-patterns:
Depth gate: Motivation expressible in 1-3 clear sentences (WHY + consequence of not doing it). Can't write it = don't understand it = keep asking.
Goal: Make implicit assumptions explicit and challenge each one.
Steps:
List assumptions: Extract all implicit premises from Phase 1 discussion
Challenge each one (AskUserQuestion):
Explore code (Glob/Grep/Read):
Depth gate: Each assumption either has a verification method (one-line command) or is flagged as risk ("cannot pre-verify, monitor during execution").
Goal: Derive solution from motivation, not apply from experience.
Steps:
Solution review — four questions (any unsatisfactory → redesign):
Depth gate: User explicitly chose a solution + can articulate the reason.
Goal: Define how to judge "done", giving the execution phase clear expectations.
Steps (AskUserQuestion):
Categorized discussion:
Every metric must have a measurement method:
Confirm completeness with user:
Depth gate: Every metric can directly become an L4 test case (has input, has operation steps, has expected output).
Standard for "discussed thoroughly": Goals, motivation, core assumptions, acceptance criteria all clear — during execution, when actual results deviate, you can logically analyze the cause rather than guess blindly.
Goal: Consolidate Phase 1-4 discussion output into the plan file.
95% confidence self-check: If you write the plan now and the user accepts it, would they overturn it due to misunderstanding? No = ready to output. Yes = return to the relevant Phase and continue discussing.
Plan file format (fixed structure, autoworker:subtask-init extracts by section):
# Plan: <task name>
## task_plan Positioning
Corresponds to Phase: <Phase number and name from task_plan.md, or "N/A" if no task_plan>
Position in overall plan: <dependencies, what completing this unlocks>
## Motivation
<1-3 sentences: WHY + consequence of not doing it>
## Core Assumptions
| Assumption | What if wrong | Verification method |
|-----------|---------------|-------------------|
## Design Decisions
| Decision point | Choice | Alternative | Reason for choice |
|---------------|--------|-------------|-------------------|
## Acceptance Criteria
| Metric | Type | Measurement (command) | Expected value/range | Tolerance |
|--------|------|----------------------|---------------------|-----------|
## Implementation Plan
### Phase 1: <phase name>
- ...
### Phase 2: ...
## Verification
L1: <specific items>
L2: <specific items>
L3: <specific items>
L4: <specific items>
## Files Involved
| # | File | Change type |
|---|------|------------|
Write: Write the above content to the plan file (path specified in Plan Mode system message).
Output:
Plan complete:
- Motivation: <one sentence>
- Assumptions: <N> (<M> have verification methods)
- Solution: <chosen solution> (compared <K> alternatives)
- Acceptance criteria: <N> (quantitative <X> / behavioral <Y>)
- Phases: <N>
→ ExitPlanMode
Then immediately call ExitPlanMode.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/autoworkerAuto-loop execution workflow with quality gates. Use when starting any non-trivial implementation task. Provides automatic task decomposition, code implementation, testing (L1-L4), and iterative quality gates until completion. Invoke with /autoworker.
/checkpointRecord progress to subtask: Phase completion (from autoworker:code) or test results (from autoworker:test).
Auto-detects upstream type from conversation context. Ends by calling autoworker:dispatch.
/codeImplement ONE pending Phase from subtask plan. Only write code, do not mark checkboxes or run tests.
Called by autoworker:dispatch. Ends by calling autoworker:checkpoint.
npx claudepluginhub phj128/autoworker --plugin autoworkerOther plugins' skills for the same job