/continue - Resume Development
SkillProductivityContinue story or task work from compact progress state, recording execution evidence separately. Use when user wants to resume work or mentions /continue.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the /continue - Resume Development skill
What this skill tells your AI
The instructions your AI receives, as published by rakovi4/continue-framework in .claude/skills/continue/SKILL.md and read by ahel’s review.
Workflow
- Identify work item from argument
- Backlog promotion -- if the story row is in the Backlog table in
ProductSpecification/stories.md, move it to In Progress before proceeding - Read progress file, bootstrap if missing (stories only —
.claude/templates/workflow/bootstrapping.md). Missing means both locations came back empty — resolveProductSpecification/stories/NN-story-name/andProductSpecification/stories/done/NN-story-name/before the bootstrap may fire (.claude/rules/workflow.md, "Resolving a story folder"); a hit in either is the story, so read itsprogress.mdand bootstrap nothing. What an unchecked bootstrap does to an already-shipped story is in the template's "Precondition: the story genuinely has no folder" For an existing task, normalize legacyType: bugtobugfixandType: refactoringtorefactorin memory; do not rewrite its type or folder merely to migrate terminology. - Find next step -- run the plan-integrity check (
.claude/templates/workflow/plan-integrity-check.md) overprogress.mdfirst; on a failed check report it and STOP without dispatching. Otherwise the next step is the first[~]or[ ]entry. A task with none runs its unconsumed terminal review, or archives immediately when its work log already recordsTask review: consumed. - Read relevant context -- read
carryover.md(if present), the current scenario's summary, and onlyworklog/records matching the current heading/step or named by its compact pointer. Do not load the directory wholesale./continuenever writes journey files (/handoffis their sole writer). - Load ADR context -- check for
decisions/*-decision.mdfiles in the story directory. If any exist AND the current step references the ADR (via "see ADR" annotation or matching scenario), read it. ADRs contain architectural decisions, schema changes, edge cases, and implementation guidance that the work unit needs. - Execute one work unit -- dispatch sub-skills per tables below. If no named row matches, execute the checkbox intent directly in the main agent.
- Discovery gates -- when the next step is
[ ] adapters-discovery, map usecase ports to adapters (see.claude/guidelines/workflow-detail.md), then insert concrete steps. A TDD task'ssteps discoveryinserts its scoped TDD plan; a refactor task'srefactor (steps discovery)reconciles direct## Workcheckboxes, not merely a companion artifact. - Update records -- create one
worklog/Markdown record for this invocation (maximum 200 lines) and keep routine evidence, notes, coordinator plans, checkpoints, and proposals there. Composite stages update this active record while in flight. Keepprogress.mdto headings, permitted compact tokens, and one-line checkboxes of at most 200 characters: mark completed and advance next. Add a work-log pointer only when a later decision must consume that exact record. Any new checkbox must pass.claude/templates/workflow/finding-admission-test.md; a failing finding is reported and stored nowhere. - Update stories.md -- for stories only, update the phase columns in
ProductSpecification/stories.md(see below) - Behavior commit -- include
progress.md, the invocation's work-log record, andProductSpecification/stories.mdfor stories. Before every progress commit, stage it and run plan-integrity check 8 against its zero-context staged diff; only added lines are checked, so legacy prose is grandfathered. Re-home any rejected evidence in the active work-log record and re-stage. For completion, also confirm the staged advance and zero[ ]/[~]entries. Stories archive in that commit; tasks remain active until terminal review. - Refactor and review -- land any owed
/refactorseparately. Stories review at block boundaries. Tasks skip per-step review and, once all planned work joins, dispatchagent-review-agentandpremortem-agentconcurrently over the whole task history before archive. - Triage & auto-fix -- partition findings per
triage-and-auto-fix.md, resolve any permitted quiz, and append every verdict/disposition to the active work log. A task record also addsTask review: consumed; findings never trigger a second terminal batch. Land SAFE fixes inreview-fix:and records without fixes inworklog:.
The high-level lifecycle, status markers, and atomic-unit rule are in .claude/rules/workflow.md; the detailed scenario sequences, adapter-discovery procedure, progress mechanics, and task sequences are in .claude/guidelines/workflow-detail.md. Progress file format examples are in .claude/templates/workflow/progress-format.md.
Resolving the Argument
| Argument | Resolution |
|---|---|
task N | Find ProductSpecification/tasks/N-*/progress.md, then ProductSpecification/tasks/done/N-*/progress.md. A QA task resolved from the archive is a revival, not a resume: move its folder back out of tasks/done/ and reset its checkboxes before dispatching (.claude/guidelines/workflow-detail.md, "QA Task Sequence"). An active task with no [ ]/[~] runs or resumes terminal review before archive |
| Bare number or name | Resolve story via ProductSpecification/stories.md, then ProductSpecification/stories/NN-story-name/progress.md, then ProductSpecification/stories/done/NN-story-name/progress.md |
| No argument | Scan recent git log for Story N or Task N references; most recent wins |
Both work-item rows resolve the active location first and the done/ archive second, per .claude/rules/workflow.md, "Resolving a story folder" — an argument that names a completed item resolves to its archived folder rather than to nothing.
File lookup: Use shell find (not pattern expansion) when searching for progress files or story folders. For story resolution, derive the folder name from stories.md by kebab-casing punctuation as separators, read the known active path, then fall back to stories/done/; use ls or find only when the folder name is ambiguous.
Work Unit Dispatch
Each progress.md checkbox maps to sub-skills. Dispatch per .claude/guidelines/workflow-detail.md sequences. Named routes apply equally to stories and TDD tasks. No-TDD task types use only direct routes; never infer RED/GREEN or /refactor for them.
| Checkbox | Sub-skills |
|---|---|
red-acceptance | red-agent.md (one scenario target, possibly multiple cases) → /test-review → commit → /refactor → commit |
stage-1 acceptance RED + contract design | Inline coordinator. Load parallel-backend-stages.md; dispatch the disjoint RED/design lanes, validate the Stage 2 lane plan gates, record the durable plan in the active work-log record, advance to approval, and commit both records before stopping for review |
approve stage-1 contracts | User decision. Never dispatch Stage 2 from this checkbox. Explicit approval completes it and advances Stage 2 in a coordinator commit; rejection resets Stage 1 to [~] and keeps approval and Stage 2 pending |
stage-2 implementation lanes | Inline coordinator. Load parallel-backend-stages.md; validate approval and lane ownership; after raw RED, run test review and GREEN implementation concurrently on disjoint paths; join, verify, and publish each phase from explicit paths; advance only after joined checks |
stage-3 acceptance GREEN + review | Inline coordinator. Load parallel-backend-stages.md; require committed Stage 2 lanes, run acceptance GREEN and both reviews concurrently, then triage. On GREEN failure reopen the implicated lane. Store admitted cycle proposals in the active work-log record and append only a compact decision checkpoint to progress |
stage-1 frontend acceptance RED + interface design | Inline coordinator. Load parallel-frontend-stages.md; declare disjoint manifests, dispatch Selenium RED and /design-preview frontend concurrent mode, reject worker staging/commits, join once, run combined checks, then stage and commit explicit paths |
stage-2 frontend implementation lanes | Inline coordinator. Load parallel-frontend-stages.md; validate separate frozen Stage 1 interface files, dispatch complete frontend-logic, frontend-api, and design-alignment lanes concurrently, preserve RED-before-GREEN within each lane, gather coverage report-only findings, join each once, run combined checks, then stage and commit explicit paths |
stage-3 frontend acceptance GREEN + review | Inline coordinator. Load parallel-frontend-stages.md; require the committed Stage 2 join, run remove-marker-only Selenium GREEN and both reviews over the immutable range, then demo and triage. Store proposals in the active work-log record; progress gets only their consent checkpoint |
resolve stage-3 cycle proposals | User decision. Read the proposal record named by the compact work-log pointer. Agreement inserts admitted cycle blocks; rejection inserts none; either completes the checkbox in one coordinator plan commit, while silence never advances it |
Spec items (interview, mockups, api-spec, test-spec) | /{item} then commit |
story (spec item) | Inline — no subagent. Load .claude/templates/spec/story-spec-generation.md (internal template — NOT the /story skill) with the story number, name, and folder already resolved, execute its phases, then commit |
root cause analysis (bugfix tasks) | Inline — no subagent. Run /rca, record confirmed findings in spec.md, routine evidence in the active work-log record, and mark [x] → commit records |
task design | Inline coordinator. Freeze one input; dispatch every group per hazard-catalogue/_index.md, draft design options concurrently, reconcile and record all GAPs, then ask for one approval and commit |
story design | /design-preview → user approves (optionally with ADR) or /architecture → commit (if ADR produced) |
red-* (usecase, adapter, selenium, frontend, frontend-api) | red-agent.md → /test-review → commit → /refactor → commit |
green-usecase, green-adapter X | green-agent.md → /test-coverage {module} --focus → commit → /refactor → commit |
red-workflow | red-agent.md (layer workflow) → /test-review → commit → /refactor → commit |
green-workflow | green-agent.md (layer workflow) → commit → /refactor → commit |
adapters-discovery | Run all 3 checks in adapter-discovery-checklist.md, log evidence, mark [x], insert concrete adapter steps (or [S]) → commit records |
steps discovery (behavior-change, bugfix) | Inline — no subagent. Insert scoped TDD steps from the approved design, then commit |
refactor (steps discovery) (refactor) | Reconcile approved design and discovered evidence against committed progress.md; update direct behavior-preserving ## Work steps and append (plan: +N/-N/~N). Refuse zero-change completion or any RED/GREEN step → run affected checks → commit |
green-acceptance | Inline — no subagent. Read green-agent.md workflow, load acceptance implementation template, enable the scenario's complete disabled target (remove its marker or markers — only allowed test change), run acceptance tests, verify every case GREEN → commit |
green-frontend, green-frontend-api | green-agent.md → commit → /refactor → commit |
green-selenium | /run-backend → /run-frontend → green-agent.md (remove-marker-only: no production code, no Statements changes, no backend changes — if test fails, STOP and report) → commit |
harvest (tier-major boundary) | Inline — no subagent. It fans out concurrent red-agents, which must not nest inside a wrapper agent. Run every remaining Tier 2 acceptance scenario through red-agent (each self-partitions: green → red-acceptance [x] + other steps [S]; red → normal cycle), then baseline the green set against the pre-story build, commit. Full procedure: .claude/skills/harvest/SKILL.md |
align-design | Build component → /align-design → /design-review (MANDATORY) → /test-coverage frontend --focus → commit → /refactor → /align-design verify-only → commit |
demo | /demo {scenario_test_class}, record evidence, then commit records |
refactor usecase / other refactor (...) | Apply change then run affected tests then commit |
QA ## Cases checkbox | No dispatch. Report the next unchecked case to the user and stop -- the tester verifies it manually against the target environment, then ticks the box (or files a separate bugfix task if it fails) on their own. |
| Any other checkbox | Direct inline fallback. Treat the full checkbox text as the work-unit intent. Execute it in the main agent, inspect the relevant scope, make the requested changes, run affected checks, advance progress, and commit. In refactor, infra, general, or qa, stop and reclassify/split if this would change executable behavior. Do not infer RED/GREEN, coverage, or /refactor. |
The stage-* routes are composite scenario work units. Load the matching
parallel-backend-stages.md or parallel-frontend-stages.md template for lane
ownership, publication, failure, and review semantics. Never expand them back into
serial progress checkboxes.
Stop and Report
A single /continue invocation executes exactly ONE work unit. Do not pause between sub-skills except for the joined task-design approval. A /refactor work unit ends with behavior then optional refactor commits. When boundary passes RUN, finish with review-fix: if SAFE fixes survive or worklog: otherwise; triage SKIP owes neither. STOP only after the last owed commit. Then report the completed step, tests, boundary verdicts, next step, fraction, and how to continue; do not execute the next step.
Re-orientation block (mandatory, last): close the report with the re-orientation block specified in .claude/templates/workflow/continue-report-format.md -- work item type/number/name, scenario or step, step just done, next step, position, and a two-sentence plain-language summary. It goes below everything else and immediately above the /plain hint: a terminal scrolls, and a user running several parallel /continue sessions must recover which work item this one is without reading back up. Emit it on both stop points, including a sub-skill failure.
End the report with a one-line /plain hint (e.g. Press /plain to have this report re-explained in plain words) so the user has a button to press when the technical summary didn't land. This is only a pointer -- never invoke /plain yourself; it is a manual button the user presses.
Test results: Collect pass/fail counts from every sub-skill that runs tests (red-agent, green-agent, test-coverage, refactor). Include them in the final report as a summary line, e.g., Tests: 15 passed, 0 failed or Tests: 14 passed, 1 failed. When multiple test suites ran, report each separately.
Red prediction (mandatory for red- work units):* When the work unit included any red-* phase, copy the red-agent's Predicted failure, Actual failure, and Comparison sections verbatim into the final report — same wording as the Output Summary Format in .claude/templates/workflow/red-phase-formats.md. Do NOT collapse to phrases like "test passed as predicted" or "prediction matched" — the user must see both the prediction and the actual result side by side, in their own labelled sections, so the match can be audited without re-reading the agent's return.
Review-pass findings (mandatory in a boundary unit when triage RAN the passes): include the agent-review and premortem verdicts. PASS → one line each (agent-review: PASS, premortem: PASS). CONCERNS/BLOCK → list each finding with its place in the diff and the named missing guard. SAFE findings applied by the auto-fixer → review-fix: applied N SAFE finding(s) [<sha>] plus one line per fix; NEEDS_CYCLE findings → follow-ups the user can act on; NEEDS_CLARIFICATION → the quiz question and the routed outcome. When triage SKIPped, report Review passes: SKIPPED (triage — <reason>). Report every dropped finding -- NO_FIX-tagged, or admission-test-failed -- as one line naming what it was and why it was let go. Drops are the point of the filter, not an embarrassment: a silent drop is indistinguishable from not looking, and this line is the user's only chance to overrule one. In a non-boundary unit report nothing about them. The passes and the auto-fix never revert the behavior commit.
Review Passes
Tasks review once after all work completes, from creation through HEAD; record
Task review: consumed, then archive unless triage adds approved follow-up work.
For stories, run agent-review-agent and premortem-agent concurrently when the
staged progress shows that the current scenario, spec section, or harvest step has
no open checkbox. Review its commits from the first completed checkbox through
HEAD; if that range cannot be found, review HEAD and report the fallback.
Skip the batch when the section carries <!-- review-origin: boundary -->, and
never review its trailing record commit. Pass both agents the committed range,
changed paths, and intent. Exact range and recursion rules are in
progress-format.md and triage-and-auto-fix.md.
Triage & Auto-Fix
What /continue does with the review passes' findings in a boundary unit — the SKIP/RUN
predicate, the four-way partition of tagged findings, the NEEDS_CLARIFICATION quiz, and the
inline SAFE-only auto-fixer and trailing review-fix:/worklog: record commit — is
.claude/templates/workflow/triage-and-auto-fix.md.
Pre-Commit Checklist
Before behavior commit verify: (1) the primary route ran, (2) /test-review ran for red, (3) /test-coverage ran for green usecase/adapter, (4) fallback tests ran, (5) the active work-log record is staged, and (6) plan-integrity check 8 passes the staged progress additions. Before stopping verify: (7) owed refactor ran, (8) the staged boundary test and reviews ran when owed, (9) every verdict is in the trailing review-fix: or worklog: commit, and (10) completion was proven from staged progress before archive. Run any omitted action before stopping.
Sub-Skill Dispatch
Sub-skills use named agent dispatch for context isolation, following .claude/guidelines/platform-capabilities.md, EXCEPT the rows marked Inline — those run in the main agent, which fans out their detectors itself so that no dispatched agent nests a fan-out of its own:
| Sub-skill | Dispatch method |
|---|---|
red-* | Dispatch named agent red-agent — pass layer, story folder path, scenario name, and ADR content (if loaded) |
green-* (except green-acceptance) | Dispatch named agent green-agent — pass layer, story folder path, scenario name, and ADR content (if loaded) |
green-acceptance | Inline — no subagent. Main agent reads green-agent.md, loads acceptance template, enables the test, runs it. Full visibility for user. |
harvest | Inline — no subagent. Main agent reads .claude/skills/harvest/SKILL.md and fans out its own writer sub-agents (red-agent, layer acceptance); it must not nest inside a wrapper agent. |
backend or frontend stage-* | Inline coordinator — fan out lane phases directly, including sibling test-review/GREEN work where the stage template permits it; gather results and remain sole writer of tracking state, staging, and commits; workers never nest detector fan-outs |
/refactor | Inline — no wrapper subagent. Main agent concurrently fans out refactor-mechanics-agent, refactor-design-agent and refactor-duplication-agent, awaits every result, merges duplicate locations while preserving check ids and impact order, then dispatches refactor-agent as the serial fixer with the detector roster. |
/test-review | Inline — no wrapper subagent. Main agent fans out the detector roster, merges findings, then dispatches test-review-agent. The fixer runs the suite unless Stage 2 production work is concurrent; then the coordinator owns joined verification. |
/test-coverage | Dispatch named agent coverage-agent and await its result. |
agent-review (boundary) | Dispatch agent-review-agent concurrently with premortem-agent, then await both. |
premortem (boundary) | Dispatch premortem-agent concurrently with agent-review-agent, then await both. |
Derive the layer from the checkbox (e.g., red-adapter storage → layer storage, green-usecase → layer usecase, any red-workflow (...) → layer workflow). Both red-agent and green-agent receive: layer, work-item folder path, scenario name, and ADR content (if loaded in step 5). The agent resolves test files and templates from its own workflow. The triage predicate and the SAFE-only auto-fixer are inline in /continue — no subagent, no new dispatch row (see "Triage & Auto-Fix").
CHAINING: After each sub-step's awaited result returns, echo a 1-2 line status summary (agent name, outcome, pass/fail counts) to the user, then immediately dispatch the next sub-step. Only joined task-design approval may pause. Dispatch each review pair in one concurrent wave and await both.
AGENT LOG: Before the first agent dispatch, clear the log: > infrastructure/agent-progress.log. In a boundary unit the two review passes log too (they run in the /refactor batch); after the last commit, include the log contents in the stop-and-report summary.
LOG REMINDER: Every time you dispatch a sub-agent, output this line immediately before dispatch:
> Dispatching {agent-name}. Live progress: tail -f infrastructure/agent-progress.log
This reminds the user where to watch. The line appears in conversation output before the agent starts, so the user can open a terminal and tail the log while the agent works.
Rules
- Execute exactly ONE work unit per invocation through its last commit. A
/refactorunit ends with behavior then optional refactor commits. A boundary whose passes RUN addsreview-fix:when SAFE fixes survive orworklog:otherwise; triage SKIP adds neither. STOP only after the last owed commit. - Task commit prefix:
task:(e.g.,task: red-adapter storage (Task 1, Step 1)) - If a sub-skill fails, stop immediately -- do NOT mark the step complete
- Mandatory sub-skills per phase: see
.claude/guidelines/workflow-detail.mdsequences
Updating stories.md
After updating progress.md for a story (not tasks), update the story's row in ProductSpecification/stories.md to reflect current phase status. The phase-column values, the tier-major/untiered split for the Tests and % columns, and the story-completion rule are in .claude/templates/workflow/stories-md-format.md. Include ProductSpecification/stories.md in the same commit.
Available Templates
.claude/templates/workflow/progress-format.md-- progress file format for stories and all six task types.claude/templates/workflow/worklog-format.md-- per-invocation execution record format.claude/templates/workflow/stories-md-format.md-- stories.md phase/Tests/% column rules (tier-major and untiered).claude/templates/workflow/plan-integrity-check.md-- seven pre-dispatch checks plus staged-write check 8.claude/templates/workflow/continue-report-format.md-- the re-orientation block that closes every stop-and-report.claude/templates/workflow/triage-and-auto-fix.md-- the boundary-unit triage predicate, four-way partition, quiz and SAFE-only auto-fixer (step 13)
Signals
- GitHub stars
- 51
- Forks
- 13
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
continue-rakovi4- Source
- github.com/rakovi4/continue-framework