[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DNDVHX2FJHT85X5GJ5HVNT":3,"skill-same:01M6DNDVHX2FJHT85X5GJ5HVNT":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6DNDVHX2FJHT85X5GJ5HVNT","audit",null,"Use to audit a whole codebase (the entire repository by default, or a specified package or path) with the native review panel, then fix the actionable findings and put them up as pull requests using the project's version control or stacking tool (GitButler or plain git). Triggers on requests to audit the repo or a crate or package and open fixes for what it finds. Like review-loop, but scoped to standing code and shipping the fixes as PRs.","0xgleb\u002Fdotconfig","0xgleb","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39841057?v=4","01M6DNDD83BRMM1SH4R4C6K8GY","01M6DNDDCPH33FEFB6JN6Y2GVD",3,"MIT","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Faudit\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"review","native","mktemp","review panel","mkdir","actionable","read","command","shipping","pull requests","code","Bash","workflow","loop","open","fix","up","default","project","2026-11-10 10:12:30",false,"---\nname: audit\nuser-invocable: true\nallowed-tools: Bash(git:*), Bash(gh:*), Bash(but:*), Bash(direnv:*), Bash(command:*), Bash(cargo:*), Bash(nix:*), Bash(mkdir:*), Bash(cat:*), Bash(mktemp:*), Bash(rm:*), Bash(test:*), Bash(grep:*), Bash(wc:*), Bash(date:*), Bash(basename:*), Bash(find:*), Read, Write, Edit, Agent, Workflow, AskUserQuestion, Skill\ndescription: Use to audit a whole codebase (the entire repository by default, or a specified package or path) with the native review panel, then fix the actionable findings and put them up as pull requests using the project's version control or stacking tool (GitButler or plain git). Triggers on requests to audit the repo or a crate or package and open fixes for what it finds. Like review-loop, but scoped to standing code and shipping the fixes as PRs.\nargument-hint: [package-or-path]\n---\n\nAudit a whole codebase with the same native panel the rest of the review stack\nuses, then **fix what it finds and put the fixes up as PRs**. Where\n`\u002Freview-pr`, `\u002Freview-loop`, and `\u002Freview-sweep` review a **diff**, this\nreviews **standing code** — the whole repo, or a package\u002Fpath you name — and,\nlike `\u002Freview-loop`, fixes the findings; but instead of leaving fixes\nuncommitted it opens one PR per coherent fix-cluster using whatever VCS\u002Fstacking\ntool the repo uses.\n\nThe **review engine** is the shared `~\u002F.claude\u002Fskills\u002Freview-core\u002FSKILL.md`. The\n**fix discipline** (triage, surgical fixes, compile gate, delta re-review,\ndiscovered check command) is `\u002Freview-loop`'s. The **tool detection and stack\nprimitives** are `\u002Freview-sweep`'s. This skill adds only: a whole-repo scope\n(via a synthetic diff) and a branch-per-cluster, open-a-PR action.\n\nFollow these steps precisely.\n\n## 1. Resolve the audit scope\n\n`$ARGUMENTS` is an optional package or path. With no argument — the common case\n— audit the **whole repository**. A whole-repo audit is the intended default: it\nis expected to be large, and size alone is NEVER a reason to stop and ask. Chunk\nhard (step 5) and proceed. The only scope-related stop-and-ask is a _named_\nscope that fails to resolve (below); an unscoped invocation always runs the\nwhole repo.\n\n```bash\nrepo_root=$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\nscope=\"${ARGUMENTS:-.}\"   # dir \u002F crate dir \u002F pathspec under repo_root; \".\" = whole repo\n```\n\nIf `$ARGUMENTS` names a thing that is not a path (a bare crate name), resolve it\nto its directory before continuing; if it cannot be resolved under the repo,\nstop and ask rather than auditing everything by accident.\n\n## 2. Detect the VCS\u002Fstacking tool and preflight\n\nThe action opens branches and PRs, so detect the tool (same as `\u002Freview-sweep`).\nComplete the directory-ignore preflight before requiring a clean tree or writing\nartifacts.\n\n```bash\ngit_common_dir=$(git -C \"$repo_root\" rev-parse --path-format=absolute --git-common-dir)\nmain_root=$(git -C \"$repo_root\" worktree list --porcelain | sed -n 's\u002F^worktree \u002F\u002Fp' | head -n1)\nif [ \"$repo_root\" != \"$main_root\" ]; then tool=git\nelif [ -d \"$git_common_dir\u002Fgitbutler\" ]; then tool=gitbutler\nelse tool=git\nfi\ntrunk=$(git -C \"$repo_root\" symbolic-ref refs\u002Fremotes\u002Forigin\u002FHEAD --short 2>\u002Fdev\u002Fnull | sed 's#^origin\u002F##' || echo master)\nstart_branch=$(git -C \"$repo_root\" rev-parse --abbrev-ref HEAD)   # return here at the end\n```\n\nGitButler is main-worktree-only; every linked, isolated, or scratch worktree\nuses plain Git without probing `but`. In a verified GitButler main worktree,\nconfirm workspace mode (`but status` ok) as `\u002Freview-sweep` does.\n\nApply `GLOBAL_AGENTS.md`'s directory-ignore preflight, including state capture\nand separate repair accounting, before the clean-tree gate or any artifact\nwrite. This preflight also applies to a zero-finding audit.\n\nAfter accounting for the repair, require a clean working tree\u002Findex; stop and\nreport any remaining unrelated changes without discarding them. Fix clusters\nstart from clean branches off trunk. Recheck ignore coverage after each checkout\ntransition, including returning to `start_branch`, before using either\ndirectory. Follow the same global preflight at each transition rather than\ncarrying an unaccounted repair between fix clusters.\n\n## 3. Prepare the workspace and build the audit target\n\nRender the scoped tree as an all-additions diff against the **empty tree** so\nthe diff-centric engine can audit standing code. Gitignored paths drop out for\nfree; exclude the tracked lockfiles.\n\n```bash\ninvocation_id=$(uuidgen) || exit 1\nsafe_scope=$(echo \"$scope\" | tr '\u002F. ' '___')\nout_dir=\"$repo_root\u002F.tmp\u002Fagent-local-ctx\u002Freviews\u002Faudit-${invocation_id}-${safe_scope}\"\n```\n\nAfter step 2's preflight covers this invocation path, create and record its\nresolved absolute directory through the registered harness tool:\n\n```json\n{ \"action\": \"create_directory\", \"path\": \"\u003Cresolved absolute out_dir>\" }\n```\n\nUse `artifact_provenance` or an available registered harness equivalent. Require\nsuccessful creation\u002Frecording before writing descendants; the recorded directory\ncovers them. Add `crossWorkspace: true` only for an explicitly authorized target\noutside the tool session's workspace. Do not substitute raw `mkdir`.\n\n```bash\nempty=$(git -C \"$repo_root\" hash-object -t tree \u002Fdev\u002Fnull)   # canonical empty-tree object\ngit -C \"$repo_root\" diff \"$empty\" HEAD -- \"$scope\" \\\n  ':(exclude)*.lock' ':(exclude)Cargo.lock' ':(exclude)flake.lock' \\\n  ':(exclude)**\u002F.env*' ':(exclude)**\u002Fcredentials*' ':(exclude)**\u002Fsecrets*' \\\n  ':(exclude)**\u002F.ssh\u002F**' ':(exclude)**\u002F.aws\u002F**' ':(exclude)**\u002F.gnupg\u002F**' \\\n  ':(exclude)**\u002F*.key' ':(exclude)**\u002F*.pem' ':(exclude)**\u002F*.p12' \\\n  ':(exclude)**\u002F*.pfx' ':(exclude)**\u002F*.crt' ':(exclude)**\u002F*.cer' > \"$out_dir\u002Fdiff.patch\"\ngit -C \"$repo_root\" diff --name-status \"$empty\" HEAD -- \"$scope\" \\\n  ':(exclude)*.lock' ':(exclude)Cargo.lock' ':(exclude)flake.lock' \\\n  ':(exclude)**\u002F.env*' ':(exclude)**\u002Fcredentials*' ':(exclude)**\u002Fsecrets*' \\\n  ':(exclude)**\u002F.ssh\u002F**' ':(exclude)**\u002F.aws\u002F**' ':(exclude)**\u002F.gnupg\u002F**' \\\n  ':(exclude)**\u002F*.key' ':(exclude)**\u002F*.pem' ':(exclude)**\u002F*.p12' \\\n  ':(exclude)**\u002F*.pfx' ':(exclude)**\u002F*.crt' ':(exclude)**\u002F*.cer' > \"$out_dir\u002Ffiles.txt\"\nwc -l \"$out_dir\u002Fdiff.patch\"\n```\n\nApply these credential\u002Fprivate-key\u002Fcertificate exclusions before retrieving\ncontents or even generating the file manifest. Use the identical exclusions for\nevery chunk-generation command and context search; Git tracking\u002Fignore status is\nnot evidence that a file is safe. Never collect first and redact afterward.\nReport protected paths as excluded, not reviewed.\n\nRefuse on an empty target. A whole repo is large, so this leans hard on chunking\n(step 5) — large is expected, not a blocker. **Do not stop for size confirmation\non an unscoped audit**: the whole repo is the intended default, so chunk and\nproceed. A one-line heads-up that it is a long, token-heavy run is fine (and you\nmay note that `\u002Faudit crates\u002FNAME` is a cheaper way to focus a follow-up), but\nsize alone never gates the run — only an explicit user \"stop\" does. (Audit\n`HEAD` by default; drop `HEAD` from the `git diff` to audit the working tree\ninstead.)\n\n## 4. Load project context and the check command\n\n```bash\nfind \"$repo_root\" -maxdepth 3 \\( -name \"CLAUDE.md\" -o -name \"AGENTS.md\" \\) \\\n  -not -path \"*\u002Fnode_modules\u002F*\" -not -path \"*\u002Ftarget\u002F*\"\n```\n\nKeep the paths for `docsPaths`. Discover the project's check command exactly as\n`\u002Freview-loop` step 3 does (declared in the docs or a task-runner target) and\nrecord it as `check_cmd`; if none is declared, leave it empty and skip the check\nsteps. The engine's \"author description\" is the audit intent:\n`\"Full audit of\nSCOPE: assess correctness, security, concurrency, and maintainability of the\nstanding code.\"`\n\n## 5. Run the review engine\n\nRun the shared engine (`review-core` steps 1–7) with these contract inputs:\n\n| Contract input                                          | Value for audit                                                                                                                                                                                                                                   |\n| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `out_dir`, `{DIFF_PATH}`, `{FILES_PATH}`, `{REPO_ROOT}` | from steps 3 (`$out_dir\u002Fdiff.patch`, `$out_dir\u002Ffiles.txt`)                                                                                                                                                                                        |\n| `{PROJECT_DOCS_PATHS}`                                  | the docs paths from step 4                                                                                                                                                                                                                        |\n| `{PR_DESCRIPTION}`                                      | the audit-intent sentence from step 4                                                                                                                                                                                                             |\n| `{SOURCE_ACCESS}`                                       | `Read source files directly from the working tree, which is the code under audit.`                                                                                                                                                                |\n| `{SCOPE_NOTE}`                                          | `This is a full audit, not a change review: the diff renders the entire scoped codebase as additions, so ALL of it is standing code under audit. \"Pre-existing, on lines the diff did not modify\" does not apply — everything shown is in scope.` |\n| `{INSPECTOR_ARG}`                                       | empty string                                                                                                                                                                                                                                      |\n| `{REPORT_HEADER}`                                       | `# Audit — SCOPE\\n**Repo:** REPO_ROOT\\n**Commit:** HEAD_SHA\\n**Files:** N\\n**Size:** LOC lines`                                                                                                                                                   |\n| `{TERMINAL_HEADER}`                                     | `Audit — SCOPE\\nN files, LOC lines`                                                                                                                                                                                                               |\n| `{SYNTHESIS_EXTRA}`                                     | empty string                                                                                                                                                                                                                                      |\n| `{INCLUDE_ATTRIBUTION}`                                 | `true`                                                                                                                                                                                                                                            |\n\n**Chunk HARDER than a review — that is the whole point of audit-vs-review.** A\nreview sees a small diff; an audit sees the entire tree, so split aggressively\nfor maximum parallelism: aim for **~1,500-2,000 lines per chunk** (not\nreview-core's ~3,500 review default), and give a single large file its own chunk\nrather than bundling it. Group by crate \u002F directory \u002F feature so each chunk is\ncoherent. Generate each chunk's diff with the same empty-tree command plus a\npath filter, duplicate the reviewer lanes per chunk, and run the\n**context-selected inspectors** (review-core step 3 — only the languages\nactually present) once over the full target. Pass ALL chunk lanes to one\nworkflow invocation: the executor caps real concurrency, but more, smaller\nchunks keep every slot busy and keep each reviewer well within quality range.\nScale up rather than down — a large repo wants dozens of lanes, not a handful.\nReport the chunk plan first.\n\n**Usage limits \u002F native-only:** if step 1 lands on `native-only` (typical on\nlimit-blown days), batch workflow passes (~40 lanes each) for whole-repo audits.\nTell the user once; do not re-probe. `\u002Freview-pr`-scale diffs run one\nnative-only pass — five reviewers + inspectors is sufficient.\n\nThe engine writes `review.md` \u002F `findings.json` and prints the summary. Only\n`status: completed` with empty `findings` establishes a clean audit. A missing\nor failed required native inspector\u002Freviewer\u002Fverifier\u002Fsynthesis phase is\nincomplete, not a clean result; retain evidence and finish the missing\nauthorized work.\n\n## 6. Triage\n\nTriage the returned `findings` with `\u002Freview-loop`'s bias-to-fix table (severity\n\n- verdict + confidence → auto-fix \u002F discuss \u002F auto-dismiss). The verifier\n  already dropped invalid and out-of-scope findings. For an audit,\n  **defer-by-default is fine for low-value findings** — a whole-repo audit\n  surfaces more than is worth a PR; fix the ones that clearly should be fixed,\n  and offer the rest as a list.\n\nVerified violations of required code conventions are not optional style nits.\nInclude the general style lane and relevant language\u002Ftyping lanes from the\nshared engine. Fix bounded spacing\u002Fimport repairs and justified\nidentifier\u002Ferror-model corrections in the authorized fix clusters rather than\ndeferring them as cosmetic; preserve behavior, genuine namespace ambiguity and\nerror context. Normal check\u002Fre-review gates still apply. PR-plan confirmation\napplies only when publication scope is not already authorized by the\nglobal-resource workflow.\n\n## 7. Plan the PRs and confirm\n\nCluster the fix-now findings into **coherent, independently reviewable PRs** —\ngroup by crate\u002Fmodule\u002Ftheme so each PR is small, revertable, and tells one\nstory; never one giant PR. Audit findings are usually unrelated, so default to\n**independent sibling branches off trunk** (one PR each); use a stack only when\na fix genuinely depends on another.\n\nPrint the plan and **confirm before creating anything** (opening multiple PRs is\na large outward action — this is the one place to stop for input):\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nAudit fix plan — \u003Ctool>  ·  \u003CN> PRs off \u003Ctrunk>\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  1. fix\u002Fsettlement-rounding   crates\u002Fsettlement   (2 findings: 1 critical, 1 high)\n  2. fix\u002Fauth-check-admin      crates\u002Fapi          (1 finding: high)\n  ...\n  Deferred (offered, not fixed): 6 lower-value findings\n```\n\nUse `AskUserQuestion` to confirm: create all, a subset, file the deferred ones\nas issues instead, or stop. Do not create PRs until the user picks, unless the\nexact scoped global-resource branch\u002FPR workflow is already authorized by\n`GLOBAL_AGENTS.md`. In that case record the bounded plan and execute it without\nanother approval round; do not add unrelated clusters or external effects.\n\n## 8. Deliver one PR per cluster\n\nFor each confirmed cluster (return to `trunk`\u002Fstart between independent\nclusters):\n\n1. **Use the cluster's branch.** Continue an existing unmerged branch\u002FPR for\n   follow-up corrections, checking later stacked changes before revising an\n   earlier version. For a new independent cluster, create a virtual branch in a\n   verified GitButler workspace, or a plain-Git branch off trunk. A new prompt\n   or session is not a reason to duplicate ongoing work.\n2. **Apply only this cluster's fixes** with `\u002Freview-loop`'s fix discipline:\n   read the source, re-verify each finding, make surgical fixes and add required\n   behavior tests. Use scoped file\u002Fhunk assignment to keep unrelated changes off\n   the branch. Draft status never excuses mixed commits, branches or PRs.\n3. **Publish checkpoints continuously.** Commit and push the first scoped\n   checkpoint and open a self-assigned draft PR through the repository's\n   authorized workflow; update an existing PR instead of creating a duplicate.\n   Keep normal hooks. Incomplete code or failing checks can be checkpointed in\n   that correctly scoped draft with their status stated accurately. Commit and\n   push each completed unit before starting another.\n4. **Verify the published head.** Run the scoped compile gate, delta re-review\n   and the project's required checks, including required CI when applicable.\n   Local checks suffice when the repository uses local verification instead of\n   CI. Agent reviews do not replace required checks; failed, pending or\n   unverified checks keep the PR draft.\n5. **Keep the description current.** Use the repository's PR template, or\n   Motivation \u002F Solution when none exists. Explain the problem and solution\n   without private attribution or an AI-process journal.\n6. **Mark completed PRs ready.** Once the cluster is complete and its required\n   checks pass for the published head, run `gh pr ready \u003Cnumber>` or the\n   repository's equivalent and verify the resulting state. This applies to all\n   authorized audit-fix PRs, not only global resources; do not invent a second\n   approval gate. Honor an explicit owner instruction to retain a draft.\n   Otherwise continue unfinished scoped work or report its concrete blocker; do\n   not call a still-draft delivery complete.\n\nNever merge or override branch protection.\n\n## 9. Return and summarize\n\nReturn to `start_branch` (plain Git: `git checkout`; GitButler: nothing to\nrestore). Print the summary:\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nAudit delivery — \u003Ctool>  ·  \u003CN> PRs ready · \u003CM> drafts blocked\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  #123  fix\u002Fsettlement-rounding   \u003Curl>   ready; closes 2 findings\n  #124  fix\u002Fauth-check-admin      \u003Curl>   draft; required check failing\n\nDeferred (not fixed): 6 findings — say the word to file them as issues.\nFull report: \u003Cpath to review.md>\n```\n\nFor deferred findings the user wants filed, use GitHub issues\n(`gh issue\ncreate`), one issue per finding with a problem-only description. Show\neach exact draft and obtain confirmation before creating it.\n\n## Hard rules\n\n1. **Deliver verified PRs, not permanent drafts.** Publish scoped draft\n   checkpoints, then mark each PR ready once its work and required checks pass\n   for the published head, unless the owner explicitly requires draft-only\n   delivery. Self-assign; never merge or override branch protection.\n2. **Confirm new publication scope before creating branches\u002FPRs.** Do not ask\n   again for the exact scoped global-resource workflow already authorized by\n   `GLOBAL_AGENTS.md`; unrelated extra PRs still need authority.\n3. **One coherent, small PR per cluster.** Never a single giant PR; group by\n   crate\u002Fmodule\u002Ftheme; default to independent sibling branches off trunk, stack\n   only on real dependencies.\n4. **Required checks gate readiness, not checkpoint publication.** Preserve\n   normal hooks, keep incomplete or failing work draft, and verify the published\n   head before marking ready. Fixes and branch diffs stay scoped to one cluster\n   at every checkpoint; re-verify findings against current source.\n5. **Clean tree after the directory-ignore preflight; never leak unrelated\n   changes** into fix branches. Account for owned ignore repairs separately,\n   including zero-finding audits and checkout transitions. Return to the start\n   branch at the end.\n6. The audit target is a synthetic diff against the empty tree — everything\n   shown is in scope; \"pre-existing\u002Fout of scope\" never applies.\n7. The review runs as a single `Workflow` invocation per pass (review-core),\n   using read-only authenticated `openai-codex\u002Fgpt-6.1-sol` lanes through the\n   active harness's classified workflow. Do not launch external model CLIs.\n8. **Filing deferred findings is gated**: show drafts, confirm, then create. Use\n   GitHub issues with problem-only descriptions.\n\n## Failure modes\n\n- **Dirty tree** — stop; fixes need clean branches off trunk.\n- **Empty or unresolvable scope** — stop and ask; never fall back to the whole\n  repo when a named scope failed to resolve.\n- **Target large** — expected for a whole-repo audit; never a blocker. Chunk\n  hard and proceed; a one-line heads-up is fine, but do NOT stop for\n  confirmation on an unscoped audit. Scoping to a package is an optional cheaper\n  follow-up the user may choose, not a gate.\n- **A cluster's fix fails to converge or breaks a required check** — preserve\n  and publish its scoped checkpoint as a draft with the exact blocker. Do not\n  mark it ready or silently reclassify unfinished work as deferred. Follow the\n  repository's blocked-publication rules before starting another unit.\n- **A required native lane errors** — preserve an incomplete result and its\n  reason. Selected inspectors are required; empty findings do not prove clean.\n- **The workflow fails mid-run** — relaunch with\n  `{scriptPath, args,\n  resumeFromRunId}`; completed lanes return cached\n  results.\n- **Not a git repo \u002F no trunk \u002F no `gh`** — the branch+PR action needs them;\n  tell the user what is missing instead of half-opening a PR.\n- **GitButler not in workspace mode** — stop and ask the user to enter it; never\n  switch modes yourself.\n","Audit a whole codebase with the same native panel the rest of the review stack\nuses, then **fix what it finds and put the fixes up as PRs**. Where\n`\u002Freview-pr`, `\u002Freview-loop`, and `\u002Freview-sweep` review a **diff**, this\nreviews **standing code** — the whole repo, or a package\u002Fpath you name — and,\nlike `\u002Freview-loop`, fixes the findings; but instead of leaving fixes\nuncommitted it opens one PR per coherent fix-cluster using whatever VCS\u002Fstacking\ntool the repo uses.\n\nThe **review engine** is the shared `~\u002F.claude\u002Fskills\u002Freview-core\u002FSKILL.md`. The\n**fix discipline** (triage, surgical fixes, compile gate, delta re-review,\ndiscovered check command) is `\u002Freview-loop`'s. The **tool detection and stack\nprimitives** are `\u002Freview-sweep`'s. This skill adds only: a whole-repo scope\n(via a synthetic diff) and a branch-per-cluster, open-a-PR action.\n\nFollow these steps precisely.\n\n## 1. Resolve the audit scope\n\n`$ARGUMENTS` is an optional package or path. With no argument — the common case\n— audit the **whole repository**. A whole-repo audit is the intended default: it\nis expected to be large, and size alone is NEVER a reason to stop and ask. Chunk\nhard (step 5) and proceed. The only scope-related stop-and-ask is a _named_\nscope that fails to resolve (below); an unscoped invocation always runs the\nwhole repo.\n\n```bash\nrepo_root=$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\nscope=\"${ARGUMENTS:-.}\"   # dir \u002F crate dir \u002F pathspec under repo_root; \".\" = whole repo\n```\n\nIf `$ARGUMENTS` names a thing that is not a path (a bare crate name), resolve it\nto its directory before continuing; if it cannot be resolved under the repo,\nstop and ask rather than auditing everything by accident.\n\n## 2. Detect the VCS\u002Fstacking tool and preflight\n\nThe action opens branches and PRs, so detect the tool (same as `\u002Freview-sweep`).\nComplete the directory-ignore preflight before requiring a clean tree or writing\nartifacts.\n\n```bash\ngit_common_dir=$(git -C \"$repo_root\" rev-parse --path-format=absolute --git-common-dir)\nmain_root=$(git -C \"$repo_root\" worktree list --porcelain | sed -n 's\u002F^worktree \u002F\u002Fp' | head -n1)\nif [ \"$repo_root\" != \"$main_root\" ]; then tool=git\nelif [ -d \"$git_common_dir\u002Fgitbutler\" ]; then tool=gitbutler\nelse tool=git\nfi\ntrunk=$(git -C \"$repo_root\" symbolic-ref refs\u002Fremotes\u002Forigin\u002FHEAD --short 2>\u002Fdev\u002Fnull | sed 's#^origin\u002F##' || echo master)\nstart_branch=$(git -C \"$repo_root\" rev-parse --abbrev-ref HEAD)   # return here at the end\n```\n\nGitButler is main-worktree-only; every linked, isolated, or scratch worktree\nuses plain Git without probing `but`. In a verified GitButler main worktree,\nconfirm workspace mode (`but status` ok) as `\u002Freview-sweep` does.\n\nApply `GLOBAL_AGENTS.md`'s directory-ignore preflight, including state capture\nand separate repair accounting, before the clean-tree gate or any artifact\nwrite. This preflight also applies to a zero-finding audit.\n\nAfter accounting for the repair, require a clean working tree\u002Findex; stop and\nreport any remaining unrelated changes without discarding them. Fix clusters\nstart from clean branches off trunk. Recheck ignore coverage after each checkout\ntransition, including returning to `start_branch`, before using either\ndirectory. Follow the same global preflight at each transition rather than\ncarrying an unaccounted repair between fix clusters.\n\n## 3. Prepare the workspace and build the audit target\n\nRender the scoped tree as an all-additions diff against the **empty tree** so\nthe diff-centric engine can audit standing code. Gitignored paths drop out for\nfree; exclude the tracked lockfiles.\n\n```bash\ninvocation_id=$(uuidgen) || exit 1\nsafe_scope=$(echo \"$scope\" | tr '\u002F. ' '___')\nout_dir=\"$repo_root\u002F.tmp\u002Fagent-local-ctx\u002Freviews\u002Faudit-${invocation_id}-${safe_scope}\"\n```\n\nAfter step 2's preflight covers this invocation path, create and record its\nresolved absolute directory through the registered harness tool:\n\n```json\n{ \"action\": \"create_directory\", \"path\": \"\u003Cresolved absolute out_dir>\" }\n```\n\nUse `artifact_provenance` or an available registered harness equivalent. Require\nsuccessful creation\u002Frecording before writing descendants; the recorded directory\ncovers them. Add `crossWorkspace: true` only for an explicitly authorized target\noutside the tool session's workspace. Do not substitute raw `mkdir`.\n\n```bash\nempty=$(git -C \"$repo_root\" hash-object -t tree \u002Fdev\u002Fnull)   # canonical empty-tree object\ngit -C \"$repo_root\" diff \"$empty\" HEAD -- \"$scope\" \\\n  ':(exclude)*.lock' ':(exclude)Cargo.lock' ':(exclude)flake.lock' \\\n  ':(exclude)**\u002F.env*' ':(exclude)**\u002Fcredentials*' ':(exclude)**\u002Fsecrets*' \\\n  ':(exclude)**\u002F.ssh\u002F**' ':(exclude)**\u002F.aws\u002F**' ':(exclude)**\u002F.gnupg\u002F**' \\\n  ':(exclude)**\u002F*.key' ':(exclude)**\u002F*.pem' ':(exclude)**\u002F*.p12' \\\n  ':(exclude)**\u002F*.pfx' ':(exclude)**\u002F*.crt' ':(exclude)**\u002F*.cer' > \"$out_dir\u002Fdiff.patch\"\ngit -C \"$repo_root\" diff --name-status \"$empty\" HEAD -- \"$scope\" \\\n  ':(exclude)*.lock' ':(exclude)Cargo.lock' ':(exclude)flake.lock' \\\n  ':(exclude)**\u002F.env*' ':(exclude)**\u002Fcredentials*' ':(exclude)**\u002Fsecrets*' \\\n  ':(exclude)**\u002F.ssh\u002F**' ':(exclude)**\u002F.aws\u002F**' ':(exclude)**\u002F.gnupg\u002F**' \\\n  ':(exclude)**\u002F*.key' ':(exclude)**\u002F*.pem' ':(exclude)**\u002F*.p12' \\\n  ':(exclude)**\u002F*.pfx' ':(exclude)**\u002F*.crt' ':(exclude)**\u002F*.cer' > \"$out_dir\u002Ffiles.txt\"\nwc -l \"$out_dir\u002Fdiff.patch\"\n```\n\nApply these credential\u002Fprivate-key\u002Fcertificate exclusions before retrieving\ncontents or even generating the file manifest. Use the identical exclusions for\nevery chunk-generation command and context search; Git tracking\u002Fignore status is\nnot evidence that a file is safe. Never collect first and redact afterward.\nReport protected paths as excluded, not reviewed.\n\nRefuse on an empty target. A whole repo is large, so this leans hard on chunking\n(step 5) — large is expected, not a blocker. **Do not stop for size confirmation\non an unscoped audit**: the whole repo is the intended default, so chunk and\nproceed. A one-line heads-up that it is a long, token-heavy run is fine (and you\nmay note that `\u002Faudit crates\u002FNAME` is a cheaper way to focus a follow-up), but\nsize alone never gates the run — only an explicit user \"stop\" does. (Audit\n`HEAD` by default; drop `HEAD` from the `git diff` to audit the working tree\ninstead.)\n\n## 4. Load project context and the check command\n\n```bash\nfind \"$repo_root\" -maxdepth 3 \\( -name \"CLAUDE.md\" -o -name \"AGENTS.md\" \\) \\\n  -not -path \"*\u002Fnode_modules\u002F*\" -not -path \"*\u002Ftarget\u002F*\"\n```\n\nKeep the paths for `docsPaths`. Discover the project's check command exactly as\n`\u002Freview-loop` step 3 does (declared in the docs or a task-runner target) and\nrecord it as `check_cmd`; if none is declared, leave it empty and skip the check\nsteps. The engine's \"author description\" is the audit intent:\n`\"Full audit of\nSCOPE: assess correctness, security, concurrency, and maintainability of the\nstanding code.\"`\n\n## 5. Run the review engine\n\nRun the shared engine (`review-core` steps 1–7) with these contract inputs:\n\n| Contract input                                          | Value for audit                                                                                                                                                                                                                                   |\n| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `out_dir`, `{DIFF_PATH}`, `{FILES_PATH}`, `{REPO_ROOT}` | from steps 3 (`$out_dir\u002Fdiff.patch`, `$out_dir\u002Ffiles.txt`)                                                                                                                                                                                        |\n| `{PROJECT_DOCS_PATHS}`                                  | the docs paths from step 4                                                                                                                                                                                                                        |\n| `{PR_DESCRIPTION}`                                      | the audit-intent sentence from step 4                                                                                                                                                                                                             |\n| `{SOURCE_ACCESS}`                                       | `Read source files directly from the working tree, which is the code under audit.`                                                                                                                                                                |\n| `{SCOPE_NOTE}`                                          | `This is a full audit, not a change review: the diff renders the entire scoped codebase as additions, so ALL of it is standing code under audit. \"Pre-existing, on lines the diff did not modify\" does not apply — everything shown is in scope.` |\n| `{INSPECTOR_ARG}`                                       | empty string                                                                                                                                                                                                                                      |\n| `{REPORT_HEADER}`                                       | `# Audit — SCOPE\\n**Repo:** REPO_ROOT\\n**Commit:** HEAD_SHA\\n**Files:** N\\n**Size:** LOC lines`                                                                                                                                                   |\n| `{TERMINAL_HEADER}`                                     | `Audit — SCOPE\\nN files, LOC lines`                                                                                                                                                                                                               |\n| `{SYNTHESIS_EXTRA}`                                     | empty string                                                                                                                                                                                                                                      |\n| `{INCLUDE_ATTRIBUTION}`                                 | `true`                                                                                                                                                                                                                                            |\n\n**Chunk HARDER than a review — that is the whole point of audit-vs-review.** A\nreview sees a small diff; an audit sees the entire tree, so split aggressively\nfor maximum parallelism: aim for **~1,500-2,000 lines per chunk** (not\nreview-core's ~3,500 review default), and give a single large file its own chunk\nrather than bundling it. Group by crate \u002F directory \u002F feature so each chunk is\ncoherent. Generate each chunk's diff with the same empty-tree command plus a\npath filter, duplicate the reviewer lanes per chunk, and run the\n**context-selected inspectors** (review-core step 3 — only the languages\nactually present) once over the full target. Pass ALL chunk lanes to one\nworkflow invocation: the executor caps real concurrency, but more, smaller\nchunks keep every slot busy and keep each reviewer well within quality range.\nScale up rather than down — a large repo wants dozens of lanes, not a handful.\nReport the chunk plan first.\n\n**Usage limits \u002F native-only:** if step 1 lands on `native-only` (typical on\nlimit-blown days), batch workflow passes (~40 lanes each) for whole-repo audits.\nTell the user once; do not re-probe. `\u002Freview-pr`-scale diffs run one\nnative-only pass — five reviewers + inspectors is sufficient.\n\nThe engine writes `review.md` \u002F `findings.json` and prints the summary. Only\n`status: completed` with empty `findings` establishes a clean audit. A missing\nor failed required native inspector\u002Freviewer\u002Fverifier\u002Fsynthesis phase is\nincomplete, not a clean result; retain evidence and finish the missing\nauthorized work.\n\n## 6. Triage\n\nTriage the returned `findings` with `\u002Freview-loop`'s bias-to-fix table (severity\n\n- verdict + confidence → auto-fix \u002F discuss \u002F auto-dismiss). The verifier\n  already dropped invalid and out-of-scope findings. For an audit,\n  **defer-by-default is fine for low-value findings** — a whole-repo audit\n  surfaces more than is worth a PR; fix the ones that clearly should be fixed,\n  and offer the rest as a list.\n\nVerified violations of required code conventions are not optional style nits.\nInclude the general style lane and relevant language\u002Ftyping lanes from the\nshared engine. Fix bounded spacing\u002Fimport repairs and justified\nidentifier\u002Ferror-model corrections in the authorized fix clusters rather than\ndeferring them as cosmetic; preserve behavior, genuine namespace ambiguity and\nerror context. Normal check\u002Fre-review gates still apply. PR-plan confirmation\napplies only when publication scope is not already authorized by the\nglobal-resource workflow.\n\n## 7. Plan the PRs and confirm\n\nCluster the fix-now findings into **coherent, independently reviewable PRs** —\ngroup by crate\u002Fmodule\u002Ftheme so each PR is small, revertable, and tells one\nstory; never one giant PR. Audit findings are usually unrelated, so default to\n**independent sibling branches off trunk** (one PR each); use a stack only when\na fix genuinely depends on another.\n\nPrint the plan and **confirm before creating anything** (opening multiple PRs is\na large outward action — this is the one place to stop for input):\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nAudit fix plan — \u003Ctool>  ·  \u003CN> PRs off \u003Ctrunk>\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  1. fix\u002Fsettlement-rounding   crates\u002Fsettlement   (2 findings: 1 critical, 1 high)\n  2. fix\u002Fauth-check-admin      crates\u002Fapi          (1 finding: high)\n  ...\n  Deferred (offered, not fixed): 6 lower-value findings\n```\n\nUse `AskUserQuestion` to confirm: create all, a subset, file the deferred ones\nas issues instead, or stop. Do not create PRs until the user picks, unless the\nexact scoped global-resource branch\u002FPR workflow is already authorized by\n`GLOBAL_AGENTS.md`. In that case record the bounded plan and execute it without\nanother approval round; do not add unrelated clusters or external effects.\n\n## 8. Deliver one PR per cluster\n\nFor each confirmed cluster (return to `trunk`\u002Fstart between independent\nclusters):\n\n1. **Use the cluster's branch.** Continue an existing unmerged branch\u002FPR for\n   follow-up corrections, checking later stacked changes before revising an\n   earlier version. For a new independent cluster, create a virtual branch in a\n   verified GitButler workspace, or a plain-Git branch off trunk. A new prompt\n   or session is not a reason to duplicate ongoing work.\n2. **Apply only this cluster's fixes** with `\u002Freview-loop`'s fix discipline:\n   read the source, re-verify each finding, make surgical fixes and add required\n   behavior tests. Use scoped file\u002Fhunk assignment to keep unrelated changes off\n   the branch. Draft status never excuses mixed commits, branches or PRs.\n3. **Publish checkpoints continuously.** Commit and push the first scoped\n   checkpoint and open a self-assigned draft PR through the repository's\n   authorized workflow; update an existing PR instead of creating a duplicate.\n   Keep normal hooks. Incomplete code or failing checks can be checkpointed in\n   that correctly scoped draft with their status stated accurately. Commit and\n   push each completed unit before starting another.\n4. **Verify the published head.** Run the scoped compile gate, delta re-review\n   and the project's required checks, including required CI when applicable.\n   Local checks suffice when the repository uses local verification instead of\n   CI. Agent reviews do not replace required checks; failed, pending or\n   unverified checks keep the PR draft.\n5. **Keep the description current.** Use the repository's PR template, or\n   Motivation \u002F Solution when none exists. Explain the problem and solution\n   without private attribution or an AI-process journal.\n6. **Mark completed PRs ready.** Once the cluster is complete and its required\n   checks pass for the published head, run `gh pr ready \u003Cnumber>` or the\n   repository's equivalent and verify the resulting state. This applies to all\n   authorized audit-fix PRs, not only global resources; do not invent a second\n   approval gate. Honor an explicit owner instruction to retain a draft.\n   Otherwise continue unfinished scoped work or report its concrete blocker; do\n   not call a still-draft delivery complete.\n\nNever merge or override branch protection.\n\n## 9. Return and summarize\n\nReturn to `start_branch` (plain Git: `git checkout`; GitButler: nothing to\nrestore). Print the summary:\n\n```\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nAudit delivery — \u003Ctool>  ·  \u003CN> PRs ready · \u003CM> drafts blocked\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n  #123  fix\u002Fsettlement-rounding   \u003Curl>   ready; closes 2 findings\n  #124  fix\u002Fauth-check-admin      \u003Curl>   draft; required check failing\n\nDeferred (not fixed): 6 findings — say the word to file them as issues.\nFull report: \u003Cpath to review.md>\n```\n\nFor deferred findings the user wants filed, use GitHub issues\n(`gh issue\ncreate`), one issue per finding with a problem-only description. Show\neach exact draft and obtain confirmation before creating it.\n\n## Hard rules\n\n1. **Deliver verified PRs, not permanent drafts.** Publish scoped draft\n   checkpoints, then mark each PR ready once its work and required checks pass\n   for the published head, unless the owner explicitly requires draft-only\n   delivery. Self-assign; never merge or override branch protection.\n2. **Confirm new publication scope before creating branches\u002FPRs.** Do not ask\n   again for the exact scoped global-resource workflow already authorized by\n   `GLOBAL_AGENTS.md`; unrelated extra PRs still need authority.\n3. **One coherent, small PR per cluster.** Never a single giant PR; group by\n   crate\u002Fmodule\u002Ftheme; default to independent sibling branches off trunk, stack\n   only on real dependencies.\n4. **Required checks gate readiness, not checkpoint publication.** Preserve\n   normal hooks, keep incomplete or failing work draft, and verify the published\n   head before marking ready. Fixes and branch diffs stay scoped to one cluster\n   at every checkpoint; re-verify findings against current source.\n5. **Clean tree after the directory-ignore preflight; never leak unrelated\n   changes** into fix branches. Account for owned ignore repairs separately,\n   including zero-finding audits and checkout transitions. Return to the start\n   branch at the end.\n6. The audit target is a synthetic diff against the empty tree — everything\n   shown is in scope; \"pre-existing\u002Fout of scope\" never applies.\n7. The review runs as a single `Workflow` invocation per pass (review-core),\n   using read-only authenticated `openai-codex\u002Fgpt-6.1-sol` lanes through the\n   active harness's classified workflow. Do not launch external model CLIs.\n8. **Filing deferred findings is gated**: show drafts, confirm, then create. Use\n   GitHub issues with problem-only descriptions.\n\n## Failure modes\n\n- **Dirty tree** — stop; fixes need clean branches off trunk.\n- **Empty or unresolvable scope** — stop and ask; never fall back to the whole\n  repo when a named scope failed to resolve.\n- **Target large** — expected for a whole-repo audit; never a blocker. Chunk\n  hard and proceed; a one-line heads-up is fine, but do NOT stop for\n  confirmation on an unscoped audit. Scoping to a package is an optional cheaper\n  follow-up the user may choose, not a gate.\n- **A cluster's fix fails to converge or breaks a required check** — preserve\n  and publish its scoped checkpoint as a draft with the exact blocker. Do not\n  mark it ready or silently reclassify unfinished work as deferred. Follow the\n  repository's blocked-publication rules before starting another unit.\n- **A required native lane errors** — preserve an incomplete result and its\n  reason. Selected inspectors are required; empty findings do not prove clean.\n- **The workflow fails mid-run** — relaunch with\n  `{scriptPath, args,\n  resumeFromRunId}`; completed lanes return cached\n  results.\n- **Not a git repo \u002F no trunk \u002F no `gh`** — the branch+PR action needs them;\n  tell the user what is missing instead of half-opening a PR.\n- **GitButler not in workspace mode** — stop and ask the user to enter it; never\n  switch modes yourself.\n",{"name":5,"description":7,"allowed-tools":42,"argument-hint":43,"user-invocable":45},"Bash(git:*), Bash(gh:*), Bash(but:*), Bash(direnv:*), Bash(command:*), Bash(cargo:*), Bash(nix:*), Bash(mkdir:*), Bash(cat:*), Bash(mktemp:*), Bash(rm:*), Bash(test:*), Bash(grep:*), Bash(wc:*), Bash(date:*), Bash(basename:*), Bash(find:*), Read, Write, Edit, Agent, Workflow, AskUserQuestion, Skill",[44],"package-or-path",true,"master","43de034413ae8878259e4a93be6aed03add6ddda","ai\u002Fskills\u002Faudit",0,"https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig","https:\u002F\u002Fgithub.com\u002F0xgleb","2026-11-14 09:46:23",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":45},[55,58,61],{"tool":56,"command":57},"npx","npx skills add 0xgleb\u002Fdotconfig --skill audit",{"tool":59,"command":60},"bunx","bunx skills add 0xgleb\u002Fdotconfig --skill audit",{"tool":62,"command":63},"pnpm","pnpm dlx skills add 0xgleb\u002Fdotconfig --skill audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Faudit\u002FSKILL.md",[],[67,89,113,136,156,173],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":37},"01M6DNKHP7NV7KR552KFZ6EW3R","worktree","Manage worktrees only for concurrent work by the owner or agents launched by the owner on the same repository, or for explicitly requested inventory and cleanup; never create one for isolation alone.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fworktree\u002FSKILL.md",[],[69,74,75,76,77,78,79,80,33,81,82,83,84,29,85,86,87,22,88],"create","work","never","worktrees","manage","inventory","repository","git","only","cleanup","cd","isolation","ls","for","true",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":37},"01M6DNKEGPR8F3BA95ZMWQ48V9","unslop","Rewrite draft prose before owner-facing replies, docs, issues, PR text, handoffs, or Telegram reports to remove AI tells while preserving facts, links, tone, and authority; auto-trigger on externally visible prose, but never on code, commands, logs, tool output, quoted sources, or user text.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Funslop\u002FSKILL.md",[],[91,96,76,97,98,99,100,101,102,103,28,104,105,106,107,108,109,110,111,112],"draft","pr","remove","trigger","tool","issues","auto","rewrite","tone","telegram","sources","links","authority","logs","facts","output","replies",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":37},"01M6DNK9VFNJYKB6GMA15WJ3HZ","threat-model-first","Use at the START of a change that moves money, changes balances or custody, touches access control or signing, deserializes untrusted input, adds an external or on-chain integration, or wires an LLM tool. Design-time threat modeling that turns abuse cases into the first failing tests; it precedes the post-hoc security-review pass.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fthreat-model-first\u002FSKILL.md",[],[120,121,122,123,124,125,126,127,128,129,130,29,131,18,132,5,24,133,134,135],"model","threat model","threat","first","threat model first","chain","time","security-review","design","forge","access","cargo audit","change","write","edit","modeling",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":37},"01M6DNK6M72QAMH2TYVMPYJGDM","test-inspector","Auto-run for new or changed retained behavior, even without test changes, and for test, fixture, snapshot or mock changes; verify real happy-path and error-path coverage, expose false-confidence assertions and over-mocking, but do not perform general production-code correctness review.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Ftest-inspector\u002FSKILL.md",[],[143,144,145,146,102,147,29,28,18,148,24,149,150,151,152,20,153,81,154,155],"test","test inspector","fixture","do","false","run","coverage","error","number","URL","snapshot","but","path",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":37},"01M6DNK3BPN73D003FFADEWJP5","strong-typing-inspector","Lightweight review — flags primitives used where a domain type already exists (e.g. String for a USD field when Usd exists) and missed newtype opportunities.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fstrong-typing-inspector\u002FSKILL.md",[],[163,164,143,165,97,166,24,167,168,81,169,170,29,171,18,172],"strong typing inspector","type","missed","domain","flags","grep","usd","gh","primitives","newtype",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":37},"01M6DNJZHG2RK3MC4VPB9KWPYF","spec-review","Critique existing specifications and design proposals, including whether their approach or addition is justified, and refine them through adversarial Pi review and authorized author revisions. Not for code review, implementation-plan sequencing, creating a design from scratch or minor copy edits.","https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Fspec-review\u002FSKILL.md",[],[180,181,18,182,183,184,185,186,128,187,28,87,188,189,190,191,192,193,194,195],"spec review","spec","plan","critique","code review","pi","refine","implementation","sequencing","specifications","proposals","scratch","Existing","author","From Scratch","adversarial"]