/hone:autofrom hone
Runs the full hone chain hands-free from a single feature description: PRD → tasks → implementation → review → fix loop. Stops once up front for batched PRD questions.
Ships in hone. 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.
Orchestrate the full hone chain from a single feature description, hands-free:
prd → prd-to-tasks → run → review → (fix → re-review)*. Drive every transition
mechanically by reading each phase's sibling SKILL.md and executing it inline — never
copy-pasting or paraphrasing its logic — so this skill auto-syncs when a sub-skill
changes. Stop for the user exactly once, up front, to answer batched PRD clarifying
questions; if codebase analysis answers everything, run fully unattended.
This skill MUST run in the main conversation context. It MUST NOT be invoked as a
forked subagent (e.g. via the Agent/Task tool). The run phase forks an Agent per
iteration, and forked agents cannot nest — a nested fork will fail. If you are already
running inside a forked agent, stop immediately and report that /hone:auto must be run
from the top-level conversation.
$ARGUMENTS is free-form text: a feature description, optionally followed by flags. The
feature description may itself contain file paths or URLs (handled later by the PRD phase
exactly as /hone:prd does). Extract:
feature_description: everything that is not a recognized flag. This is the natural-
language feature description passed to the PRD phase.max_rounds: the value of --max-rounds N (also accept --max-rounds=N). Default 3
when absent.skip_review: true if any form of skip-review flag is present (--skip review,
--skip-review, --skip=review, skip review). Default false.Be flexible with flag formatting. Strip the recognized flags out of the text before
treating the remainder as feature_description.
Establish these once and carry them through all phases so every phase reads/writes the
same .plans/ files and all commits land on the same feature branch:
slug — the feature slug. Captured in the PRD phase from the actual saved
.plans/prd-<slug>.md path, then used to derive .plans/tasks-<slug>.yml and
.plans/progress-<slug>.txt, and the branch name hone/<slug>.N — the number of generated tasks. Captured in the Tasks phase, passed to the Run
phase as -i N.max_rounds — the review→fix loop cap (from Step 0, default 3).skip_review — whether to skip per-iteration review in the Run phase (from Step 0).At each phase transition, print a single-line banner so an unattended run leaves a visible trail. Format:
━━━ HONE:AUTO — <FROM> done → <TO> ━━━
Examples: ━━━ HONE:AUTO — PRD done → generating tasks ━━━,
━━━ HONE:AUTO — run complete → reviewing ━━━,
━━━ HONE:AUTO — review blocking → fix round 2 ━━━. Each phase section below prints its
own banner on entry; later tasks fill in the exact wording.
Before entering Phase 1, run the Resume from state behavior under Control behaviors. It
resolves a candidate slug from feature_description, inspects existing .plans/ files, and
either adopts the existing slug and jumps to the first incomplete phase (Tasks, Run, Review,
or straight to the Final report) or — when nothing matches — falls through to Phase 1 as a
fresh run. Every phase below is entered through this gate, so a re-invocation never redoes
completed work. Throughout the run, also honor the Halt on failure behavior: any phase
that cannot produce valid state for the next one stops the chain with a halt report instead
of advancing.
Read the prd skill's instructions from claude-plugin/skills/prd/SKILL.md (sibling
directory in the installed plugin) and execute its Steps 1–3, 5, and 6 inline against
feature_description as the $ARGUMENTS input. Do not copy-paste or paraphrase those
steps here — re-read that file and follow it verbatim, so this phase auto-syncs when the
prd skill changes.
Apply these overrides while executing it:
Override Step 4 (clarifying questions). Do not ask one question at a time. From the
Step 2 codebase analysis and Step 3 references, derive the highest-value clarifying
questions — those NOT already answerable from that analysis — and ask up to 4 in a
single AskUserQuestion call (the tool's maximum is 4 questions). Pick the 4 that
most reduce ambiguity if more than 4 exist. If the analysis answers everything, skip
the prompt entirely — issue no AskUserQuestion call and proceed straight to Step 5,
running fully unattended. Feed the answers (if any) into Step 5 generation.
Suppress Step 7. Do not emit the prd skill's "Next steps" output — the orchestrator owns all phase transitions.
After Step 6 saves the PRD, capture slug from the actual saved path
.plans/prd-<slug>.md (read back the path the skill wrote, don't re-slugify). Store it in
the shared slug variable; all downstream phases derive their .plans/ paths and the
branch name from it.
Then emit the phase-transition banner and proceed to Phase 2:
━━━ HONE:AUTO — PRD done → generating tasks ━━━
Read the prd-to-tasks skill's instructions from
claude-plugin/skills/prd-to-tasks/SKILL.md (sibling directory in the installed plugin)
and execute them inline against .plans/prd-<slug>.md as the $ARGUMENTS input — using
the slug captured in Phase 1. Do not copy-paste or paraphrase those steps here — re-read
that file and follow it verbatim, so this phase auto-syncs when the prd-to-tasks skill
changes. It writes .plans/tasks-<slug>.yml.
Apply these overrides while executing it:
After Step 3 writes the task YAML, record N = the number of generated tasks into the
shared N variable. The Run phase passes it through as -i N. The
.plans/tasks-<slug>.yml and .plans/progress-<slug>.txt paths are derived from the
shared slug.
Then emit the phase-transition banner and proceed to Phase 3:
━━━ HONE:AUTO — tasks generated → running ━━━
Read the run skill's instructions from claude-plugin/skills/run/SKILL.md (sibling
directory in the installed plugin) and execute its VCS detection and Step 2: Run
iterations inline against .plans/tasks-<slug>.yml with N iterations (-i N, using
the N captured in Phase 2) and skip_review from Step 0. Do not copy-paste or paraphrase
those steps here — re-read that file and follow it verbatim, including the full
per-iteration Agent prompt, so this phase auto-syncs when the run skill changes.
Apply these overrides while executing it:
hone/<slug> (using the detected VCS) without prompting: if it does
not already exist, create and switch to it; if it already exists, switch to it. This
replaces run's "ask the user … suggest a good name" behavior entirely. The rest of the
Pre-step — committing the PRD and tasks files when PLANS_IGNORED=false — still applies.Everything else in the run skill is inherited unchanged — do NOT redefine it here. In
particular: honor the <promise>COMPLETE</promise> early-exit (stop iterating early when a
child Agent reports all tasks done), and preserve the child-commit merge-back behavior
(bringing each finalized child commit back into the caller worktree, verified, before the
next iteration). Suppress the run skill's trailing
Next: /hone:review for a strict end-of-feature audit line — the orchestrator owns the
transition into the Review→fix loop.
Then emit the phase-transition banner and proceed to Phase 4:
━━━ HONE:AUTO — run complete → reviewing ━━━
If skip_review is true, skip this phase entirely and proceed to the Control behaviors'
final report — there is nothing to review against.
Otherwise iterate for round = 1 to max_rounds. Each round runs the review skill inline,
then routes solely on review's closing-line contract:
Read the review skill's instructions from claude-plugin/skills/review/SKILL.md (sibling
directory in the installed plugin) and execute it inline against .plans/tasks-<slug>.yml
as the $ARGUMENTS input. Do not copy-paste or paraphrase those steps here — re-read that
file and follow it verbatim, so this phase auto-syncs when the review skill changes.
Capture the review's closing line and branch on it — and on nothing else (do not invent a new signal):
Nothing blocking. (review printed no /hone:fix line) → the branch is clean. Exit
the loop as success and proceed to the Control behaviors' final report.Run /hone:fix <tasks-file> the above blocking issues → review is blocking. Proceed
to the Fix step of this round.Emit the review→fix banner, then read the fix skill's instructions from
claude-plugin/skills/fix/SKILL.md (sibling directory in the installed plugin) and execute
it inline against .plans/tasks-<slug>.yml with the back-reference payload
the above blocking issues (resolving to the review audit just printed). Do not copy-paste
or paraphrase those steps here — re-read that file and follow it verbatim, so this phase
auto-syncs when the fix skill changes.
Apply this override while executing it:
AskUserQuestion multi-select). The orchestrator runs
unattended, so do NOT prompt the user to pick findings. Instead, auto-select every
blocking / high-priority candidate finding the fix skill's Step 2 resolved — i.e. all
blockers / presumptive blockers / must-fix items and review Output priority 1–3 findings
(structural regressions, missed code-judo simplifications, spaghetti growth). Treat that
auto-selection as the user's picks and proceed to fix Step 4. If Step 2 resolved zero such
candidates, treat the round as having no actionable findings: exit the loop as success and
proceed to the final report.Everything else in the fix skill is inherited unchanged — do NOT redefine it here. In
particular it appends the selected findings as new tasks, commits them, and runs its inline
iteration loop over them. Suppress the fix skill's trailing
Next: /hone:prune to archive the feature. line — the orchestrator owns the transition back
into the next review round.
After the Fix step completes, emit the fix→re-review banner and continue to the next
round:
━━━ HONE:AUTO — review blocking → fix round <round> ━━━
━━━ HONE:AUTO — fix round <round> done → re-reviewing ━━━
The loop runs at most max_rounds rounds — there is no other exit and no recursion, so it
can never loop forever. If round reaches max_rounds and that round's review is still
blocking after its fix completed (or max_rounds is exhausted without a Nothing blocking. result), stop the loop and treat the remaining blocking findings as
unresolved. Do not run another round. Record those still-blocking findings (from the
last review's audit) so the Control behaviors' final report can list them as unresolved,
then proceed to that final report.
These three behaviors are cross-cutting — they wrap the phase flow above rather than living inside any single phase.
Runs once, immediately after Step 0 (arg parsing) and before Phase 1. The orchestrator
is re-entrant: a prior /hone:auto run that was interrupted (or any equivalent manual
/hone: work) leaves .plans/ files behind, and re-invoking on the same feature must
continue from the first incomplete phase instead of redoing finished work.
The slug is normally captured inside Phase 1, so before Phase 1 you do not yet have it.
Resolve a candidate slug by slugifying feature_description the same way prd/SKILL.md
does, then probe .plans/ for files matching that slug (also accept a close match if a
single prd-*.md plus tasks-*.yml pair clearly corresponds to this feature). If a
matching PRD is found, adopt its slug as the shared slug for the whole run.
Infer phase-completeness from .plans/ state and jump to the first incomplete phase:
.plans/prd-<slug>.md → nothing exists; start at Phase 1 (PRD) as a fresh run..plans/tasks-<slug>.yml → PRD is done; skip Phase 1, capture slug
from the existing PRD path, start at Phase 2 (Tasks).status: pending (or in_progress) → set
N = total task count in the file, skip Phases 1–2, start at Phase 3 (Run). The run
skill's own per-task status gating skips already-completed tasks, so re-entering Run
resumes mid-list rather than re-implementing finished tasks.status: completed, review not yet clean → implementation
is done; skip Phases 1–3 and enter Phase 4 (Review→fix loop) at round 1.Nothing blocking. → everything is done; skip straight to the Final report (success).When resuming, print a banner naming the resume point before diving in, e.g.:
━━━ HONE:AUTO — resuming <slug> at run (3 of 7 tasks pending) ━━━
If no .plans/ files match the candidate slug, this is a fresh run: proceed to Phase 1
normally (which will capture the real slug from the saved PRD path).
Any phase that cannot produce valid state for the next phase halts the chain immediately. Do not advance to a later phase on bad or incomplete state, and do not emit the success final report. Halt cases:
prd-to-tasks wrote a tasks file with an empty
tasks: list (or wrote none). Halt before Phase 3.FINALIZED for its task (the task never reaches
status: completed). Halt before Phase 4.This is distinct from the review→fix loop exhausting max_rounds: that is not a halt.
Unresolved blocking findings after max_rounds still produce a final report — the
implementation is committed and valid, the review outcome is simply unresolved. Halt is
reserved for the cases above, where downstream phases would run against broken state.
On halt, emit a banner and a halt report (not the success final report):
━━━ HONE:AUTO — HALTED at <phase> ━━━
The halt report states:
slug and .plans/prd-<slug>.md (if it exists yet).hone/<slug> so far (PRD/tasks commit, plus any tasks
whose child commit was merged back) — read from VCS / task status: completed.pending/in_progress, phases not reached).Re-run /hone:auto on this feature to resume from the failed phase.Each phase section above emits its own banner on entry/exit per the Phase-banner convention defined near the top of this skill — do not redefine the format here. The control layer only adds the resume banner and halt banner shown above. Ensure a banner is printed at every handoff so an unattended run leaves a complete visible trail.
Emitted once the chain reaches a successful terminus — Phase 4 exited Nothing blocking.,
max_rounds was exhausted (outcome unresolved), or skip_review short-circuited Phase 4.
(A halt produces the halt report above instead.) Print:
━━━ HONE:AUTO — complete ━━━
Feature: <slug>
PRD: .plans/prd-<slug>.md
Tasks implemented: <N> (+ <R> review tasks added across <rounds> fix round(s))
Review: <clean | unresolved after <max_rounds> rounds | skipped>
Followed by, on its own line:
Next: /hone:pr to push the branch and open a PR, then /hone:prune to archive when ready.
Field rules:
<N> — the task count captured in Phase 2 (the original PRD tasks).<R> — total new tasks the Fix step(s) appended across all rounds
(sum of findings auto-selected and appended to .plans/tasks-<slug>.yml). 0 if none.
Omit the parenthetical entirely when R is 0 and no fix rounds ran.clean if Phase 4 exited on Nothing blocking.; unresolved after <max_rounds> rounds if the cap was hit while still blocking (list the still-blocking
findings from the last review beneath the report); skipped if skip_review was set.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub oskarhane/hone-ai --plugin hone12 skills in this plugin
/agents-mdAGENTS.mdGenerates AGENTS.md project documentation with feedback instructions, architecture, and conventions. Use when starting a new project or updating project docs./extend-prdStep 1: Parse argumentsAdds new requirements to an existing PRD with interactive refinement and task generation. Supports file paths and URLs in requirement description./fixStep 1: Parse argumentsTakes a tasks file and a description of issues to fix (literal text or a back-reference like "the above blocking issues"), prompts the user to pick which become new tasks, appends them to .plans/tasks-<feature>.yml, then runs the iteration loop on those tasks.Other plugins' skills for the same job