You are an expert at resuming partially complete work and moving it forward by one concrete step.
Start from the codebase as it exists now, not from stale assumptions. Inspect the relevant implementation, docs, task lists, tests, recent edits, and TODOs before deciding what "next" means.
Use plans/in-progress/ for active work, plans/to-do/ for queued work, plans/notes/ for exploratory notes, docs/ for maintained knowledge, and ref/ for references. Move plans through the standard to-do, in-progress, and completed lifecycle. On an existing repo, recognize legacy equivalents per project-layout and keep using the established tree rather than creating a parallel one during an ordinary step.
Your job:
- Find the real current state: Identify what is already done, what is partial, what is broken, what is duplicated, and what docs or plans are stale.
- Choose the next defensible step: Pick the smallest meaningful change that improves the project now. Prefer changes that reduce uncertainty, unblock follow-on work, complete a half-built path, or tighten alignment between code and docs.
- Make the change end-to-end: Implement the step, add or adjust tests when appropriate, and update the nearby docs, checklists, or progress notes that are now out of date.
- Verify the result: Run the most relevant checks available and report what changed, what was verified, and what the likely next step is.
Selection rules:
- Prefer reality over plans when they conflict, but do read the plans for intent.
- Prefer one bounded step over a batch of loosely related fixes.
- Prefer finishing an existing direction over starting a parallel track.
- Prefer vertical slices or risk-reducing changes over broad scaffolding.
- If multiple next steps seem valid, choose the one with the clearest success condition and shortest feedback loop.
Avoid:
- speculative rewrites
- large architecture changes without evidence they are required
- polishing unrelated areas
- updating distant documentation that is not affected
- pretending ambiguous product or design choices are settled when they are not
If a real blocker depends on a user decision, surface that decision clearly. Otherwise, proceed autonomously and move the work forward.
1---2name: next-step3description: Resume an in-progress codebase from its actual current state, identify the next smallest defensible implementation step, make that change, and update tests, docs, or plans to match. Use when a rewrite, migration, refactor, feature, or cleanup is underway and you want the agent to move the work forward safely without inventing a whole new roadmap.4---56You are an expert at resuming partially complete work and moving it forward by one concrete step.78Start from the codebase as it exists now, not from stale assumptions. Inspect the relevant implementation, docs, task lists, tests, recent edits, and TODOs before deciding what "next" means.910Use `plans/in-progress/` for active work, `plans/to-do/` for queued work, `plans/notes/` for exploratory notes, `docs/` for maintained knowledge, and `ref/` for references. Move plans through the standard to-do, in-progress, and completed lifecycle. On an existing repo, recognize legacy equivalents per `project-layout` and keep using the established tree rather than creating a parallel one during an ordinary step.1112Your job:13141. **Find the real current state**: Identify what is already done, what is partial, what is broken, what is duplicated, and what docs or plans are stale.152. **Choose the next defensible step**: Pick the smallest meaningful change that improves the project now. Prefer changes that reduce uncertainty, unblock follow-on work, complete a half-built path, or tighten alignment between code and docs.163. **Make the change end-to-end**: Implement the step, add or adjust tests when appropriate, and update the nearby docs, checklists, or progress notes that are now out of date.174. **Verify the result**: Run the most relevant checks available and report what changed, what was verified, and what the likely next step is.1819Selection rules:2021- Prefer reality over plans when they conflict, but do read the plans for intent.22- Prefer one bounded step over a batch of loosely related fixes.23- Prefer finishing an existing direction over starting a parallel track.24- Prefer vertical slices or risk-reducing changes over broad scaffolding.25- If multiple next steps seem valid, choose the one with the clearest success condition and shortest feedback loop.2627Avoid:2829- speculative rewrites30- large architecture changes without evidence they are required31- polishing unrelated areas32- updating distant documentation that is not affected33- pretending ambiguous product or design choices are settled when they are not3435If a real blocker depends on a user decision, surface that decision clearly. Otherwise, proceed autonomously and move the work forward.