[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7882H2MF2CR9RT7SH051YKD":3,"skill-same:01M7882H2MF2CR9RT7SH051YKD":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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7882H2MF2CR9RT7SH051YKD","code-review",null,"Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue\u002FPRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to \"review since X\".","officialunofficial\u002Fskills","officialunofficial","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F127067914?v=4","01M78827JABEMMN63AC8J1RCXV","Official Unofficial, Inc.","01M78827KC164SFKN4DXTCKK7N",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fcode-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-review\ndescription: Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue\u002FPRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to \"review since X\".\n---\n\nReview the diff between `HEAD` and a fixed point the user names, along two independent axes:\n\n- **Standards** — does the code obey this repo's documented coding standards?\n- **Spec** — does the code actually build what the originating issue \u002F PRD \u002F spec called for?\n\nEach axis runs in its own **parallel sub-agent** so neither one contaminates the other's context; this skill then gathers their findings together.\n\nYou should already have the issue tracker on hand — run `\u002Fsetup-skills` if `docs\u002Fagents\u002Fissue-tracker.md` is missing.\n\n## Process\n\n### 1. Pin the fixed point\n\nThe fixed point is whatever the user gave you — a commit SHA, a branch name, a tag, `main`, `HEAD~5`, and so on. If they gave you nothing, ask.\n\nLock in the diff command once: `git diff \u003Cfixed-point>...HEAD` (three-dot, comparing against the merge-base). Grab the commit list too: `git log \u003Cfixed-point>..HEAD --oneline`.\n\nBefore you go any further, verify the fixed point resolves (`git rev-parse \u003Cfixed-point>`) and the diff has content. A dead ref or empty diff should blow up right here — not deep inside two parallel sub-agents.\n\n### 2. Identify the spec source\n\nHunt for the originating spec in this order:\n\n1. Issue references in the commit messages (`#123`, `Closes #45`, GitLab `!67`, and so on) — retrieve them via the workflow in `docs\u002Fagents\u002Fissue-tracker.md`.\n2. A path the user handed you as an argument.\n3. A PRD or spec file under `docs\u002F`, `specs\u002F`, or `.scratch\u002F` whose name matches the branch or feature.\n4. If none of that turns up anything, ask the user where the spec is. If they say there is none, the **Spec** sub-agent skips and reports \"no spec available\".\n\n### 3. Identify the standards sources\n\nWhatever in the repo documents how code ought to be written — `CODING_STANDARDS.md`, `CONTRIBUTING.md`, and their kin.\n\nOn top of anything the repo documents, the Standards axis always carries the **smell baseline** below: a fixed set of Fowler code smells (_Refactoring_, ch. 3) that applies even when a repo documents nothing. Two rules bind it:\n\n- **The repo wins.** A documented repo standard always beats the baseline; wherever the repo blesses something the baseline would flag, drop the smell.\n- **Always a judgement call.** Every smell is a labelled heuristic (\"possible Feature Envy\"), never a hard violation — and, as with any standard here, skip whatever tooling already enforces.\n\nEach smell reads *what it is* → *how to fix*; check the diff against each:\n\n- **Mysterious Name** — a function, variable, or type whose name hides what it does or holds. → rename it; if no honest name surfaces, the design itself is murky.\n- **Duplicated Code** — the same shape of logic shows up across more than one hunk or file in the change. → extract the shared shape and call it from both.\n- **Feature Envy** — a method that fingers another object's data more than its own. → move the method onto the data it envies.\n- **Data Clumps** — the same handful of fields or params keep travelling as a group (a type trying to be born). → gather them into one type and pass that.\n- **Primitive Obsession** — a primitive or string standing in for a domain concept that deserves a type. → give the concept its own small type.\n- **Repeated Switches** — the same `switch` or `if`-cascade over the same type recurs across the change. → replace it with polymorphism, or one map both sites share.\n- **Shotgun Surgery** — one logical change forces edits scattered across many files in the diff. → pull what changes together into one module.\n- **Divergent Change** — one file or module gets edited for several unrelated reasons. → split it so each module changes for a single reason.\n- **Speculative Generality** — abstraction, parameters, or hooks added for needs the spec never states. → delete it; inline it back until a real need appears.\n- **Message Chains** — long `a.b().c().d()` walks the caller shouldn't depend on. → hide the walk behind one method on the first object.\n- **Middle Man** — a class or function that mostly forwards calls onward. → cut it out and call the real target directly.\n- **Refused Bequest** — a subclass or implementer that ignores or overrides most of what it inherits. → drop the inheritance in favor of composition.\n\n### 4. Spawn both sub-agents in parallel\n\nSend one message carrying two `Agent` tool calls. Use the `general-purpose` subagent for each.\n\n**Standards sub-agent prompt** — include:\n\n- The full diff command and commit list.\n- The standards-source files you found in step 3, **plus the smell baseline from step 3 pasted in full** — the sub-agent has no other route to it.\n- The brief: \"Report — per file\u002Fhunk where relevant — (a) every place the diff violates a documented standard: cite the standard (file + the rule); and (b) any baseline smell you spot: name it and quote the hunk. Separate hard violations from judgement calls — documented-standard breaches can be hard, but baseline smells are always judgement calls, and a documented repo standard overrides the baseline. Skip anything tooling enforces. Under 400 words.\"\n\n**Spec sub-agent prompt** — include:\n\n- The diff command and commit list.\n- The path to, or fetched contents of, the spec.\n- The brief: \"Report: (a) requirements the spec asked for that are missing or only partly done; (b) behaviour in the diff nobody asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line behind each finding. Under 400 words.\"\n\nIf there's no spec, skip the Spec sub-agent and say so in the final report.\n\n### 5. Aggregate\n\nLay out the two reports under `## Standards` and `## Spec` headings, verbatim or lightly tidied. Do **not** merge or re-rank the findings — the two axes are deliberately kept apart (see _Why two axes_).\n\nClose with a one-line summary: total findings per axis, and the worst issue _within each axis_ (if any). Don't crown a single winner across axes — that cross-axis reranking is exactly what the separation exists to prevent.\n\n## Why two axes\n\nA change can clear one axis and fail the other:\n\n- Code that honors every standard but builds the wrong thing → **Standards pass, Spec fail.**\n- Code that does precisely what the issue asked but tramples the project's conventions → **Spec pass, Standards fail.**\n\nReporting the two separately keeps one axis from hiding the other.\n","Review the diff between `HEAD` and a fixed point the user names, along two independent axes:\n\n- **Standards** — does the code obey this repo's documented coding standards?\n- **Spec** — does the code actually build what the originating issue \u002F PRD \u002F spec called for?\n\nEach axis runs in its own **parallel sub-agent** so neither one contaminates the other's context; this skill then gathers their findings together.\n\nYou should already have the issue tracker on hand — run `\u002Fsetup-skills` if `docs\u002Fagents\u002Fissue-tracker.md` is missing.\n\n## Process\n\n### 1. Pin the fixed point\n\nThe fixed point is whatever the user gave you — a commit SHA, a branch name, a tag, `main`, `HEAD~5`, and so on. If they gave you nothing, ask.\n\nLock in the diff command once: `git diff \u003Cfixed-point>...HEAD` (three-dot, comparing against the merge-base). Grab the commit list too: `git log \u003Cfixed-point>..HEAD --oneline`.\n\nBefore you go any further, verify the fixed point resolves (`git rev-parse \u003Cfixed-point>`) and the diff has content. A dead ref or empty diff should blow up right here — not deep inside two parallel sub-agents.\n\n### 2. Identify the spec source\n\nHunt for the originating spec in this order:\n\n1. Issue references in the commit messages (`#123`, `Closes #45`, GitLab `!67`, and so on) — retrieve them via the workflow in `docs\u002Fagents\u002Fissue-tracker.md`.\n2. A path the user handed you as an argument.\n3. A PRD or spec file under `docs\u002F`, `specs\u002F`, or `.scratch\u002F` whose name matches the branch or feature.\n4. If none of that turns up anything, ask the user where the spec is. If they say there is none, the **Spec** sub-agent skips and reports \"no spec available\".\n\n### 3. Identify the standards sources\n\nWhatever in the repo documents how code ought to be written — `CODING_STANDARDS.md`, `CONTRIBUTING.md`, and their kin.\n\nOn top of anything the repo documents, the Standards axis always carries the **smell baseline** below: a fixed set of Fowler code smells (_Refactoring_, ch. 3) that applies even when a repo documents nothing. Two rules bind it:\n\n- **The repo wins.** A documented repo standard always beats the baseline; wherever the repo blesses something the baseline would flag, drop the smell.\n- **Always a judgement call.** Every smell is a labelled heuristic (\"possible Feature Envy\"), never a hard violation — and, as with any standard here, skip whatever tooling already enforces.\n\nEach smell reads *what it is* → *how to fix*; check the diff against each:\n\n- **Mysterious Name** — a function, variable, or type whose name hides what it does or holds. → rename it; if no honest name surfaces, the design itself is murky.\n- **Duplicated Code** — the same shape of logic shows up across more than one hunk or file in the change. → extract the shared shape and call it from both.\n- **Feature Envy** — a method that fingers another object's data more than its own. → move the method onto the data it envies.\n- **Data Clumps** — the same handful of fields or params keep travelling as a group (a type trying to be born). → gather them into one type and pass that.\n- **Primitive Obsession** — a primitive or string standing in for a domain concept that deserves a type. → give the concept its own small type.\n- **Repeated Switches** — the same `switch` or `if`-cascade over the same type recurs across the change. → replace it with polymorphism, or one map both sites share.\n- **Shotgun Surgery** — one logical change forces edits scattered across many files in the diff. → pull what changes together into one module.\n- **Divergent Change** — one file or module gets edited for several unrelated reasons. → split it so each module changes for a single reason.\n- **Speculative Generality** — abstraction, parameters, or hooks added for needs the spec never states. → delete it; inline it back until a real need appears.\n- **Message Chains** — long `a.b().c().d()` walks the caller shouldn't depend on. → hide the walk behind one method on the first object.\n- **Middle Man** — a class or function that mostly forwards calls onward. → cut it out and call the real target directly.\n- **Refused Bequest** — a subclass or implementer that ignores or overrides most of what it inherits. → drop the inheritance in favor of composition.\n\n### 4. Spawn both sub-agents in parallel\n\nSend one message carrying two `Agent` tool calls. Use the `general-purpose` subagent for each.\n\n**Standards sub-agent prompt** — include:\n\n- The full diff command and commit list.\n- The standards-source files you found in step 3, **plus the smell baseline from step 3 pasted in full** — the sub-agent has no other route to it.\n- The brief: \"Report — per file\u002Fhunk where relevant — (a) every place the diff violates a documented standard: cite the standard (file + the rule); and (b) any baseline smell you spot: name it and quote the hunk. Separate hard violations from judgement calls — documented-standard breaches can be hard, but baseline smells are always judgement calls, and a documented repo standard overrides the baseline. Skip anything tooling enforces. Under 400 words.\"\n\n**Spec sub-agent prompt** — include:\n\n- The diff command and commit list.\n- The path to, or fetched contents of, the spec.\n- The brief: \"Report: (a) requirements the spec asked for that are missing or only partly done; (b) behaviour in the diff nobody asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line behind each finding. Under 400 words.\"\n\nIf there's no spec, skip the Spec sub-agent and say so in the final report.\n\n### 5. Aggregate\n\nLay out the two reports under `## Standards` and `## Spec` headings, verbatim or lightly tidied. Do **not** merge or re-rank the findings — the two axes are deliberately kept apart (see _Why two axes_).\n\nClose with a one-line summary: total findings per axis, and the worst issue _within each axis_ (if any). Don't crown a single winner across axes — that cross-axis reranking is exactly what the separation exists to prevent.\n\n## Why two axes\n\nA change can clear one axis and fail the other:\n\n- Code that honors every standard but builds the wrong thing → **Standards pass, Spec fail.**\n- Code that does precisely what the issue asked but tramples the project's conventions → **Spec pass, Standards fail.**\n\nReporting the two separately keeps one axis from hiding the other.\n",{"name":5,"description":7},"main","e1e71e8aa302edca3e052370aefa9272f86d07ee","skills\u002Fengineering\u002Fcode-review",0,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills","https:\u002F\u002Fgithub.com\u002Fofficialunofficial","officialunofficial.com","2026-11-06 10:07:10",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add officialunofficial\u002Fskills --skill code-review",{"tool":38,"command":39},"bunx","bunx skills add officialunofficial\u002Fskills --skill code-review",{"tool":41,"command":42},"pnpm","pnpm dlx skills add officialunofficial\u002Fskills --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fcode-review\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7887BDP2BC5HFHEKCNMBZ4Q","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M788772K4QYXCZX3Y2P2AX9V","technical-writing","House style for technical writing — the voice, sentence craft, formatting, and user-facing-copy rules that make docs and product text clear, direct, and consistent. Use when writing or editing a README, docs, a spec, release notes, a changelog, help text, or any error\u002FCLI\u002FUI copy a person reads; when reviewing a diff that touches prose or messages; or when a project needs a writing standard. Reference-heavy mechanics live in REFERENCE.md.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M78875087F1XKP7C6VRC49CY","teach","Teach the user a new skill or concept, within this workspace.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fteach\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M78872Z38MACN22AQDY9410P","handoff","Compact the current conversation into a handoff document for another agent to pick up.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M78870FVRDYRT1WVP9HJ6FQ3","grilling","Interrogate the user's plan or design one decision at a time until you both share the same understanding. Use when the user wants to pressure-test an idea before building it, or reaches for any 'grill' trigger phrase.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrilling\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7886XGPEWXZYDA6K310HNYP","grill-me","A relentless, one-decision-at-a-time interview that sharpens a plan or design.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrill-me\u002FSKILL.md",[],[]]