Next Step
Purpose
Recommend the most likely next harness skill, with a short explanation and confidence level. Do not carry out the recommended skill unless the user explicitly asks you to switch to it.
What to inspect
Read the smallest set of sources that can explain the current project state:
AGENTS.md
README.md
.harness/ if it exists, especially product, engineering, and QA docs
git status, recent commits, and any obvious changed files
- package or build files that describe the current stack
If the repo has no .harness/ docs, infer the phase from the codebase and README.
Cross-check the three status sources before recommending. Phase state is not stored in one place — it lives in per-feature Status: lines (.harness/engineering/features/), phase markers in .harness/product/roadmap.md, and the latest .harness/qa/report.md. These drift: a feature can read done while the roadmap still calls its phase planned, or QA can report failures the specs don't reflect. If they disagree, do not silently pick one — say so in the output and recommend /update-docs to reconcile them before trusting any phase recommendation.
Recommendation rules
Prefer the lowest unfinished step in the harness workflow:
- No validated idea or target user ->
/ideate
- Idea exists, but vision is missing ->
/product-plan
- Vision exists, but architecture or stack is unresolved ->
/dev-plan
- Architecture is unclear only for one risky choice ->
/prototype
- Specs exist and implementation is ready ->
/implement
- Code changed and needs verification ->
/qa
- QA report has outstanding failures (not just architectural gaps) ->
/task if small and contained, else re-spec via /dev-plan then /implement
- Docs are stale after code changes ->
/update-docs
- QA passed and docs are current, but the phase isn't released ->
/ship
- Shipped product needs a meaningful new feature, behavior change, or extension (not a small tweak) ->
/evolve
- Shipped product needs a small fix, tweak, or micro-feature ->
/task
- Existing docs are scattered or outside harness structure ->
/migrate-docs
.harness/ exists but isn't git-tracked (gitignored, or git ls-files .harness is empty) -> /migrate-docs to adopt doctier encrypted tracking
- Context is fragmented and a fresh agent would struggle ->
/handoff
- You need a broader map of the area before changing code ->
/zoom-out
- Stable codebase with architectural friction — tight coupling, shallow modules, hard-to-test seams ->
/improve-codebase-architecture
If multiple skills fit, choose the one that removes the biggest blocker first.
Output format
Return:
- Recommended skill
- Why it is the best next step
- Evidence that led to the recommendation
- Confidence: high / medium / low
- One fallback skill if the recommendation is uncertain
Keep the answer short and direct.
Example
Recommended: /qa
Why: Phase 1 features are marked done in .harness/engineering/features/ but no QA report exists yet.
Evidence: git log shows 8 commits since the last /implement run; .harness/qa/report.md is absent.
Confidence: high
Fallback: /update-docs if the acceptance criteria turn out to already be verified.
1---2name: next-step3description: Recommends the next harness skill to use by inspecting the repo, docs, git state, and recent work. Use when asking what to do next, which skill comes next, or when the workflow phase is unclear.4---56# Next Step78## Purpose910Recommend the most likely next harness skill, with a short explanation and confidence level. Do not carry out the recommended skill unless the user explicitly asks you to switch to it.1112## What to inspect1314Read the smallest set of sources that can explain the current project state:15- `AGENTS.md`16- `README.md`17- `.harness/` if it exists, especially product, engineering, and QA docs18- `git status`, recent commits, and any obvious changed files19- package or build files that describe the current stack2021If the repo has no `.harness/` docs, infer the phase from the codebase and README.2223**Cross-check the three status sources before recommending.** Phase state is not stored in one place — it lives in per-feature `Status:` lines (`.harness/engineering/features/`), phase markers in `.harness/product/roadmap.md`, and the latest `.harness/qa/report.md`. These drift: a feature can read `done` while the roadmap still calls its phase planned, or QA can report failures the specs don't reflect. If they disagree, do not silently pick one — say so in the output and recommend `/update-docs` to reconcile them before trusting any phase recommendation.2425## Recommendation rules2627Prefer the lowest unfinished step in the harness workflow:28- No validated idea or target user -> `/ideate`29- Idea exists, but vision is missing -> `/product-plan`30- Vision exists, but architecture or stack is unresolved -> `/dev-plan`31- Architecture is unclear only for one risky choice -> `/prototype`32- Specs exist and implementation is ready -> `/implement`33- Code changed and needs verification -> `/qa`34- QA report has outstanding failures (not just architectural gaps) -> `/task` if small and contained, else re-spec via `/dev-plan` then `/implement`35- Docs are stale after code changes -> `/update-docs`36- QA passed and docs are current, but the phase isn't released -> `/ship`37- Shipped product needs a meaningful new feature, behavior change, or extension (not a small tweak) -> `/evolve`38- Shipped product needs a small fix, tweak, or micro-feature -> `/task`39- Existing docs are scattered or outside harness structure -> `/migrate-docs`40- `.harness/` exists but isn't git-tracked (gitignored, or `git ls-files .harness` is empty) -> `/migrate-docs` to adopt doctier encrypted tracking41- Context is fragmented and a fresh agent would struggle -> `/handoff`42- You need a broader map of the area before changing code -> `/zoom-out`43- Stable codebase with architectural friction — tight coupling, shallow modules, hard-to-test seams -> `/improve-codebase-architecture`4445If multiple skills fit, choose the one that removes the biggest blocker first.4647## Output format4849Return:501. Recommended skill512. Why it is the best next step523. Evidence that led to the recommendation534. Confidence: high / medium / low545. One fallback skill if the recommendation is uncertain5556Keep the answer short and direct.5758## Example5960> **Recommended**: `/qa`61> **Why**: Phase 1 features are marked `done` in `.harness/engineering/features/` but no QA report exists yet.62> **Evidence**: `git log` shows 8 commits since the last `/implement` run; `.harness/qa/report.md` is absent.63> **Confidence**: high64> **Fallback**: `/update-docs` if the acceptance criteria turn out to already be verified.