[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75NEW4VSQZXPEVP8DA15F6Y":3,"skill-same:01M75NEW4VSQZXPEVP8DA15F6Y":62},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M75NEW4VSQZXPEVP8DA15F6Y","code-review",null,"Use when reviewing a branch, commit range, pull request, or work-in-progress change against its specification and repository standards.","don-smith\u002Fmyflow","don-smith","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F228761?v=4","01M75NEQQ3GJBN4ARH0S5EFYV2","Don Smith","01M75NEQQVBT5HAYN363PDG334",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: code-review\ndescription: Use when reviewing a branch, commit range, pull request, or work-in-progress change against its specification and repository standards.\n---\n\n# Code review\n\nProduce a bounded, independent review with an auditable gate.\n\n## Pin the scope\n\nRun the installed `..\u002Fmyflow\u002Fscripts\u002Fresolve-repository-map.mjs` resolver and read mapped instructions. Require a scope spec and accepted plan or equivalent specification; Verify supplies its exact implementation scope (`base..head`, `empty-tree..head` when implementation starts at the root commit, or an explicit comma\u002Fwhitespace commit list) and accepted plan.\n\nExecute the active adapter from this skill's directory and retain its full output. The helper path is relative to this installed `skills\u002Fcode-review\u002FSKILL.md`:\n\n```bash\nnode _helpers\u002Freview-range.mjs \"\u003Cscope-spec>\"\n```\n\nRecord scope status, strategy, base, tip, range, resolved commits, dirty state, changed-files count, and every changed file by decoding each manifest entry as a JSON string so whitespace and control characters remain unambiguous. Read the generated `patch_path` and give every reviewer that same patch evidence with the complete manifest, scope provenance, plan, and mapped sources. The `all` patch preserves committed, cached, unstaged, and untracked layers separately so opposing index and worktree changes remain visible. A `commit-list` manifest is the union of each resolved commit's diff relative to its first parent, with the empty tree as a root commit's parent; its patch contains matching labeled per-commit sections. For commit-list review, retain the exact scope spec and resolved commit set; range base\u002Fhead alone is insufficient. `scope_status: invalid` or `empty`, a truncated manifest, unreadable patch evidence, unresolved revision, or mismatch with Verify's exact scope provenance makes review **blocked**. Dirty state outside an explicit range is an exclusion. A missing plan\u002Fequivalent spec blocks Spec Fidelity. Documented standards may be unavailable; still apply maintainability judgment.\n\n## Run three independent lanes\n\nLaunch exactly three required fresh-context reviewers in parallel:\n\n- **Correctness and Risk:** trace behavior through callers, tests, boundaries, regressions, and failure paths. Add security checks when trust, auth, permissions, secrets, input, or sensitive data change. Add dependency checks when manifests, locks, imports, versions, or external APIs change.\n- **Standards and Maintainability:** apply mapped rules, then inspect clarity, duplication, coupling, needless generality, tests, and maintainability. Repository rules override generic heuristics.\n- **Spec Fidelity:** compare every acceptance criterion, every phase outcome, and every exclusion, plus each requested behavior in the accepted plan, with the implementation; identify omissions, wrong behavior, and scope creep.\n\nFresh context and parallelism follow `..\u002Fmyflow\u002Freferences\u002Fcapabilities.md`. Run the three lanes in parallel when the host supports it, otherwise one after another with the same scope each. When subagents are unavailable, run each lane as a fresh session whose input is the scope spec, the complete manifest, the patch evidence, the accepted plan, and the mapped sources. A missing subagent facility never blocks the review; it only changes how each lane is run.\n\nEach lane must return its own evidence from the supplied scope. Record the run ID and agent identity actually used for each fresh review lane. Use locally available agents; no model matrix is required. Do not accept a pass verdict, checklist, or unsupported assurance as lane evidence. If a lane fails to return, or any lane misses part of the manifest, block rather than silently pass.\n\n## Normalize and verify\n\nRetain only actionable findings. Assign a stable ID (`CR-001`, `SM-001`, or `SF-001`) and severity:\n\n- **P0:** exploitable security\u002Fsafety failure, irreversible data loss\u002Fcorruption, or broad outage.\n- **P1:** incorrect behavior, regression, unmet requirement, or material operational\u002Fmaintenance failure.\n- **P2:** bounded improvement without demonstrated incorrect behavior; P2 does not block.\n\nEvery retained finding needs its stable ID, P0\u002FP1\u002FP2, failure mechanism, affected behavior or requirement, smallest fix, and source lane. For an implementation defect, cite changed `file:line` plus a verbatim quote. For an omission, cite the accepted plan or spec `path:line` with a verbatim quote and the nearest expected implementation seam. Changed-code evidence is required only when related code exists.\n\nSend provisional P0\u002FP1 claims to a separate fresh-context verifier for independent verification. Take that fresh context the same way the lanes do. Record the run ID and agent identity actually used for independent P0\u002FP1 verification. It inspects the cited code and callers, establishes the mechanism, and returns `confirmed`, `falsified`, or `inconclusive` with evidence. Drop falsified claims, retain confirmed claims, and block on inconclusive P0\u002FP1 or a verifier that returns no evidence. Do not change severity merely to alter the gate.\n\n## Gate and persist\n\n- confirmed P0\u002FP1 → **fail**;\n- missing mandatory evidence, incomplete scope, a required fresh review that returned unavailable, or inconclusive verification → **blocked**;\n- otherwise → **pass**; retained P2 findings do not block.\n\nWrite `templates\u002Freview.md` under the workstream `verify\u002F` directory. Include plan provenance, scope, lane evidence, retained findings, P0\u002FP1 verification, exclusions, and review verdict. The validation report must link this durable artifact and copy its exact scope provenance and verdict; a prose summary is not a substitute.\n","# Code review\n\nProduce a bounded, independent review with an auditable gate.\n\n## Pin the scope\n\nRun the installed `..\u002Fmyflow\u002Fscripts\u002Fresolve-repository-map.mjs` resolver and read mapped instructions. Require a scope spec and accepted plan or equivalent specification; Verify supplies its exact implementation scope (`base..head`, `empty-tree..head` when implementation starts at the root commit, or an explicit comma\u002Fwhitespace commit list) and accepted plan.\n\nExecute the active adapter from this skill's directory and retain its full output. The helper path is relative to this installed `skills\u002Fcode-review\u002FSKILL.md`:\n\n```bash\nnode _helpers\u002Freview-range.mjs \"\u003Cscope-spec>\"\n```\n\nRecord scope status, strategy, base, tip, range, resolved commits, dirty state, changed-files count, and every changed file by decoding each manifest entry as a JSON string so whitespace and control characters remain unambiguous. Read the generated `patch_path` and give every reviewer that same patch evidence with the complete manifest, scope provenance, plan, and mapped sources. The `all` patch preserves committed, cached, unstaged, and untracked layers separately so opposing index and worktree changes remain visible. A `commit-list` manifest is the union of each resolved commit's diff relative to its first parent, with the empty tree as a root commit's parent; its patch contains matching labeled per-commit sections. For commit-list review, retain the exact scope spec and resolved commit set; range base\u002Fhead alone is insufficient. `scope_status: invalid` or `empty`, a truncated manifest, unreadable patch evidence, unresolved revision, or mismatch with Verify's exact scope provenance makes review **blocked**. Dirty state outside an explicit range is an exclusion. A missing plan\u002Fequivalent spec blocks Spec Fidelity. Documented standards may be unavailable; still apply maintainability judgment.\n\n## Run three independent lanes\n\nLaunch exactly three required fresh-context reviewers in parallel:\n\n- **Correctness and Risk:** trace behavior through callers, tests, boundaries, regressions, and failure paths. Add security checks when trust, auth, permissions, secrets, input, or sensitive data change. Add dependency checks when manifests, locks, imports, versions, or external APIs change.\n- **Standards and Maintainability:** apply mapped rules, then inspect clarity, duplication, coupling, needless generality, tests, and maintainability. Repository rules override generic heuristics.\n- **Spec Fidelity:** compare every acceptance criterion, every phase outcome, and every exclusion, plus each requested behavior in the accepted plan, with the implementation; identify omissions, wrong behavior, and scope creep.\n\nFresh context and parallelism follow `..\u002Fmyflow\u002Freferences\u002Fcapabilities.md`. Run the three lanes in parallel when the host supports it, otherwise one after another with the same scope each. When subagents are unavailable, run each lane as a fresh session whose input is the scope spec, the complete manifest, the patch evidence, the accepted plan, and the mapped sources. A missing subagent facility never blocks the review; it only changes how each lane is run.\n\nEach lane must return its own evidence from the supplied scope. Record the run ID and agent identity actually used for each fresh review lane. Use locally available agents; no model matrix is required. Do not accept a pass verdict, checklist, or unsupported assurance as lane evidence. If a lane fails to return, or any lane misses part of the manifest, block rather than silently pass.\n\n## Normalize and verify\n\nRetain only actionable findings. Assign a stable ID (`CR-001`, `SM-001`, or `SF-001`) and severity:\n\n- **P0:** exploitable security\u002Fsafety failure, irreversible data loss\u002Fcorruption, or broad outage.\n- **P1:** incorrect behavior, regression, unmet requirement, or material operational\u002Fmaintenance failure.\n- **P2:** bounded improvement without demonstrated incorrect behavior; P2 does not block.\n\nEvery retained finding needs its stable ID, P0\u002FP1\u002FP2, failure mechanism, affected behavior or requirement, smallest fix, and source lane. For an implementation defect, cite changed `file:line` plus a verbatim quote. For an omission, cite the accepted plan or spec `path:line` with a verbatim quote and the nearest expected implementation seam. Changed-code evidence is required only when related code exists.\n\nSend provisional P0\u002FP1 claims to a separate fresh-context verifier for independent verification. Take that fresh context the same way the lanes do. Record the run ID and agent identity actually used for independent P0\u002FP1 verification. It inspects the cited code and callers, establishes the mechanism, and returns `confirmed`, `falsified`, or `inconclusive` with evidence. Drop falsified claims, retain confirmed claims, and block on inconclusive P0\u002FP1 or a verifier that returns no evidence. Do not change severity merely to alter the gate.\n\n## Gate and persist\n\n- confirmed P0\u002FP1 → **fail**;\n- missing mandatory evidence, incomplete scope, a required fresh review that returned unavailable, or inconclusive verification → **blocked**;\n- otherwise → **pass**; retained P2 findings do not block.\n\nWrite `templates\u002Freview.md` under the workstream `verify\u002F` directory. Include plan provenance, scope, lane evidence, retained findings, P0\u002FP1 verification, exclusions, and review verdict. The validation report must link this durable artifact and copy its exact scope provenance and verdict; a prose summary is not a substitute.\n",{"name":5,"description":7},"main","d0a5f620d08689e2cb9684ab07b8055854402f57","skills\u002Fcode-review","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow","https:\u002F\u002Fdon-smith.github.io\u002Fmyflow\u002F","https:\u002F\u002Fgithub.com\u002Fdon-smith","attempting the most positive impact possible while trying to figure out what that means","2026-10-23 09:17:14",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add don-smith\u002Fmyflow --skill code-review",{"tool":38,"command":39},"bunx","bunx skills add don-smith\u002Fmyflow --skill code-review",{"tool":41,"command":42},"pnpm","pnpm dlx skills add don-smith\u002Fmyflow --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Fcode-review\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"_helpers\u002Freview-range.mjs","SCRIPT","脚本",16169,"https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Fcode-review\u002F_helpers\u002Freview-range.mjs",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"_helpers\u002Freview-range.test.mjs",29059,"https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Fcode-review\u002F_helpers\u002Freview-range.test.mjs",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"templates\u002Freview.md","REFERENCE","参考文档",4338,"https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Fcode-review\u002Ftemplates\u002Freview.md",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75NGR4SAVDTSN8A11EW8NBH","clean-support","Use when the clean-stage fixture skill needs a supporting skill to reference.","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-structure\u002Fskills\u002Fclean-support\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M75NGPM5WW77DHQN07SSGQWG","clean-stage","Use when exercising the structural skill lint against a tree that satisfies every rule.","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-structure\u002Fskills\u002Fclean-stage\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M75NGMXP2ANH3WB2QM5XE75Z","verify","Use after Implement to verify an accepted MyFlow plan, collect review evidence, and produce a workstream-aware Verify report.","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M75NGHZVYBDA346Q14MH7PRG","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M75NGD25AY0E4F8JRY8AT392","tdd","Use during design and planning to shape testable interfaces, seams, and verification strategy; use during implementation when a plan needs a test-first behavior cycle","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M75NGB6W0G42QCQNZQSZD0CW","story","Tell a repository's artifact-backed story, answer a question with a dated chapter, or refresh stale story pages.","https:\u002F\u002Fgithub.com\u002Fdon-smith\u002Fmyflow\u002Fblob\u002Fmain\u002Fskills\u002Fstory\u002FSKILL.md",[],[]]