From autoworker
Structured deep discussion for Plan Mode. Runs inside EnterPlanMode to ensure thorough questioning before writing a plan. Covers motivation, assumptions, design, acceptance criteria. Call this immediately after entering Plan Mode for any non-trivial task.
npx claudepluginhub phj128/autoworker --plugin autoworkerThis skill uses the workspace's default tool permissions.
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.
Strategic planning with auto-calibrated detail, decision rationale, and dependency ordering. Use when starting a new feature, bug fix, refactor, or any non-trivial work. Produces a plan document with tasks, reasoning, and acceptance criteria. Triggers: plan, planning, create plan, implementation plan, feature plan, work plan.
Creates structured plans for multi-step tasks including software features, implementations, research, or projects. Deepens plans via interactive sub-agent reviews.
Creates structured plans for multi-step tasks like software features, research workflows, events, or study plans. Deepens existing plans with interactive sub-agent reviews.
Share bugs, ideas, or general feedback.
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.