[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78BVXDWJ66PYCWNZR706GHE":3,"skill-same:01M78BVXDWJ66PYCWNZR706GHE":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M78BVXDWJ66PYCWNZR706GHE","do-implement",null,"Direct, standalone code implementation from a description, \u002Fdo-code-review findings, or an existing task — no DoFlow chain artifacts required. Use when the user names \u002Fdo-implement, says 'now implement that', 'fix what the review found' or 'address these comments', or \u002Fdo routed a bug, refactor, dependency change or small edit here. A plain change request that names no \u002Fdo-* skill goes to \u002Fdo first, which classifies it and routes it back here when it fits. Skip it for questions, reviews, and new features that need the full chain.","khoavu882\u002Fdo-flow","khoavu882","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47971376?v=4","01M78BT78KNM1P7A984W2D3JJB","Khoa Vu","01M78BT7957N1KCW7C9CVX4FV1",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Fcore\u002Fshared\u002Fskills\u002Fdo-implement\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: do-implement\ndescription: \"Direct, standalone code implementation from a description, \u002Fdo-code-review findings, or an existing task — no DoFlow chain artifacts required. Use when the user names \u002Fdo-implement, says 'now implement that', 'fix what the review found' or 'address these comments', or \u002Fdo routed a bug, refactor, dependency change or small edit here. A plain change request that names no \u002Fdo-* skill goes to \u002Fdo first, which classifies it and routes it back here when it fits. Skip it for questions, reviews, and new features that need the full chain.\"\nargument-hint: \"[description of the change] [--from-review]\"\neffort: medium\n---\n\n# do-implement\n\nA standalone extension skill, not a numbered phase of the DoFlow chain (`do-brainstorm → do-design\n→ do-plan → do-execute-plan → do-test → do-code-review`). Implements directly from whatever\ncontext is fed to it — a plain-language description, `\u002Fdo-code-review`'s findings, or a pointer to\nan existing `requirement.md` \u002F `design.md` \u002F `plan.md` — without requiring any of those artifacts\nto exist first. `\u002Fdo-execute-plan` is the chain's own implementation phase, built for orchestrating\na full `plan.md` task checklist through specialist subagents with prerequisite gates; reach for\nthis skill instead when there is no task checklist to orchestrate — a one-off fix, a described\nfeature, or a batch of review comments to work through right now.\n\n## Invocation\n```text\n\u002Fdo-implement [description of the change] [--from-review]\n```\n\n- With no arguments, and a `\u002Fdo-code-review` (or `\u002Fcode-review`) run earlier in the conversation:\n  `--from-review` is implied — work through that review's findings.\n- With a description: implement exactly what is described.\n- Either form may also name an existing artifact (`requirement.md`, `design.md`, a linked issue, a\n  specific `plan.md` task) as extra context. Reading it is welcome; it is never required.\n\n## Behavioral Flow\n\nEvery DoFlow runtime call in this skill goes through the runtime seam. Resolve it **once** here and\nreuse `$DOFLOW` for every later call in this skill:\n\n```bash\n# Resolve the DoFlow runtime: nearest project install wins, then the global one.\nD=$PWD; while [ \"$D\" != \u002F ] && [ ! -x \"$D\u002F.doflow\u002Fscripts\u002Fdoflow\u002Fbin\u002Fdoflow-run\" ]; do D=$(dirname \"$D\"); done\nDOFLOW=\"$D\u002F.doflow\u002Fscripts\u002Fdoflow\u002Fbin\u002Fdoflow-run\"\n[ -x \"$DOFLOW\" ] || DOFLOW=\"$HOME\u002F.doflow\u002Fscripts\u002Fdoflow\u002Fbin\u002Fdoflow-run\"\n[ -x \"$DOFLOW\" ] || { echo \"doflow: no runtime found in any .doflow\u002F above $PWD, nor at $HOME\u002F.doflow. Run: npx @khoavu882\u002Fdoflow install -t \u003Charness>\" >&2; exit 2; }\n```\nRun every command below from the project root — the walk-up starts at `$PWD`. On exit 2, print the message verbatim and stop; it names every path searched.\n\n1. **Gather context — don't demand it**:\n   - Invoked after `\u002Fdo-code-review` or `\u002Fcode-review` in this conversation, or with\n     `--from-review`: treat that review's findings as the work list, most-severe first, in the\n     order the review itself ranked them.\n   - Invoked with a description: treat that as the work list directly.\n   - If an active DoFlow feature's `plan.md` has a task matching the request (`\"$DOFLOW\" paths --json`), offer `\u002Fdo-execute-plan` instead. Proceed directly only if the user confirms or no matching plan task exists.\n   - Never block on a missing `requirement.md` \u002F `design.md` \u002F `plan.md`. Those artifacts are the\n     chain's business, not a precondition of this skill.\n   - MCP `context7`: when implementing against external libraries or upgrading dependencies, verify APIs per `MCP_Context7.md`.\n\n**Stop when** every work-list finding the contract names has an answer or a stated gap, **and** the last round produced no new work-list finding. A round that only restates what you already have is the last round. Report the remaining gaps rather than continuing.\n\nOnce per stage, after `feature_slug` resolves, run `\"$DOFLOW\" attendance --task-id \"\u003Cfeature_slug>\"`; `unattended` → `references\u002FWORKFLOW_HANDOFF.md` § Unattended stage.\n\n2. **Resolve the task id, then evaluate readiness — skip only when standalone**:\n   - `\u003Ctask id>` is the same unit every recording stage keys on: the plan task id when one exists,\n     otherwise the feature slug that step 1's `\"$DOFLOW\" paths --json` resolved, or the issue id you\n     were given. When none of those exist, there is nothing to look up — treat this run as standalone\n     and go straight to the exemption below.\n   - Check what is recorded against that id before touching anything:\n     ```bash\n     \"$DOFLOW\" evidence --task-id \"\u003Ctask id>\" --json\n     ```\n   - **`evidenceCount` is 0 — standalone.** Nothing is recorded for this id, which is exactly the\n     no-chain-artifacts case this skill exists to serve (FR-002). Proceed to step 3 without\n     evaluating readiness and without compiling a context pack. State the exemption in step 6's\n     report as prominently as a block would be stated — a skipped gate the report never mentions\n     reads as a passed gate, and that silence is the failure this exemption must not become\n     (NFR-004).\n   - **`evidenceCount` is nonzero — not standalone.** An earlier stage already recorded work against\n     this task, so resolve its class the same way every classifying stage does — proposing whichever\n     of `bug`, `refactor`, `dependency-change` or `trivial-edit` the recorded work already fits.\n     `do-implement` never serves `feature`; that class's implementation stage is `\u002Fdo-execute-plan`.\n     ```bash\n     \"$DOFLOW\" classify --task-class \"\u003Cproposed>\" --calling-skill do-implement --view brief --json\n     ```\n     Branch on `outcome`, not the exit code. `ACCEPTED` — the returned `workflow` names\n     the validated class to evaluate readiness against. `REJECTED` — stop, print `message` verbatim\n     (it names `validClasses`), ask the user to choose from that set, then re-validate; never\n     substitute `feature` for the class that was rejected.\n   - Evaluate readiness before modifying anything. `do-implement` is the declared one-off path, so\n     it states that mode explicitly — the exemption is a flag, never an inference:\n     ```bash\n     \"$DOFLOW\" readiness --task-class \"\u003Cvalidated class>\" --task-id \"\u003Ctask id>\" --mode standalone \\\n       --verification-plan \"\u003Cone line: how this change is verified>\" --scope \"\u003Ccomma-separated paths this change touches>\" --json\n     ```\n     Every call records its evaluation; `verify` bounds the change by a `--scope` path list, so a\n     change with no plan states its paths here. Both are inputs you state, reported back as\n     `Caller-stated`. Add `--slug=\u003Cfeature slug>` when the task id is not the feature's slug.\n     Both `--task-class` and `--task-id` are required — omitting either exits 2 and names the valid\n     set. Branch on the returned `stageEntry.decision`, never the exit code or your own reading of\n     `state`: the entry policy is owned by the runtime, and this verb exits 0 for every state it\n     computes, so a zero exit is not a green light.\n     - **`STOP`** — refuse to modify source. Report which claim is conflicted and what evidence\n       disagrees, then stop. Do not edit anyway.\n     - **`ASK_USER`** — a decision is owed by the user. Ask it through RULE_04 (`rules\u002FRULES.md`)\n       mechanism and wait; editing first would decide it silently on their behalf.\n     - **`ENTER`** — proceed to the context-pack call below. In standalone mode this includes\n       `NEEDS_EVIDENCE`: the unmet contract is reported, not enforced — relay the missing\n       requirements in step 6's report rather than presenting the edit as fully evidenced. When a\n       run for this task has its implementation stage pending, `NEEDS_EVIDENCE` is not enough:\n       gather what the report lists and call `readiness` again until it reports `READY`, before\n       the first source edit.\n     (`GATHER_FIRST` is the workflow-mode answer and does not arise under `--mode standalone`.)\n   - Once readiness has cleared (or been confirmed non-blocking), compile the prior context:\n     ```bash\n     \"$DOFLOW\" context-pack --task-id \"\u003Ctask id>\" --json\n     ```\n     This verb exits 1 on an empty pack by design — nothing recorded is not the same as nothing\n     needed — and that non-zero exit is never read as success; exit 3 means overflow: the pack is\n     complete, act on `overflowAction.message` and report the gap. Because this call only runs after\n     the evidence check above already found something recorded for this task id, an exit 1 here means\n     the compiled pack still held nothing usable (evidence with no linked claims, most likely):\n     treat that as a mismatch worth naming in step 6's report, not as license to proceed as though\n     there were no prior context to look for. On a normal, non-empty pack, carry its evidence and\n     claims into step 4's change set instead of re-deriving what an earlier stage already\n     established.\n   - The repository's `pre-implement-gate` hook checks file existence (`requirement.md` \u002F\n     `design.md` \u002F `plan.md`) on every `Edit`\u002F`Write` call regardless of which skill is editing. On\n     a harness with an edit hook it also advises when a held task's readiness record is not\n     `READY`; the hook never denies. This step writes that record, and is not a way around it.\n\n3. **Understand before writing**:\n   - Read the files the change touches and their immediate neighbors — naming conventions, error\n     handling style, test structure — before writing anything. Evidence over assumption applies\n     here exactly as everywhere else in DoFlow: match what the codebase already does rather than\n     importing an unrelated house style.\n\n4. **Name the change set, then continue**:\n   - Before touching anything, write the change set out file by file: each file to be edited, the\n     change it takes, and what that change is for. Name what you are deliberately leaving alone.\n     The pass that decides what to change is still not the pass that makes it — deciding and\n     typing in one move is how the first plausible shape becomes the design — but the separation\n     is an ORDERING inside this run, not a turn boundary.\n   - The user asking to implement IS the authorization to implement: proceed to step 5 in the same\n     run. Ending the turn here to await approval the user already gave costs a round-trip and\n     duplicates the host's own edit-approval mechanisms.\n   - Stop after the change set only when one of two things is true: the user asked for the plan\n     rather than the change (\"show me what you'd change first\"), or naming the change set surfaced\n     a genuine user-owned decision — then ask it per RULE_04 (`rules\u002FRULES.md`) and wait, because\n     editing first would decide it silently.\n\n5. **Implement**:\n   - Make the complete change end-to-end. Never leave placeholder stubs (e.g. `\u002F\u002F TODO: implement`),\n     unimplemented mock functions, or `throw new Error('Not implemented')` placeholders in the\n     produced change. Every changed component must be fully wired and functional.\n   - Before the first source edit, a run for this task needs step 2's recorded readiness to be\n     `READY`: the edit hook only advises, and the runtime refuses step 7's handoff after the edits are\n     made. A standalone `NEEDS_EVIDENCE` does not pass it.\n   - Keep it scoped to what was asked — no bonus refactors, no speculative abstractions (the same\n     scope-discipline rule the chain's own artifacts would otherwise remind you of; here, hold\n     yourself to it directly).\n   - Add or update tests when the codebase already has a test convention to extend; skip it when\n     there is not one, rather than inventing a test harness the project doesn't otherwise use.\n   - When `paths --json` reports `has_decisions: true`, follow steps 1-4 of the decision step in\n     the guidance tree's `references\u002FWORKFLOW_HANDOFF.md` once the change is made, whether or not\n     step 7 records a handoff, and before any handoff call.\n\n6. **Verify — name the check set before running it**:\n   - First, list the build\u002Ftest\u002Flint commands you found and where each came from (`package.json`\n     scripts, a `Makefile`, an obvious test runner config). That list is the contract for this\n     step; state it before running anything.\n   - Then run each one and report its result against that list. A command the list named and the\n     run did not reach is reported as not run, and a command the project does not have is reported\n     as absent — neither is dropped from the report. Never mark something done against a failing\n     suite.\n\n7. **Record the handoff — skip only when step 2 took the standalone exemption**:\n   - Step 2's standalone exemption (`evidenceCount` 0) means there was never a task id to begin\n     with — skip this step entirely; there is nothing to record against.\n   - Otherwise, `\u003Ctask id>` and the validated class are the same ones step 2 already resolved.\n     Record this skill's completion of the implementation stage:\n     ```bash\n     \"$DOFLOW\" orchestrate --action handoff --task-id \"\u003Ctask id>\" --calling-skill do-implement --note \"\u003Cone line: what was implemented>\" --result \u003Cpassed|failed> --json\n     ```\n     Name the `DEC-###` ids step 5 registered in `--note`.\n     A handoff on a run whose implementation stage has a readiness template is refused unless\n     step 2's recorded readiness is `READY`.\n     Use step 6's verification outcome for `--result`: `passed` when every check in the named set\n     passed, `failed` when one did not — never omit it to imply a pass step 6 did not establish.\n     The runtime selects this class's implementation stage — the only mutating stage a caller may\n     complete — and returns `disposition`. `deferred` means a gate, an unfinished mutating stage\n     elsewhere, or a rejected run prevented it; report `reason` and stop, this skill resolves no\n     gate. Render the trail after a recorded completion:\n     ```bash\n     \"$DOFLOW\" render-audit --slug=\"\u003Ctask id>\" --json\n     ```\n   - Without this call, the orchestrator's cursor never advances past `implementation` for any\n     class that routes here — `bug`, `refactor`, `dependency-change`, `trivial-edit` all do — and\n     every later stage's own handoff call is refused with `blocked-on-mutating-stage:implementation`\n     until this one runs.\n\n8. **Report and hand off**:\n   - Summarize what changed, file by file, and why — not a restatement of the diff.\n   - If step 2 took the standalone exemption, state that plainly here — as visible as a block would\n     be, per NFR-004 — rather than only mentioning it in passing back in step 2. If step 2 evaluated\n     readiness instead, name the state it returned, whether the context pack held usable prior\n     context or came back mismatched-empty, and the handoff `disposition` step 7 recorded (or that\n     step 7 was skipped as standalone).\n   - Suggest `\u002Fdo-code-review` as the natural next step, mirroring the pointer that skill's own\n     \"Next Step\" section already sends back here. If a chain feature's `plan.md` task happened to\n     get addressed along the way, say so explicitly rather than silently — `plan.md` bookkeeping\n     itself stays `\u002Fdo-execute-plan`'s responsibility, not this skill's.\n\n## Boundaries\n\n**Will:** Implement directly from a description, review findings, or a named task; read and match\nexisting repo conventions before writing; run whatever test\u002Flint suite the project already has;\nwork in any repo, whether or not it uses the DoFlow chain at all; record the stage handoff through\n`orchestrate`\u002F`render-audit` when this run is not standalone, so the orchestrator's cursor can\nadvance past the mutating stage only this skill may complete.\n\n**Will Not:** Require or generate `requirement.md` \u002F `design.md` \u002F `plan.md`; orchestrate a\nmulti-task checklist through specialist subagents — that is `\u002Fdo-execute-plan`'s job once a real\nplan exists; silently override the repository's own `pre-implement-gate` hook. That hook triggers\non any `Edit`\u002F`Write` call, not on which skill made it — a branch mid-chain with a started feature\nbut no `design.md` still gets the same advisory here as it would anywhere else, and that is by\ndesign, not a gap this skill works around. Resolve a workflow gate, or start a workflow run for a\nstandalone implementation.\n","# do-implement\n\nA standalone extension skill, not a numbered phase of the DoFlow chain (`do-brainstorm → do-design\n→ do-plan → do-execute-plan → do-test → do-code-review`). Implements directly from whatever\ncontext is fed to it — a plain-language description, `\u002Fdo-code-review`'s findings, or a pointer to\nan existing `requirement.md` \u002F `design.md` \u002F `plan.md` — without requiring any of those artifacts\nto exist first. `\u002Fdo-execute-plan` is the chain's own implementation phase, built for orchestrating\na full `plan.md` task checklist through specialist subagents with prerequisite gates; reach for\nthis skill instead when there is no task checklist to orchestrate — a one-off fix, a described\nfeature, or a batch of review comments to work through right now.\n\n## Invocation\n```text\n\u002Fdo-implement [description of the change] [--from-review]\n```\n\n- With no arguments, and a `\u002Fdo-code-review` (or `\u002Fcode-review`) run earlier in the conversation:\n  `--from-review` is implied — work through that review's findings.\n- With a description: implement exactly what is described.\n- Either form may also name an existing artifact (`requirement.md`, `design.md`, a linked issue, a\n  specific `plan.md` task) as extra context. Reading it is welcome; it is never required.\n\n## Behavioral Flow\n\nEvery DoFlow runtime call in this skill goes through the runtime seam. Resolve it **once** here and\nreuse `$DOFLOW` for every later call in this skill:\n\n```bash\n# Resolve the DoFlow runtime: nearest project install wins, then the global one.\nD=$PWD; while [ \"$D\" != \u002F ] && [ ! -x \"$D\u002F.doflow\u002Fscripts\u002Fdoflow\u002Fbin\u002Fdoflow-run\" ]; do D=$(dirname \"$D\"); done\nDOFLOW=\"$D\u002F.doflow\u002Fscripts\u002Fdoflow\u002Fbin\u002Fdoflow-run\"\n[ -x \"$DOFLOW\" ] || DOFLOW=\"$HOME\u002F.doflow\u002Fscripts\u002Fdoflow\u002Fbin\u002Fdoflow-run\"\n[ -x \"$DOFLOW\" ] || { echo \"doflow: no runtime found in any .doflow\u002F above $PWD, nor at $HOME\u002F.doflow. Run: npx @khoavu882\u002Fdoflow install -t \u003Charness>\" >&2; exit 2; }\n```\nRun every command below from the project root — the walk-up starts at `$PWD`. On exit 2, print the message verbatim and stop; it names every path searched.\n\n1. **Gather context — don't demand it**:\n   - Invoked after `\u002Fdo-code-review` or `\u002Fcode-review` in this conversation, or with\n     `--from-review`: treat that review's findings as the work list, most-severe first, in the\n     order the review itself ranked them.\n   - Invoked with a description: treat that as the work list directly.\n   - If an active DoFlow feature's `plan.md` has a task matching the request (`\"$DOFLOW\" paths --json`), offer `\u002Fdo-execute-plan` instead. Proceed directly only if the user confirms or no matching plan task exists.\n   - Never block on a missing `requirement.md` \u002F `design.md` \u002F `plan.md`. Those artifacts are the\n     chain's business, not a precondition of this skill.\n   - MCP `context7`: when implementing against external libraries or upgrading dependencies, verify APIs per `MCP_Context7.md`.\n\n**Stop when** every work-list finding the contract names has an answer or a stated gap, **and** the last round produced no new work-list finding. A round that only restates what you already have is the last round. Report the remaining gaps rather than continuing.\n\nOnce per stage, after `feature_slug` resolves, run `\"$DOFLOW\" attendance --task-id \"\u003Cfeature_slug>\"`; `unattended` → `references\u002FWORKFLOW_HANDOFF.md` § Unattended stage.\n\n2. **Resolve the task id, then evaluate readiness — skip only when standalone**:\n   - `\u003Ctask id>` is the same unit every recording stage keys on: the plan task id when one exists,\n     otherwise the feature slug that step 1's `\"$DOFLOW\" paths --json` resolved, or the issue id you\n     were given. When none of those exist, there is nothing to look up — treat this run as standalone\n     and go straight to the exemption below.\n   - Check what is recorded against that id before touching anything:\n     ```bash\n     \"$DOFLOW\" evidence --task-id \"\u003Ctask id>\" --json\n     ```\n   - **`evidenceCount` is 0 — standalone.** Nothing is recorded for this id, which is exactly the\n     no-chain-artifacts case this skill exists to serve (FR-002). Proceed to step 3 without\n     evaluating readiness and without compiling a context pack. State the exemption in step 6's\n     report as prominently as a block would be stated — a skipped gate the report never mentions\n     reads as a passed gate, and that silence is the failure this exemption must not become\n     (NFR-004).\n   - **`evidenceCount` is nonzero — not standalone.** An earlier stage already recorded work against\n     this task, so resolve its class the same way every classifying stage does — proposing whichever\n     of `bug`, `refactor`, `dependency-change` or `trivial-edit` the recorded work already fits.\n     `do-implement` never serves `feature`; that class's implementation stage is `\u002Fdo-execute-plan`.\n     ```bash\n     \"$DOFLOW\" classify --task-class \"\u003Cproposed>\" --calling-skill do-implement --view brief --json\n     ```\n     Branch on `outcome`, not the exit code. `ACCEPTED` — the returned `workflow` names\n     the validated class to evaluate readiness against. `REJECTED` — stop, print `message` verbatim\n     (it names `validClasses`), ask the user to choose from that set, then re-validate; never\n     substitute `feature` for the class that was rejected.\n   - Evaluate readiness before modifying anything. `do-implement` is the declared one-off path, so\n     it states that mode explicitly — the exemption is a flag, never an inference:\n     ```bash\n     \"$DOFLOW\" readiness --task-class \"\u003Cvalidated class>\" --task-id \"\u003Ctask id>\" --mode standalone \\\n       --verification-plan \"\u003Cone line: how this change is verified>\" --scope \"\u003Ccomma-separated paths this change touches>\" --json\n     ```\n     Every call records its evaluation; `verify` bounds the change by a `--scope` path list, so a\n     change with no plan states its paths here. Both are inputs you state, reported back as\n     `Caller-stated`. Add `--slug=\u003Cfeature slug>` when the task id is not the feature's slug.\n     Both `--task-class` and `--task-id` are required — omitting either exits 2 and names the valid\n     set. Branch on the returned `stageEntry.decision`, never the exit code or your own reading of\n     `state`: the entry policy is owned by the runtime, and this verb exits 0 for every state it\n     computes, so a zero exit is not a green light.\n     - **`STOP`** — refuse to modify source. Report which claim is conflicted and what evidence\n       disagrees, then stop. Do not edit anyway.\n     - **`ASK_USER`** — a decision is owed by the user. Ask it through RULE_04 (`rules\u002FRULES.md`)\n       mechanism and wait; editing first would decide it silently on their behalf.\n     - **`ENTER`** — proceed to the context-pack call below. In standalone mode this includes\n       `NEEDS_EVIDENCE`: the unmet contract is reported, not enforced — relay the missing\n       requirements in step 6's report rather than presenting the edit as fully evidenced. When a\n       run for this task has its implementation stage pending, `NEEDS_EVIDENCE` is not enough:\n       gather what the report lists and call `readiness` again until it reports `READY`, before\n       the first source edit.\n     (`GATHER_FIRST` is the workflow-mode answer and does not arise under `--mode standalone`.)\n   - Once readiness has cleared (or been confirmed non-blocking), compile the prior context:\n     ```bash\n     \"$DOFLOW\" context-pack --task-id \"\u003Ctask id>\" --json\n     ```\n     This verb exits 1 on an empty pack by design — nothing recorded is not the same as nothing\n     needed — and that non-zero exit is never read as success; exit 3 means overflow: the pack is\n     complete, act on `overflowAction.message` and report the gap. Because this call only runs after\n     the evidence check above already found something recorded for this task id, an exit 1 here means\n     the compiled pack still held nothing usable (evidence with no linked claims, most likely):\n     treat that as a mismatch worth naming in step 6's report, not as license to proceed as though\n     there were no prior context to look for. On a normal, non-empty pack, carry its evidence and\n     claims into step 4's change set instead of re-deriving what an earlier stage already\n     established.\n   - The repository's `pre-implement-gate` hook checks file existence (`requirement.md` \u002F\n     `design.md` \u002F `plan.md`) on every `Edit`\u002F`Write` call regardless of which skill is editing. On\n     a harness with an edit hook it also advises when a held task's readiness record is not\n     `READY`; the hook never denies. This step writes that record, and is not a way around it.\n\n3. **Understand before writing**:\n   - Read the files the change touches and their immediate neighbors — naming conventions, error\n     handling style, test structure — before writing anything. Evidence over assumption applies\n     here exactly as everywhere else in DoFlow: match what the codebase already does rather than\n     importing an unrelated house style.\n\n4. **Name the change set, then continue**:\n   - Before touching anything, write the change set out file by file: each file to be edited, the\n     change it takes, and what that change is for. Name what you are deliberately leaving alone.\n     The pass that decides what to change is still not the pass that makes it — deciding and\n     typing in one move is how the first plausible shape becomes the design — but the separation\n     is an ORDERING inside this run, not a turn boundary.\n   - The user asking to implement IS the authorization to implement: proceed to step 5 in the same\n     run. Ending the turn here to await approval the user already gave costs a round-trip and\n     duplicates the host's own edit-approval mechanisms.\n   - Stop after the change set only when one of two things is true: the user asked for the plan\n     rather than the change (\"show me what you'd change first\"), or naming the change set surfaced\n     a genuine user-owned decision — then ask it per RULE_04 (`rules\u002FRULES.md`) and wait, because\n     editing first would decide it silently.\n\n5. **Implement**:\n   - Make the complete change end-to-end. Never leave placeholder stubs (e.g. `\u002F\u002F TODO: implement`),\n     unimplemented mock functions, or `throw new Error('Not implemented')` placeholders in the\n     produced change. Every changed component must be fully wired and functional.\n   - Before the first source edit, a run for this task needs step 2's recorded readiness to be\n     `READY`: the edit hook only advises, and the runtime refuses step 7's handoff after the edits are\n     made. A standalone `NEEDS_EVIDENCE` does not pass it.\n   - Keep it scoped to what was asked — no bonus refactors, no speculative abstractions (the same\n     scope-discipline rule the chain's own artifacts would otherwise remind you of; here, hold\n     yourself to it directly).\n   - Add or update tests when the codebase already has a test convention to extend; skip it when\n     there is not one, rather than inventing a test harness the project doesn't otherwise use.\n   - When `paths --json` reports `has_decisions: true`, follow steps 1-4 of the decision step in\n     the guidance tree's `references\u002FWORKFLOW_HANDOFF.md` once the change is made, whether or not\n     step 7 records a handoff, and before any handoff call.\n\n6. **Verify — name the check set before running it**:\n   - First, list the build\u002Ftest\u002Flint commands you found and where each came from (`package.json`\n     scripts, a `Makefile`, an obvious test runner config). That list is the contract for this\n     step; state it before running anything.\n   - Then run each one and report its result against that list. A command the list named and the\n     run did not reach is reported as not run, and a command the project does not have is reported\n     as absent — neither is dropped from the report. Never mark something done against a failing\n     suite.\n\n7. **Record the handoff — skip only when step 2 took the standalone exemption**:\n   - Step 2's standalone exemption (`evidenceCount` 0) means there was never a task id to begin\n     with — skip this step entirely; there is nothing to record against.\n   - Otherwise, `\u003Ctask id>` and the validated class are the same ones step 2 already resolved.\n     Record this skill's completion of the implementation stage:\n     ```bash\n     \"$DOFLOW\" orchestrate --action handoff --task-id \"\u003Ctask id>\" --calling-skill do-implement --note \"\u003Cone line: what was implemented>\" --result \u003Cpassed|failed> --json\n     ```\n     Name the `DEC-###` ids step 5 registered in `--note`.\n     A handoff on a run whose implementation stage has a readiness template is refused unless\n     step 2's recorded readiness is `READY`.\n     Use step 6's verification outcome for `--result`: `passed` when every check in the named set\n     passed, `failed` when one did not — never omit it to imply a pass step 6 did not establish.\n     The runtime selects this class's implementation stage — the only mutating stage a caller may\n     complete — and returns `disposition`. `deferred` means a gate, an unfinished mutating stage\n     elsewhere, or a rejected run prevented it; report `reason` and stop, this skill resolves no\n     gate. Render the trail after a recorded completion:\n     ```bash\n     \"$DOFLOW\" render-audit --slug=\"\u003Ctask id>\" --json\n     ```\n   - Without this call, the orchestrator's cursor never advances past `implementation` for any\n     class that routes here — `bug`, `refactor`, `dependency-change`, `trivial-edit` all do — and\n     every later stage's own handoff call is refused with `blocked-on-mutating-stage:implementation`\n     until this one runs.\n\n8. **Report and hand off**:\n   - Summarize what changed, file by file, and why — not a restatement of the diff.\n   - If step 2 took the standalone exemption, state that plainly here — as visible as a block would\n     be, per NFR-004 — rather than only mentioning it in passing back in step 2. If step 2 evaluated\n     readiness instead, name the state it returned, whether the context pack held usable prior\n     context or came back mismatched-empty, and the handoff `disposition` step 7 recorded (or that\n     step 7 was skipped as standalone).\n   - Suggest `\u002Fdo-code-review` as the natural next step, mirroring the pointer that skill's own\n     \"Next Step\" section already sends back here. If a chain feature's `plan.md` task happened to\n     get addressed along the way, say so explicitly rather than silently — `plan.md` bookkeeping\n     itself stays `\u002Fdo-execute-plan`'s responsibility, not this skill's.\n\n## Boundaries\n\n**Will:** Implement directly from a description, review findings, or a named task; read and match\nexisting repo conventions before writing; run whatever test\u002Flint suite the project already has;\nwork in any repo, whether or not it uses the DoFlow chain at all; record the stage handoff through\n`orchestrate`\u002F`render-audit` when this run is not standalone, so the orchestrator's cursor can\nadvance past the mutating stage only this skill may complete.\n\n**Will Not:** Require or generate `requirement.md` \u002F `design.md` \u002F `plan.md`; orchestrate a\nmulti-task checklist through specialist subagents — that is `\u002Fdo-execute-plan`'s job once a real\nplan exists; silently override the repository's own `pre-implement-gate` hook. That hook triggers\non any `Edit`\u002F`Write` call, not on which skill made it — a branch mid-chain with a started feature\nbut no `design.md` still gets the same advisory here as it would anywhere else, and that is by\ndesign, not a gap this skill works around. Resolve a workflow gate, or start a workflow run for a\nstandalone implementation.\n",{"name":5,"effort":24,"description":7,"argument-hint":25},"medium","[description of the change] [--from-review]","main","1f1bb66cc55e4d4f3d648089d35ea1f3826ce40a","core\u002Fshared\u002Fskills\u002Fdo-implement","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow","https:\u002F\u002Fgithub.com\u002Fkhoavu882","2026-11-10 18:44:15",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add khoavu882\u002Fdo-flow --skill do-implement",{"tool":38,"command":39},"bunx","bunx skills add khoavu882\u002Fdo-flow --skill do-implement",{"tool":41,"command":42},"pnpm","pnpm dlx skills add khoavu882\u002Fdo-flow --skill do-implement","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Fcore\u002Fshared\u002Fskills\u002Fdo-implement\u002FSKILL.md",true,[],[47,53,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M78BWJFR71W5PFWF9JZFQZD2","beta","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fbench-noise\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M78BWGHVFZRKM7S4JYGPRA3Y","alpha","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fbench-noise\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M78BWB5C33WTE4YTSTBWJ01C","do","DoFlow universal dispatcher and the entry point for a plain code-change request: it classifies the task, routes it to the matching \u002Fdo-* workflow and applies that workflow's gates. Use whenever the user asks to add, fix, change or build something in code without naming a \u002Fdo-* skill, a request bundles several unrelated asks, or needs a tool recommendation or effort estimate first (e.g., 'add a retry to the upload client in src\u002Fupload.js', 'give me a rough estimate for this change', 'first do X, then document Y'). Skip it for questions about how existing code behaves, explanations, reviews, and work already inside a \u002Fdo-* skill.","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Fcore\u002Fshared\u002Fskills\u002Fdo\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M78BW76N1YR7QRVXBQAV3QBN","do-test","Execute project builds, automated test suites, and coverage verification with intelligent error reporting across whatever toolchain the repo already uses. Use whenever the user wants to run existing tests, execute test suites, verify builds, check test coverage, or check compile status (e.g., 'run the tests', 'execute test suite', 'check coverage', 'verify build', 'does this still build'). Always activate this skill when verifying test suites or running builds without writing new application code.","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Fcore\u002Fshared\u002Fskills\u002Fdo-test\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M78BW2RW6HSN8D43AM83P1AV","do-plan","Generate the implementation plan (HOW) and dependency-ordered task checklist from requirement.md + design.md (plus design\u002Fspecs.md's IC-### interface contracts when the feature has one), with a Constitution Check gate, as Phase 3 of the doflow chain. Use whenever requirement.md and design.md exist and the next step is creating an actionable, owner-and-file-scoped task breakdown before implementation, or when the user says 'create an implementation plan', 'break this down into tasks', 'plan the work', or 'plan Phase 3'. Always activate this skill before executing feature implementation.","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Fcore\u002Fshared\u002Fskills\u002Fdo-plan\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M78BVQNJMQJE3ZMPRDWBZG1Z","do-git","Git operations with lifecycle-aware intents and safety checks — start, save, sync, ship, release, hotfix, backport, and status, plus raw git passthrough for anything else. Use whenever the user requests git actions, branch management, committing changes, syncing with remotes, or release rituals (e.g., 'commit these files', 'ship this feature', 'create a feature branch', 'cut a hotfix', 'sync repo', 'what is git status'). Always activate this skill for safe, confirmed git operations rather than running bare mutating git commands.","https:\u002F\u002Fgithub.com\u002Fkhoavu882\u002Fdo-flow\u002Fblob\u002Fmain\u002Fcore\u002Fshared\u002Fskills\u002Fdo-git\u002FSKILL.md",[],[]]