[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E910YK2942Z50S9AFFEBGW":3,"skill-same:01M7E910YK2942Z50S9AFFEBGW":47},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7E910YK2942Z50S9AFFEBGW","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\u002Fspec asked for?). Runs both reviews in parallel tasks 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\".","caudra\u002Fcaudra","caudra","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F323451438?v=4","01M7E8TXZKWCW4S2EPW520718N","Caudra","01M7E8TY09J7AVFRE6S2179890",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-mattpocock\u002Ftranslated\u002Fskills\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\u002Fspec asked for?). Runs both reviews in parallel tasks 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\nTwo-axis review of a committed range and\u002For working-tree changes, with the scope pinned before review:\n\n- **Standards**: does the code conform to this repo's documented coding standards?\n- **Spec**: does the code faithfully implement the originating issue \u002F spec?\n\nBoth axes run as **parallel tasks** so they don't pollute each other's context, then this skill aggregates their findings.\n\nReview is read-only in Plan or Build mode; do not change the session plan unless requested. Applying fixes requires Build mode and is separate from this review. If `question` or its answer channel is unavailable, present the question in plain text and say which decision is needed to continue. Unanswered, deferred, skipped, or dismissed questions do not authorize dependent work.\n\nWhen the spec lives on [the issue tracker](..\u002F..\u002Fcaudra\u002Fissue-tracker.md), that page says how to find and read it.\n\n## Process\n\n### 1. Pin the scope and fixed point\n\nDistinguish a **committed branch range** from **staged, unstaged, and untracked WIP**; do not silently include or omit either. Honor the supplied scope. If unclear, ask with `question`, recommending the merge-base with the default branch for a branch review, or all WIP for a work-in-progress review.\n\nFor a committed range, resolve the supplied ref and `HEAD` to commit SHAs (`git rev-parse --verify '\u003Cref>^{commit}'`). An **exact commit\u002Ftag fixed point** means `git diff \u003Cbase-sha> \u003Chead-sha>`; use `git merge-base \u003Cref-sha> \u003Chead-sha>` as the base only when branch\u002Fmerge-base semantics are intended. Three-dot diff chooses a merge-base; it does not mean \"since this exact commit.\" Record the selected base, head, diff command, and `git log \u003Cbase-sha>..\u003Chead-sha> --oneline`.\n\nFor WIP, record `git status --short --untracked-files=all`, `git diff --cached` (staged), and `git diff` (unstaged); read the selected untracked files explicitly, since neither diff includes them. Select only the requested categories and paths. For combined branch-plus-WIP review, retain both evidence sets rather than treating `...HEAD` as the whole change.\n\nGive both tasks the same scope record: resolved commits, commands, path filters, WIP categories, and untracked-file list. Validate refs and check all selected evidence for a non-empty change before launching. Avoid concurrent edits; if the worktree changes during review, refresh both tasks' affected evidence. Shell admission is not completion; wait for terminal results. Recover truncated diffs or logs with `tool_output` only when a retained output handle is provided; otherwise report the missing evidence, never invent a handle.\n\n### 2. Identify the spec source\n\nLook for the originating spec, in this order:\n\n1. The spec or path explicitly supplied by the user.\n2. The relevant session plan (`plan` with `action: \"read\"`), linked issues (fetched as the issue tracker page says), and matching spec files in the repo. Use only requirements relevant to the selected scope; ask about conflicts rather than silently choosing.\n3. Only if context is still missing, targeted `history.search` \u002F `history.read` through `code` after reading `help(\"history\")`; do not trawl unrelated sessions.\n4. If nothing is found, ask the user where the spec is. If they say there isn't one, the **Spec** task will skip and report \"no spec available\".\n\n### 3. Identify the standards sources\n\nSearch the repo for every file that documents how code should be written. When `CODING_STANDARDS.md` or `CONTRIBUTING.md` exists, it must be on the list.\n\nOn top of whatever 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 overrides.** A documented repo standard always wins; where it endorses something the baseline would flag, suppress the smell.\n- **Always a judgement call.** Each smell is a labelled heuristic (\"possible Feature Envy\"), never a hard violation. Like any standard here, skip anything tooling already enforces.\n\nEach smell reads *what it is* → *how to fix*; match it against the diff:\n\n- **Mysterious Name**: a function, variable, or type whose name doesn't reveal what it does or holds. → rename it; if no honest name comes, the design's murky.\n- **Duplicated Code**: the same logic shape appears in more than one hunk or file in the change. → extract the shared shape, call it from both.\n- **Feature Envy**: a method that reaches into another object's data more than its own. → move the method onto the data it envies.\n- **Data Clumps**: the same few fields or params keep travelling together (a type wanting to be born). → bundle them into one type, pass that.\n- **Primitive Obsession**: a primitive or string standing in for a domain concept that deserves its own type. → give the concept its own small type.\n- **Repeated Switches**: the same `switch`\u002F`if`-cascade on the same type recurs across the change. → replace with polymorphism, or one map both sites share.\n- **Shotgun Surgery**: one logical change forces scattered edits across many files in the diff. → gather what changes together into one module.\n- **Divergent Change**: one file or module is edited for several unrelated reasons. → split so each module changes for one reason.\n- **Speculative Generality**: abstraction, parameters, or hooks added for needs the spec doesn't have. → delete it; inline back until a real need shows.\n- **Message Chains**: long `a.b().c().d()` navigation 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 just delegates onward. → cut it, call the real target direct.\n- **Refused Bequest**: a subclass or implementer that ignores or overrides most of what it inherits. → drop the inheritance, use composition.\n\n### 4. Start both tasks in parallel\n\nUse `batch` for both independent foreground `task` calls, each with `mode: \"plan\"` so neither edits the code, and aggregate the reports they return. Tell both to use `source_code_context` for relevant implementation paths, `file_index` before focused reads, and `source_code_refs` for affected callers\u002Ftests when available; otherwise use `file_glob`, `file_grep`, and `file_read`. Graph counts are lower bounds, not proof that unlisted callers or coverage do not exist.\n\n**Standards task brief** should include:\n\n- The shared scope record and commit list from step 1.\n- The list of standards-source files you found in step 3, **plus the smell baseline from step 3** pasted in full (the task has no other access 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. Distinguish 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 task brief** should include:\n\n- The same scope record and commit list from step 1.\n- The path or fetched contents of the spec.\n- The brief: \"Report: (a) requirements the spec asked for that are missing or partial; (b) behaviour in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line for each finding. Under 400 words.\"\n\nIf the spec is missing, skip the Spec task and note this in the final report.\n\n### 5. Aggregate\n\nValidate child findings against the scoped diff, surrounding code, and cited standard or spec. Remove unsupported claims and duplicates within each axis; mark unresolved uncertainty and checks not run. Present the validated reports under `## Standards` and `## Spec` headings. Do **not** merge or rerank findings across axes, because the two axes are deliberately separate (see _Why two axes_).\n\nEnd with a one-line summary: total findings per axis, and the worst issue _within each axis_ (if any). Don't pick a single winner across axes: that's the reranking the separation exists to prevent.\n\n## Why two axes\n\nA change can pass one axis and fail the other:\n\n- Code that follows every standard but implements the wrong thing → **Standards pass, Spec fail.**\n- Code that does exactly what the issue asked but breaks the project's conventions → **Spec pass, Standards fail.**\n\nReporting them separately stops one axis from masking the other.\n","Two-axis review of a committed range and\u002For working-tree changes, with the scope pinned before review:\n\n- **Standards**: does the code conform to this repo's documented coding standards?\n- **Spec**: does the code faithfully implement the originating issue \u002F spec?\n\nBoth axes run as **parallel tasks** so they don't pollute each other's context, then this skill aggregates their findings.\n\nReview is read-only in Plan or Build mode; do not change the session plan unless requested. Applying fixes requires Build mode and is separate from this review. If `question` or its answer channel is unavailable, present the question in plain text and say which decision is needed to continue. Unanswered, deferred, skipped, or dismissed questions do not authorize dependent work.\n\nWhen the spec lives on [the issue tracker](..\u002F..\u002Fcaudra\u002Fissue-tracker.md), that page says how to find and read it.\n\n## Process\n\n### 1. Pin the scope and fixed point\n\nDistinguish a **committed branch range** from **staged, unstaged, and untracked WIP**; do not silently include or omit either. Honor the supplied scope. If unclear, ask with `question`, recommending the merge-base with the default branch for a branch review, or all WIP for a work-in-progress review.\n\nFor a committed range, resolve the supplied ref and `HEAD` to commit SHAs (`git rev-parse --verify '\u003Cref>^{commit}'`). An **exact commit\u002Ftag fixed point** means `git diff \u003Cbase-sha> \u003Chead-sha>`; use `git merge-base \u003Cref-sha> \u003Chead-sha>` as the base only when branch\u002Fmerge-base semantics are intended. Three-dot diff chooses a merge-base; it does not mean \"since this exact commit.\" Record the selected base, head, diff command, and `git log \u003Cbase-sha>..\u003Chead-sha> --oneline`.\n\nFor WIP, record `git status --short --untracked-files=all`, `git diff --cached` (staged), and `git diff` (unstaged); read the selected untracked files explicitly, since neither diff includes them. Select only the requested categories and paths. For combined branch-plus-WIP review, retain both evidence sets rather than treating `...HEAD` as the whole change.\n\nGive both tasks the same scope record: resolved commits, commands, path filters, WIP categories, and untracked-file list. Validate refs and check all selected evidence for a non-empty change before launching. Avoid concurrent edits; if the worktree changes during review, refresh both tasks' affected evidence. Shell admission is not completion; wait for terminal results. Recover truncated diffs or logs with `tool_output` only when a retained output handle is provided; otherwise report the missing evidence, never invent a handle.\n\n### 2. Identify the spec source\n\nLook for the originating spec, in this order:\n\n1. The spec or path explicitly supplied by the user.\n2. The relevant session plan (`plan` with `action: \"read\"`), linked issues (fetched as the issue tracker page says), and matching spec files in the repo. Use only requirements relevant to the selected scope; ask about conflicts rather than silently choosing.\n3. Only if context is still missing, targeted `history.search` \u002F `history.read` through `code` after reading `help(\"history\")`; do not trawl unrelated sessions.\n4. If nothing is found, ask the user where the spec is. If they say there isn't one, the **Spec** task will skip and report \"no spec available\".\n\n### 3. Identify the standards sources\n\nSearch the repo for every file that documents how code should be written. When `CODING_STANDARDS.md` or `CONTRIBUTING.md` exists, it must be on the list.\n\nOn top of whatever 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 overrides.** A documented repo standard always wins; where it endorses something the baseline would flag, suppress the smell.\n- **Always a judgement call.** Each smell is a labelled heuristic (\"possible Feature Envy\"), never a hard violation. Like any standard here, skip anything tooling already enforces.\n\nEach smell reads *what it is* → *how to fix*; match it against the diff:\n\n- **Mysterious Name**: a function, variable, or type whose name doesn't reveal what it does or holds. → rename it; if no honest name comes, the design's murky.\n- **Duplicated Code**: the same logic shape appears in more than one hunk or file in the change. → extract the shared shape, call it from both.\n- **Feature Envy**: a method that reaches into another object's data more than its own. → move the method onto the data it envies.\n- **Data Clumps**: the same few fields or params keep travelling together (a type wanting to be born). → bundle them into one type, pass that.\n- **Primitive Obsession**: a primitive or string standing in for a domain concept that deserves its own type. → give the concept its own small type.\n- **Repeated Switches**: the same `switch`\u002F`if`-cascade on the same type recurs across the change. → replace with polymorphism, or one map both sites share.\n- **Shotgun Surgery**: one logical change forces scattered edits across many files in the diff. → gather what changes together into one module.\n- **Divergent Change**: one file or module is edited for several unrelated reasons. → split so each module changes for one reason.\n- **Speculative Generality**: abstraction, parameters, or hooks added for needs the spec doesn't have. → delete it; inline back until a real need shows.\n- **Message Chains**: long `a.b().c().d()` navigation 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 just delegates onward. → cut it, call the real target direct.\n- **Refused Bequest**: a subclass or implementer that ignores or overrides most of what it inherits. → drop the inheritance, use composition.\n\n### 4. Start both tasks in parallel\n\nUse `batch` for both independent foreground `task` calls, each with `mode: \"plan\"` so neither edits the code, and aggregate the reports they return. Tell both to use `source_code_context` for relevant implementation paths, `file_index` before focused reads, and `source_code_refs` for affected callers\u002Ftests when available; otherwise use `file_glob`, `file_grep`, and `file_read`. Graph counts are lower bounds, not proof that unlisted callers or coverage do not exist.\n\n**Standards task brief** should include:\n\n- The shared scope record and commit list from step 1.\n- The list of standards-source files you found in step 3, **plus the smell baseline from step 3** pasted in full (the task has no other access 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. Distinguish 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 task brief** should include:\n\n- The same scope record and commit list from step 1.\n- The path or fetched contents of the spec.\n- The brief: \"Report: (a) requirements the spec asked for that are missing or partial; (b) behaviour in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line for each finding. Under 400 words.\"\n\nIf the spec is missing, skip the Spec task and note this in the final report.\n\n### 5. Aggregate\n\nValidate child findings against the scoped diff, surrounding code, and cited standard or spec. Remove unsupported claims and duplicates within each axis; mark unresolved uncertainty and checks not run. Present the validated reports under `## Standards` and `## Spec` headings. Do **not** merge or rerank findings across axes, because the two axes are deliberately separate (see _Why two axes_).\n\nEnd with a one-line summary: total findings per axis, and the worst issue _within each axis_ (if any). Don't pick a single winner across axes: that's the reranking the separation exists to prevent.\n\n## Why two axes\n\nA change can pass one axis and fail the other:\n\n- Code that follows every standard but implements the wrong thing → **Standards pass, Spec fail.**\n- Code that does exactly what the issue asked but breaks the project's conventions → **Spec pass, Standards fail.**\n\nReporting them separately stops one axis from masking the other.\n",{"name":5,"description":7},"main","0f03370f86af943c19c2069f7e1d5d43e73ffbd2","caudra-mattpocock\u002Ftranslated\u002Fskills\u002Fcode-review",1,"https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra","https:\u002F\u002Fcaudra.ai","https:\u002F\u002Fgithub.com\u002Fcaudra","The complete coding agent for your terminal.","2026-11-04 22:18:53",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add caudra\u002Fcaudra --skill code-review",{"tool":39,"command":40},"bunx","bunx skills add caudra\u002Fcaudra --skill code-review",{"tool":42,"command":43},"pnpm","pnpm dlx skills add caudra\u002Fcaudra --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-mattpocock\u002Ftranslated\u002Fskills\u002Fcode-review\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7E9CBRVDFYTA5GBY8F1XQQE","caudra-workflow-dev","Write, validate, run, and debug Caudra workflows. A workflow is a durable Rhai script that fans work out to subagents in phases, checks what comes back, and keeps a journal so it can resume. Load this before writing a workflow file, before calling the workflow tool, or when a repeatable multi-agent plan would serve the user better than doing the steps by hand.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-workflow\u002Fskill\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7E9C6YC8R09DS8DP8XZ23YN","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7E9C5KHAJY5TY81E04XMJBN","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7E9C3TZ3KJS5HE7PQPQ70DF","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7E9C0FK9PPRYWRM7451053P","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7E9BWAVMA3BD4B63QV635RQ","teach","Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.","https:\u002F\u002Fgithub.com\u002Fcaudra\u002Fcaudra\u002Fblob\u002Fmain\u002Fcaudra-pstack\u002Fupstream\u002Fpstack\u002Fskills\u002Fteach\u002FSKILL.md",[],[]]