/dev:explorefrom dev
Read-only requirement and codebase exploration before planning. Use when the user asks how code works, wants relevant files and validation commands identified, has an unclear or open-ended development request, needs implementation approaches compared before dev:write-plan, or wants a plan or design grilled/stress-tested. For a change its consumer can perceive — a page, a flow, copy, a CLI command or output, an API call shape — clarifies the product first (interaction flow, states, UI structure, scope) from the product surface, confirms it, and only then reads the implementation and grills the technical design. Clarifies by grilling by default — one question at a time with a recommended answer until the design holds up; say "don't grill me" for minimal questioning. Never edits files; reports findings, product conclusions, clarified requirements, and an approved design direction in chat.
Ships in dev. 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.
Clarify the requirement — for a change its consumer can perceive, the product behaviour first — explore the relevant code, and when the user proposes a change, converge on a design direction before planning. Do not implement, do not write plans, and do not modify files. The output is a concise understanding and, when applicable, an approved direction that the user or dev:write-plan can use.
file:line and credential type, and recommend rotation.dev:write-plan.These four items must carry a resolved value before work passes to the next phase. Resolve them from the current request, earlier user decisions, and inspected facts; whatever is genuinely the user's to decide is put to them at dev:explore's two fixed gates — the product confirmation for a perceptible change, and the departure check — and is never re-asked afterwards. Resolving internally applies to factual questions only; it never cancels either gate. Record the source of each result briefly in the handoff or plan. Do not create a separate state file.
discussion or implementation (including verification). A discussion request ends in chat; an implementation request continues through planning and execution. No endpoint stops the chain once a plan is written. Derive discussion from the request — that path ends at the report and never reaches the departure check; implementation is set at the departure check's autopilot item, which also sets Plan review (none or audit): with audit, dev:write-plan sends the finished plan to a top-tier subagent for an independent audit, revises it on the findings, and continues to implementation without stopping. Readiness is not authorization to expand scope, and silence is not approval.subagent(sonnet), subagent(opus), subagent(fable), or self. Reuse a recorded selection without re-asking. Use deferred only for work no departure check settled, such as a discussion; resolve it when execution is actually needed, using dev:execute-plan's "Choose execution mode" rules. A mode the host cannot support falls back per those rules and is reported, never silently.<dev-workspace> block (kind main or linked) and apply the planning/execution isolation rules to it: from the main worktree dev:write-plan cuts the requirement's branch and worktree and continues there (isolated); inside a linked worktree the work continues where it already is (current). Only an explicit request to stay changes that. Check cleanliness, dependencies, and drift yourself at the phase that needs them; report concrete blockers instead of asking the user to perform routine checks.For each item, retain a value and its basis: departure-check answer, later user instruction, applicable default, inspected fact, or not applicable. A later explicit user instruction overrides an older handoff or plan field; update the affected fields without reopening settled items. Do not advance dependent work while a user decision remains unresolved.
Once the departure check is answered, downstream skills treat its answers as standing authorization and run to the recorded endpoint without asking again. Discussion summaries carry the endpoint, the selected execution mode, and where the work will live; plans record Execution:, Stop after:, Plan review:, and Workspace: with a short basis. Pushing and opening PRs require an explicit user request, with one exception inside the implementation endpoint: dev:execute-plan pushes the branch and opens one pull request at close when its hook-injected publish block allows it, unless the user asked to leave the branch unpublished. Merging always requires an explicit user request; STOP and BLOCK conditions still apply.
Classify the request before reading the implementation or asking detailed questions. Read only what classification needs: the request itself, README, and the directory layout.
dev:write-plan.wiki/plans/20260821-share-link-claim) or design document and wants it grilled. Read it, verify its claims against the code, then grill through its decisions and assumptions branch by branch. The output is revision notes for dev:write-plan or the user, not a new direction.Do not let "this seems simple" skip clarification. For simple changes, the approved direction can be one or two sentences.
For any request that proposes a change, also decide — independently of the category — whether the change is perceptible: it alters what the consumer of the change sees or does. The consumer is whoever uses the result: a GUI user, a CLI user, an API caller, a skill invoker. Pages, interaction, flows, copy, CLI commands, flags, and output, the shape of an API call, a skill's prompt or response are perceptible surfaces. An internal bug fix, a refactor, infrastructure, or performance work has no perceptible surface. A perceptible change goes through step 2 before anything else, whatever its category — a clear, narrow change included. A non-perceptible change skips step 2. A request too broad for one plan is split first; perceptibility is decided for the slice being explored, not for the whole. The user can force or skip step 2 by saying so.
Settle what the change is from the consumer's side before reading how it is built. Three parts, in order.
Product recon. Read only the product surface the consumer already sees: routes, pages, screens, commands and their output, copy, the public shape of an API or skill. Do not read the implementation yet — questions asked after reading it drift toward implementation detail.
Product grilling. Walk these branches under the grilling rules of step 4; where those rules say to answer from the codebase, answer from the product surface:
Product confirmation. Summarize the conclusion of every branch and ask one structured question that confirms them (same tool convention as step 4). This confirmation is a fixed gate, not a judgment call: ask it for every perceptible change, even when the grilling already walked every branch with the user and every conclusion looks obvious. Never fold it into the departure check. Once confirmed, the product conclusions are settled: later steps do not re-ask them. If technical recon exposes a constraint that contradicts one, raise it as a single question with a recommended resolution; never change a product conclusion silently.
Read enough to understand the relevant terrain:
README, AGENTS.md/CLAUDE.md, contribution docs, root config, CI, package manager files, and directory layout.file:line.DESIGN.md, CONTEXT.md, ADRs, or architecture notes.If the user has a proposed change, grill the technical decisions until the direction holds up — but settle only the decisions worth settling before code is written. Design to the depth the risk demands and no deeper: a decision belongs here when reversing it later would be expensive, or when a competent implementer working from the live code and conventions could reasonably choose differently and the difference matters. Everything else is left to implementation — settled in the plan's execution brief, or left there as the executor's call — and the direction says so explicitly. Resolve dependencies between the decisions you do settle one by one, and give each question your recommended answer. For a perceptible change, the product conclusions confirmed in step 2 are settled input: grill the technical decisions only.
Ask the questions one at a time, waiting for feedback on each question before continuing. Asking multiple questions at once is bewildering. If a question can be answered by exploring the codebase, explore the codebase instead.
Opt-out: if the user says "don't grill me" or asks to keep it quick, ask only for decisions that cannot be inferred safely and derive the rest from code and conventions. The opt-out holds for the rest of the session unless the user asks to be grilled again. It narrows the grilling only: it removes neither the product confirmation nor the departure check.
Prefer the environment's structured user-question tool (AskUserQuestion, request_user_input, or an equivalent) with concrete options and a recommended default; fall back to plain chat for open-ended questions or when no such tool exists.
Grilling adapted from mattpocock/skills.
Compare approaches only where a real fork exists — where the code and conventions leave more than one sane path and the choice matters. Then lead with the recommended one and why, with practical trade-offs rather than generic pros and cons, scoped to the current goal and following existing project patterns unless there is a concrete reason to change them. Where there is one sane path, say so and move on; do not manufacture alternatives.
State the direction the way an experienced architect would: as short as the risk allows — one sentence for a narrow change, a few decisions for a feature, a picture of the boundaries only when the change reshapes them. Each settled decision sits at the altitude of the invariant, boundary, or contract it fixes, worded precisely enough that the rejected alternative is excluded, never as the edit that implements it. Name what is deliberately left to implementation, so an omission cannot be mistaken for a gap.
Converge on the direction in chat; if the user disagrees, revise and continue the discussion. Final approval happens once, in the departure check.
Report what the next step needs and nothing more.
file:line examples, existing design decisions, and risks, gaps, or broken validation baselines.dev:write-plan will have to write down and cannot derive: the product conclusions for a perceptible change, the clarified requirement, the settled decisions with their evidence, the questions put to the user with the options and answers (the plan's Discussion log), what is left to implementation, landmines, scope, and validation commands.For pure exploration, a discussion that ends in chat, or a plan stress-test, stop after the report. For a proposed change the user wants planned or implemented, run the departure check once the direction is clear enough for planning.
This is the workflow's last confirmation gate: everything the user must decide is settled here, and the rest of the chain runs without asking again. It is a fixed gate, not a judgment call — run it for every proposed change the user wants planned or implemented, even when the change is small and every item already has a recommended value, and even when the user's own request already answers some items: reuse those answers inside the question instead of skipping it. Ask one final structured question (use the user-question tool when available) that bundles three items. In every item that offers options, the recommended option comes first and the rest follow in the order defined for that item:
dev:execute-plan skill by name, read its "Choose execution mode" section (the canonical definition), and ask its execution-mode question as this item: subagent(sonnet), subagent(opus), subagent(fable), or self, with the option that section's recommendation rule marks for this task. Answering here is final — dev:execute-plan will not re-ask. When the user's request already names the mode or model, present it as this item's pre-filled value instead of offering the menu. If dev:execute-plan is not installed or cannot be located, omit this item entirely: it alone asks about execution, at dispatch time.dev:write-plan and dev:execute-plan run to completion without further confirmation — the plan is committed and executed automatically. Two answers: plain autopilot (straight to execution) and a plan audit (dev:write-plan sends the finished plan to a top-tier subagent that reads the code itself, revises it on the findings, then continues into execution without stopping). The plan audit is offered whenever it is available: the host has a subagent tool, and the latest injected <dev-orchestrator> block (in Claude Code the plugin's hooks inject one at session start and when this skill starts) does not say top-tier: yes; without a block, treat the tier as unknown and keep it available. When available, mark one answer (recommended) followed by a one-clause reason. Plain autopilot is the default recommendation. Recommend the plan audit only when the reason names, for this plan, one of these situations — where a plan error would surface only after execution and cost a lot: (1) irreversible or external side effects — data migration, deletion, publishing, calls to external services; (2) an amplified error — a plan group, or several work packages, building on one shared contract; (3) a gap verification cannot close — the plan and its done criteria rest on the same premise about the code, and that premise has not been verified against it; (4) a hard part beyond opus's reliable range — concurrency, security, intricate algorithmic correctness. When no such situation can be named, recommend plain autopilot; being unsure is not a reason to recommend the audit. That the plan settles design decisions, or touches a contract or a module boundary, does not by itself call for the audit. Judge the plan itself, not the execution mode chosen in the previous item. The availability gates override the risk rule: when the block says top-tier: yes, an orchestrator already on the audit's tier gains nothing from it: omit the option, say in one clause why, and recommend plain autopilot. When the subagent tool is missing, omit it likewise and recommend plain autopilot. With the audit omitted, the item only confirms autopilot. The answer sets the start contract's Stop after and Plan review values: plain autopilot means implementation with none, the plan audit means implementation with audit.
The workspace is deliberately not an item here. Where the work happens is a fact, not a decision: dev:write-plan reads the latest injected <dev-workspace> block (in Claude Code the plugin's hooks inject one at session start and when this skill starts) and acts on its kind — from the main worktree it cuts the branch and worktree named after the requirement and continues there, inside a linked worktree it stays put. Say which of the two will happen in one line next to the question, and name any pending changes from the block's pending count (or git status --porcelain when no block is present), since a dirty tree stops the move — as information, never as something to answer. A user who says "plan here" still overrides it. When the work will live in a linked worktree, add in the same line that if the run continues into implementation, dev:execute-plan pushes the branch and opens a pull request if its publish check passes; that is not a question either — "don't open a PR" overrides it.Record the answers in the handoff as the start contract's values, with the departure check as their basis; downstream skills treat them as standing authorization. STOP and BLOCK conditions still halt the chain — those are safety stops, not confirmations. Pushing and opening PRs remain out of scope of this authorization, except the single pull request dev:execute-plan opens at close of an implementation run when its publish check passes; merging always requires an explicit user request. Exploration itself remains read-only.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mywsq/plugins --plugin dev3 skills in this plugin
/execute-planExecute an implementation plan written by dev:write-plan under `wiki/plans/` on the current branch — fanning it out into concurrent work packages in per-package worktrees when its milestones are independent — or a parallel plan group concurrently in per-plan worktrees. Use when the user asks to implement, run, execute, or delegate a plan such as `wiki/plans/20260821-share-link-claim`, `execute share-link-claim`, `run the next TODO plan`, or `run the two 20260821 plans in parallel` — match a partial name against the plan filenames. Implements directly or delegates to a host subagent, then verifies and reviews the diff./write-planTurn a clear development request into a self-contained plan under `wiki/plans/` for dev:execute-plan or another agent to implement — a record of the requirement, the decisions with their tradeoffs, and the discussion that settled them; an execution brief telling the executor what to change, where, and what the result looks like, at the depth its model tier needs; and the orchestrator's verification contract. A decomposable requirement may become a plan group (contract plan, parallel members with disjoint scopes, integration plan) whose members execute concurrently. Use when the user asks to plan, design an implementation approach, convert a bug/feature request into an executable plan, or continue after dev:explore. Planning is read-only except for files under `wiki/plans/`; from the repository's main worktree it first cuts a branch and worktree named after the requirement and continues there.