[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DNJ88R5TCVH261G6JKN4WP":3,"skill-same:01M6DNJ88R5TCVH261G6JKN4WP":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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6DNJ88R5TCVH261G6JKN4WP","review-pr",null,"Cross-review a pull request by number or URL without checking it out. Runs a native Workflow panel with per-finding verification, then posts verified findings as a draft PR review. Required lane failures remain incomplete.","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\u002Freview-pr\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"review pr","review","pr","verified","git","write","read","request","command","native","mktemp","URL","number","posts","artifact","verification","Bash","workflow","draft pr","pull","2026-11-10 10:12:30",false,"---\nname: review-pr\nuser-invocable: true\nallowed-tools: Bash(gh:*), Bash(git:*), Bash(command:*), artifact_provenance, Bash(cat:*), Bash(mktemp:*), Bash(rm:*), Bash(wc:*), Bash(uuidgen:*), Bash(basename:*), Bash(test:*), Bash(grep:*), Bash(find:*), Read, Write, Agent, Workflow, Skill\ndescription: Cross-review a pull request by number or URL without checking it out. Runs a native Workflow panel with per-finding verification, then posts verified findings as a draft PR review. Required lane failures remain incomplete.\nargument-hint: \u003Cpr-number | pr-url>\n---\n\nCross-review a pull request that is **not** currently checked out. The PR number\nor URL is passed in `$ARGUMENTS`. Use when you're reviewing someone else's PR\nand want independent native review lanes before commenting.\n\nThe **review engine** (panel, probes, prompts, the `review-panel` Workflow,\nfinding output) is shared with `\u002Freview-loop` and `\u002Freview-sweep` and lives in\n`~\u002F.claude\u002Fskills\u002Freview-core\u002FSKILL.md`. This skill **scopes the diff to the PR\n(without checking it out)** and, after the engine returns findings, **posts the\nverified findings as a draft (pending) PR review** and then converses so you can\nadjust before submitting. It never modifies code, and never submits the review\nverdict — you do that in the GitHub UI.\n\nFollow these steps precisely.\n\n## 1. Parse the argument\n\n`$ARGUMENTS` must be a PR number (e.g. `123`), a full GitHub URL\n(`https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Fpull\u002F123`), or an `owner\u002Frepo#123` shorthand. If\n`$ARGUMENTS` is empty, use the PR associated with the current branch.\n\nNormalize to `(owner, repo, number)` using `gh`:\n\n```bash\npr_ref=\"$ARGUMENTS\"\n\nif [ -z \"$pr_ref\" ]; then\n  # No argument — use the PR for the currently checked-out branch\n  pr_json=$(gh pr view --json number,title,author,headRefName,baseRefName,url,body,headRepository,baseRepository,headRefOid,baseRefOid,state,isDraft,additions,deletions,changedFiles)\nelse\n  case \"$pr_ref\" in\n    https:\u002F\u002Fgithub.com\u002F*) ;;\n    *\u002F*\\#*)              ;;  # owner\u002Frepo#n\n    [0-9]*)              ;;  # bare number (use current repo)\n    *) echo \"Unrecognized PR reference: $pr_ref\"; exit 1 ;;\n  esac\n  pr_json=$(gh pr view \"$pr_ref\" --json number,title,author,headRefName,baseRefName,url,body,headRepository,baseRepository,headRefOid,baseRefOid,state,isDraft,additions,deletions,changedFiles)\nfi\n```\n\nIf `gh pr view` fails (e.g. no PR exists for the current branch), stop and tell\nthe user — they need to either pass a PR reference or check out a branch that\nhas an open PR.\n\nRecord the fields from the JSON: `number`, `title`, `author.login`,\n`headRefName`, `baseRefName`, `url`, `body`, `headRefOid`, `baseRefOid`,\n`state`, `isDraft`, `changedFiles`, `additions`, `deletions`, and the owner\u002Fname\nof the head and base repos.\n\nIf the PR is closed, merged, or draft, warn the user and ask whether to\ncontinue. Proceed only on explicit confirmation.\n\n## 2. Prepare the workspace\n\nResolve `repo_root` from the checkout assigned to this review. When using a\nlinked review worktree, run setup there: every patch, prompt, report, payload,\nand log belongs under that worktree's `.tmp\u002F`, never the main checkout's\n`.tmp\u002F`. A coordinator running elsewhere must pass the verified review-worktree\nroot to workflows and explicitly set every child's cwd to that root. Do not\nderive artifact paths from the coordinator's cwd or the shared Git directory, or\nfall back to the main checkout. Remove temporary artifacts with the worktree.\nThis does not authorize creating a worktree or checking out the PR.\n\n```bash\nrepo_root=$(git rev-parse --show-toplevel) || exit 1\ninvocation_id=$(uuidgen) || exit 1\nsafe_branch=$(echo \"\u003CheadRefName>\" | tr '\u002F' '_')\nout_dir=\"$repo_root\u002F.tmp\u002Freviews\u002Fpr-${pr_number}-${invocation_id}-${safe_branch}\"\n```\n\nBefore creating the invocation directory or writing any artifact, apply\n`GLOBAL_AGENTS.md`'s directory-ignore preflight, including state capture and\nseparate repair accounting, to this invocation path:\n\n```bash\ngit check-ignore --verbose \"$repo_root\u002F.tmp\u002F\" \"$out_dir\u002Fdiff.patch\"\n```\n\nThen call the registered `artifact_provenance` tool with the resolved absolute\nvalue of `out_dir`:\n\n```json\n{ \"action\": \"create_directory\", \"path\": \"\u003Cresolved absolute out_dir>\" }\n```\n\nRequire successful creation and provenance recording before writing descendants.\nUse an available registered harness equivalent if its tool name differs; do not\nfall back to raw `mkdir`. Add `crossWorkspace: true` only for an independently\nauthorized target outside the tool session's workspace. The native UUID supplies\nthe invocation namespace; the creation API does not promise exclusive\nallocation. Artifacts remain local-only and ephemeral.\n\n## 3. Fetch the diff\n\nFetch the PR diff from GitHub — do not check out the PR:\n\n```bash\ngh pr diff \"\u003Cpr-ref>\" > \"$out_dir\u002Fdiff.patch\"\ngh pr view \"\u003Cpr-ref>\" --json files --jq '.files[] | \"\\(.additions)\\t\\(.deletions)\\t\\(.path)\"' > \"$out_dir\u002Ffiles.txt\"\nwc -l \"$out_dir\u002Fdiff.patch\"\n```\n\nRefuse to proceed if the diff is empty. Diff size is not an approval gate and\nmust not reduce review depth. For large diffs, follow review-core's bounded\nchunking and track complete retained-code and removal-boundary coverage. Inspect\ndeleted code only as needed to verify surviving behavior, compatibility and\nremoval effects; do not spend a review pass re-auditing intentional deletions.\nPreserve completed reviews and recover only missing chunks or context.\n\nAlso save the PR metadata and the author's description:\n\n```bash\necho \"$pr_json\" > \"$out_dir\u002Fpr.json\"\n```\n\nStrip bot-appended footers from the description before passing it to the engine:\ncut everything from the first HTML-comment footer marker onward (CodeRabbit \u002F\nCodesmith badges, tracking links). Reviewers should see only the author-written\ntext.\n\n## 4. Fetch the head ref for context\n\nThe reviewers need to read source files that the diff references, even if\nthey're not changed by the PR. Fetch the head ref into the local repo without\nswitching branches:\n\n```bash\nhead_owner_repo=\"\u003Cowner>\u002F\u003Crepo>\"   # from headRepository.nameWithOwner\nhead_sha=\"\u003CheadRefOid>\"\n\n# If the PR is from a fork, add the fork as a remote\ngit remote add pr-review-head \"https:\u002F\u002Fgithub.com\u002F${head_owner_repo}.git\" 2>\u002Fdev\u002Fnull || true\ngit fetch pr-review-head \"$head_sha\"\n\n# Now reviewers can resolve paths at that commit via `git show $head_sha:\u003Cpath>`\n```\n\nIf the PR is on the same repo, skip the remote-add step; the fetch is enough.\n\n## 5. Load project context\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 only the paths — they become `docsPaths` for the engine.\n\n## 6. Run the review engine\n\nRun every review, inspector, verifier, Markdown and synthesis lane through Pi's\nclassified workflow with authenticated `openai-codex\u002Fgpt-6.1-sol`. Do not launch\nexternal model CLIs or substitute another provider\u002Fmodel. If required execution\nis unavailable, preserve incomplete evidence and the exact blocker, not a clean\nresult.\n\nRun the shared engine in `~\u002F.claude\u002Fskills\u002Freview-core\u002FSKILL.md` (steps 1–7:\navailable lanes → reviewer prompts → inspector prompts → the `review-panel`\nWorkflow → after-workflow handling → print findings). Pass the contract inputs:\n\n| Contract input                                          | Value for review-pr                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `out_dir`, `{DIFF_PATH}`, `{FILES_PATH}`, `{REPO_ROOT}` | from steps 2–3 (`$out_dir\u002Fdiff.patch`, `$out_dir\u002Ffiles.txt`)                                                                                                                                                                                                                                                                                                                                                                                  |\n| `{PROJECT_DOCS_PATHS}`                                  | the docs paths from step 5                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| `{PR_DESCRIPTION}`                                      | the author's description (bot footers stripped) from step 3                                                                                                                                                                                                                                                                                                                                                                                   |\n| `{SOURCE_ACCESS}`                                       | `The change was authored against commit \u003Chead_sha>. Read source files via 'git show \u003Chead_sha>:\u003Cpath>' — the working tree does not match the change under review.`                                                                                                                                                                                                                                                                            |\n| `{SOURCE_REVISION}`                                     | the exact lowercase hexadecimal `\u003Chead_sha>` from verified PR metadata                                                                                                                                                                                                                                                                                                                                                                        |\n| `{SCOPE_NOTE}`                                          | `The diff is scoped to exactly the changes on this PR.`                                                                                                                                                                                                                                                                                                                                                                                       |\n| `{INSPECTOR_ARG}`                                       | the PR reference (`\u003Cpr-ref>`)                                                                                                                                                                                                                                                                                                                                                                                                                 |\n| `{REPORT_HEADER}`                                       | `# Review — PR #\u003Cn>: \u003Ctitle>\\n**Author:** \u003Cauthor>\\n**URL:** \u003Curl>\\n**Branches:** \u003Chead> -> \u003Cbase>\\n**Head SHA:** \u003Chead_sha>\\n**Files changed:** \u003CN> (+\u003Cadditions>\u002F-\u003Cdeletions>)`                                                                                                                                                                                                                                                             |\n| `{TERMINAL_HEADER}`                                     | `PR #\u003Cn> — \u003Ctitle>\\n\u003Cauthor>  ·  \u003Chead>..\u003Cbase>  ·  \u003CN> files, +\u003Cadd>\u002F-\u003Cdel> lines\\n\u003Curl>`                                                                                                                                                                                                                                                                                                                                                    |\n| `{SYNTHESIS_EXTRA}`                                     | `CRITICAL ADAPTATIONS FOR THIS REPORT: (1) No AI references anywhere — no agent attribution, no 'Found by' field, no mention of models, reviewers, lanes, or cross-review. The report must read like a single human senior engineer wrote it. (2) Frame the Overall assessment as advice to the REVIEWER reading this report, not to the PR author — e.g. 'This PR looks ready to merge pending X' or 'I'd push back on Y before approving.'` |\n| `{INCLUDE_ATTRIBUTION}`                                 | `false`                                                                                                                                                                                                                                                                                                                                                                                                                                       |\n\nPass the typed source object explicitly in the Workflow args:\n\n```json\n\"sourceRevision\": \"\u003Chead_sha>\"\n```\n\nThe shared engine validates that value as a 40–64 character lowercase\nhexadecimal Git object ID before exposing Bash to native lanes. Those lanes may\nuse Bash only for exact read-only `git show '\u003Chead_sha>:\u003Crepo-relative-path>'`\ncalls. They must never read `.env*`, credential stores, private keys, or\ncertificates, and must not use Bash for checkout, worktree creation, mutation,\nor unrelated commands.\n\n`{INCLUDE_ATTRIBUTION}` being `false` makes the engine strip the `Found by`\nfield from `review.md` and drop the lane bracket from the terminal output — the\non-disk `findings.json` keeps `found_by` for local audit only. With\n`{SOURCE_ACCESS}` threaded into the workflow, the in-panel verifier and\nsynthesizer read source at the head SHA via `git show`, not the (mismatched)\nworking tree.\n\nThe engine writes `$out_dir\u002Freview.md` and `$out_dir\u002Ffindings.json` and prints\nthe terminal summary. Then continue to the conversation below — **do not**\ntriage or fix anything; this skill only comments.\n\n## 7. Post the draft batch, then converse\n\nAfter the engine prints, **immediately post the verified findings as a draft\nbatch** — this is the default, with no approval gate and no waiting. Create one\n**PENDING (draft) GitHub review** with every verified finding as an inline\ncomment (see \"Posting a draft review\" below). You only ever create the draft;\nyou NEVER submit the review verdict (approve \u002F comment \u002F request changes) — the\nuser does that in the GitHub UI.\n\nThen **stay in the session** so the user can take it from there. Tell them the\ndraft is up and print the overall assessment as a copy-paste block. Say\nsomething like:\n\n> Draft review posted to \u003Cpr-url> with N inline comments — inspect, edit, or\n> delete in the UI, then submit the verdict yourself when ready. Paste this into\n> the summary box on submit:\n>\n> ```\n> \u003Coverall assessment — 2-3 sentences>\n> ```\n>\n> Want me to dig into any finding, or add\u002Fdrop comments before you submit?\n\nFor any follow-up:\n\n- **\"tell me more about #N\"** — read the full finding from `review.md` and\n  explain it conversationally. Read the relevant source via\n  `git show $head_sha:\u003Cpath>` to confirm the claim yourself.\n- **\"is finding #N actually valid?\"** — verify by reading the code at the head\n  SHA. Report your independent read.\n- **\"drop #N\"** \u002F **\"add a comment about X\"** — update the still-pending draft\n  (delete or add the relevant inline comments via the API, or tell the user to\n  do it in the UI). Never submit the review.\n- **\"I'm done\"** — summarize what's in the draft and end the turn. The user\n  submits the verdict themselves.\n\nIf the user ever says \"don't post yet\" (or similar) up front, skip the auto-post\nand converse first — but the default on invocation is to post the batch.\n\n### Posting a draft review\n\nCreate a **PENDING** GitHub review with each verified finding as an inline\ncomment on its file\u002Fline. This lets the user go to the GitHub UI, inspect each\ncomment, edit or delete as needed, and click \"Submit review\" themselves — you\nnever submit it.\n\n**Step 1 — Build the comments JSON.** For each finding, create an inline comment\nobject. Use the finding's file path and line number from the review.\n\n**Comment tone rules:**\n\n- Write like a human colleague leaving a quick review comment. Short, direct,\n  conversational.\n- No numbered prefixes like `#1`, `**#2 (HIGH)**`, etc. Just say what the issue\n  is.\n- No em dashes. Use commas, periods, or \"because\" instead.\n- **Start each comment with a lowercase severity prefix** that signals how\n  important the finding is: `critical:`, `should fix:`, `minor:`, or `nit:`.\n  This replaces bold labels and numbered prefixes. The prefix is short and\n  natural, like a colleague would write.\n- No bullet-point lists inside a single comment unless genuinely needed. Prefer\n  short paragraphs.\n- Keep each comment to 2-4 sentences. Say what's wrong, why it matters, and what\n  to do about it.\n\n**Leave the review `body` empty.** Do NOT post the overall assessment to the\ndraft — GitHub would attach it as the review summary, and the user wants to\nwrite\u002Fpaste that themselves at submit time. You'll print the assessment in the\nconversation in Step 2 instead.\n\n```bash\n# Build the review payload as a JSON file.\n# \"body\" is intentionally empty — the overall assessment is displayed in\n# the conversation (Step 2), not posted to the draft.\nreview_json=\"$out_dir\u002Fpending-review.json\"\ncat > \"$review_json\" \u003C\u003C'ENDJSON'\n{\n  \"commit_id\": \"\u003Chead_sha>\",\n  \"body\": \"\",\n  \"comments\": [\n    {\n      \"path\": \"\u003Cfile relative to repo root>\",\n      \"line\": \u003Cline number in NEW file>,\n      \"side\": \"RIGHT\",\n      \"body\": \"\u003Cfinding description + suggested fix>\"\n    }\n  ]\n}\nENDJSON\n```\n\nFor findings that span a range, use `start_line` + `line`:\n\n```json\n{\n  \"path\": \"src\u002Ffoo.rs\",\n  \"start_line\": 10,\n  \"line\": 15,\n  \"side\": \"RIGHT\",\n  \"body\": \"...\"\n}\n```\n\n**Step 2 — Post via the Reviews API.**\n\n```bash\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fpulls\u002F\u003Cpr-number>\u002Freviews \\\n  --input \"$review_json\"\nrm \"$review_json\"\n```\n\n**CRITICAL: Omit the `event` field entirely to create a PENDING review.** The\nGitHub API does NOT accept `\"event\": \"PENDING\"` — it returns a 422. Omitting\n`event` is what makes the review a draft.\n\nThis creates a draft review visible only to you (the reviewer) until submitted.\nTell the user the draft is up, then **print the overall assessment in the\nconversation as a fenced copy-paste block** so they can paste it into the review\nsummary box when they submit from the GitHub UI:\n\n> Draft review created with N inline comments. The overall summary is not part\n> of the draft — paste this into the review summary box when you submit:\n>\n> ```\n> \u003Coverall assessment — 2-3 sentences>\n> ```\n>\n> Go to \u003Cpr-url> to inspect, edit, or delete comments, then click \"Submit\n> review.\"\n\n**CRITICAL: `line` must be a line present in the diff hunk, not any arbitrary\nline in the file.** To find the right line number:\n\n- Read the diff (`$out_dir\u002Fdiff.patch`) and identify the `+`-side line number\n  within the changed hunk that best matches the finding\n- If the finding points to a line NOT in the diff, use the nearest related\n  changed line in the same file. Never fall back to a top-level review body.\n\n**Step 3 — Handle findings without diff lines.** Use only inline comments over\ntop-level body text. If a finding references unchanged code, look for a\n**related** changed line in the diff where the comment makes sense contextually.\nFor example, if a finding is about an interaction between existing code and\nnewly introduced code (e.g., \"the existing reconciler doesn't account for the\nnew compaction policy\"), place the comment on the new code that introduces the\ninteraction, not on the untouched code. Only when a finding has genuinely no\nrelated changed code anywhere in the diff (e.g., a missing file, a documentation\ngap, a broad architectural concern), fold it into the copy-paste assessment\nblock you print in the conversation (Step 2) rather than the posted `body` — the\ndraft `body` stays empty.\n\n## Hard rules\n\n1. Never check out the PR branch. Work off `gh pr diff` and `git show` at the\n   head SHA.\n2. `review.md` has no per-finding agent attribution (`{INCLUDE_ATTRIBUTION}` is\n   false). Attribution stays in `findings.json` only.\n3. Only ever create a **PENDING (draft)** review (`event` omitted). Submitting\n   the review verdict — approve \u002F comment \u002F request changes — is the user's\n   alone, done in the GitHub UI; never submit a verdict yourself, even if asked.\n   The draft needs no per-comment approval — the UI is where the user inspects,\n   edits, deletes, and submits.\n4. Always use `--body-file` (or heredoc to a tempfile) for comment bodies.\n5. Stay in the session after the engine prints — this command is a conversation,\n   not a one-shot.\n6. If the PR is closed\u002Fmerged\u002Fdraft, ask before proceeding.\n7. **Posted reviews must read like a human wrote them.** No AI references\n   (models, agents or model\u002Fprovider identities). No numbered finding prefixes\n   (`#1`, `**#2\n   (HIGH)**`). No em dashes. No bold severity labels. Use\n   lowercase severity prefixes (`critical:`, `should fix:`, `minor:`, `nit:`).\n   Write short, direct comments like a colleague would. The `findings.json` and\n   `review.md` on disk can use structured formatting (they're local), but\n   anything posted to GitHub must be conversational and concise.\n8. **Maximize inline comments; the draft `body` stays empty.** Never post the\n   overall assessment to the draft review — leave `body` empty and print the 2-3\n   sentence assessment in the conversation as a copy-paste block for the user to\n   paste at submit time. Every finding should be an inline comment on a diff\n   line. When a finding references unchanged code, place the comment on the\n   nearest related changed line.\n9. For ordinary body-only correction, update only the evidenced review's\n   top-level body to the empty string and preserve its inline comments. If the\n   user explicitly identifies the entire agent-created review as accidental and\n   orders full cleanup, delete only the exact evidenced accidental review and\n   its inline comments. Never replace the body with a marker, apology,\n   zero-width text, or other content. Try the exact supported deletion once\n   before reporting it impossible; retain the API error, continue any\n   independently executable cleanup, and identify GitHub support escalation if\n   submitted-review deletion or emptying is rejected.\n10. The review runs as a single `Workflow` invocation (review-core), using\n    read-only native `openai-codex\u002Fgpt-6.1-sol` lanes. Do not launch external\n    model CLIs or substitute another provider when a required lane is blocked.\n","Cross-review a pull request that is **not** currently checked out. The PR number\nor URL is passed in `$ARGUMENTS`. Use when you're reviewing someone else's PR\nand want independent native review lanes before commenting.\n\nThe **review engine** (panel, probes, prompts, the `review-panel` Workflow,\nfinding output) is shared with `\u002Freview-loop` and `\u002Freview-sweep` and lives in\n`~\u002F.claude\u002Fskills\u002Freview-core\u002FSKILL.md`. This skill **scopes the diff to the PR\n(without checking it out)** and, after the engine returns findings, **posts the\nverified findings as a draft (pending) PR review** and then converses so you can\nadjust before submitting. It never modifies code, and never submits the review\nverdict — you do that in the GitHub UI.\n\nFollow these steps precisely.\n\n## 1. Parse the argument\n\n`$ARGUMENTS` must be a PR number (e.g. `123`), a full GitHub URL\n(`https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo\u002Fpull\u002F123`), or an `owner\u002Frepo#123` shorthand. If\n`$ARGUMENTS` is empty, use the PR associated with the current branch.\n\nNormalize to `(owner, repo, number)` using `gh`:\n\n```bash\npr_ref=\"$ARGUMENTS\"\n\nif [ -z \"$pr_ref\" ]; then\n  # No argument — use the PR for the currently checked-out branch\n  pr_json=$(gh pr view --json number,title,author,headRefName,baseRefName,url,body,headRepository,baseRepository,headRefOid,baseRefOid,state,isDraft,additions,deletions,changedFiles)\nelse\n  case \"$pr_ref\" in\n    https:\u002F\u002Fgithub.com\u002F*) ;;\n    *\u002F*\\#*)              ;;  # owner\u002Frepo#n\n    [0-9]*)              ;;  # bare number (use current repo)\n    *) echo \"Unrecognized PR reference: $pr_ref\"; exit 1 ;;\n  esac\n  pr_json=$(gh pr view \"$pr_ref\" --json number,title,author,headRefName,baseRefName,url,body,headRepository,baseRepository,headRefOid,baseRefOid,state,isDraft,additions,deletions,changedFiles)\nfi\n```\n\nIf `gh pr view` fails (e.g. no PR exists for the current branch), stop and tell\nthe user — they need to either pass a PR reference or check out a branch that\nhas an open PR.\n\nRecord the fields from the JSON: `number`, `title`, `author.login`,\n`headRefName`, `baseRefName`, `url`, `body`, `headRefOid`, `baseRefOid`,\n`state`, `isDraft`, `changedFiles`, `additions`, `deletions`, and the owner\u002Fname\nof the head and base repos.\n\nIf the PR is closed, merged, or draft, warn the user and ask whether to\ncontinue. Proceed only on explicit confirmation.\n\n## 2. Prepare the workspace\n\nResolve `repo_root` from the checkout assigned to this review. When using a\nlinked review worktree, run setup there: every patch, prompt, report, payload,\nand log belongs under that worktree's `.tmp\u002F`, never the main checkout's\n`.tmp\u002F`. A coordinator running elsewhere must pass the verified review-worktree\nroot to workflows and explicitly set every child's cwd to that root. Do not\nderive artifact paths from the coordinator's cwd or the shared Git directory, or\nfall back to the main checkout. Remove temporary artifacts with the worktree.\nThis does not authorize creating a worktree or checking out the PR.\n\n```bash\nrepo_root=$(git rev-parse --show-toplevel) || exit 1\ninvocation_id=$(uuidgen) || exit 1\nsafe_branch=$(echo \"\u003CheadRefName>\" | tr '\u002F' '_')\nout_dir=\"$repo_root\u002F.tmp\u002Freviews\u002Fpr-${pr_number}-${invocation_id}-${safe_branch}\"\n```\n\nBefore creating the invocation directory or writing any artifact, apply\n`GLOBAL_AGENTS.md`'s directory-ignore preflight, including state capture and\nseparate repair accounting, to this invocation path:\n\n```bash\ngit check-ignore --verbose \"$repo_root\u002F.tmp\u002F\" \"$out_dir\u002Fdiff.patch\"\n```\n\nThen call the registered `artifact_provenance` tool with the resolved absolute\nvalue of `out_dir`:\n\n```json\n{ \"action\": \"create_directory\", \"path\": \"\u003Cresolved absolute out_dir>\" }\n```\n\nRequire successful creation and provenance recording before writing descendants.\nUse an available registered harness equivalent if its tool name differs; do not\nfall back to raw `mkdir`. Add `crossWorkspace: true` only for an independently\nauthorized target outside the tool session's workspace. The native UUID supplies\nthe invocation namespace; the creation API does not promise exclusive\nallocation. Artifacts remain local-only and ephemeral.\n\n## 3. Fetch the diff\n\nFetch the PR diff from GitHub — do not check out the PR:\n\n```bash\ngh pr diff \"\u003Cpr-ref>\" > \"$out_dir\u002Fdiff.patch\"\ngh pr view \"\u003Cpr-ref>\" --json files --jq '.files[] | \"\\(.additions)\\t\\(.deletions)\\t\\(.path)\"' > \"$out_dir\u002Ffiles.txt\"\nwc -l \"$out_dir\u002Fdiff.patch\"\n```\n\nRefuse to proceed if the diff is empty. Diff size is not an approval gate and\nmust not reduce review depth. For large diffs, follow review-core's bounded\nchunking and track complete retained-code and removal-boundary coverage. Inspect\ndeleted code only as needed to verify surviving behavior, compatibility and\nremoval effects; do not spend a review pass re-auditing intentional deletions.\nPreserve completed reviews and recover only missing chunks or context.\n\nAlso save the PR metadata and the author's description:\n\n```bash\necho \"$pr_json\" > \"$out_dir\u002Fpr.json\"\n```\n\nStrip bot-appended footers from the description before passing it to the engine:\ncut everything from the first HTML-comment footer marker onward (CodeRabbit \u002F\nCodesmith badges, tracking links). Reviewers should see only the author-written\ntext.\n\n## 4. Fetch the head ref for context\n\nThe reviewers need to read source files that the diff references, even if\nthey're not changed by the PR. Fetch the head ref into the local repo without\nswitching branches:\n\n```bash\nhead_owner_repo=\"\u003Cowner>\u002F\u003Crepo>\"   # from headRepository.nameWithOwner\nhead_sha=\"\u003CheadRefOid>\"\n\n# If the PR is from a fork, add the fork as a remote\ngit remote add pr-review-head \"https:\u002F\u002Fgithub.com\u002F${head_owner_repo}.git\" 2>\u002Fdev\u002Fnull || true\ngit fetch pr-review-head \"$head_sha\"\n\n# Now reviewers can resolve paths at that commit via `git show $head_sha:\u003Cpath>`\n```\n\nIf the PR is on the same repo, skip the remote-add step; the fetch is enough.\n\n## 5. Load project context\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 only the paths — they become `docsPaths` for the engine.\n\n## 6. Run the review engine\n\nRun every review, inspector, verifier, Markdown and synthesis lane through Pi's\nclassified workflow with authenticated `openai-codex\u002Fgpt-6.1-sol`. Do not launch\nexternal model CLIs or substitute another provider\u002Fmodel. If required execution\nis unavailable, preserve incomplete evidence and the exact blocker, not a clean\nresult.\n\nRun the shared engine in `~\u002F.claude\u002Fskills\u002Freview-core\u002FSKILL.md` (steps 1–7:\navailable lanes → reviewer prompts → inspector prompts → the `review-panel`\nWorkflow → after-workflow handling → print findings). Pass the contract inputs:\n\n| Contract input                                          | Value for review-pr                                                                                                                                                                                                                                                                                                                                                                                                                           |\n| ------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `out_dir`, `{DIFF_PATH}`, `{FILES_PATH}`, `{REPO_ROOT}` | from steps 2–3 (`$out_dir\u002Fdiff.patch`, `$out_dir\u002Ffiles.txt`)                                                                                                                                                                                                                                                                                                                                                                                  |\n| `{PROJECT_DOCS_PATHS}`                                  | the docs paths from step 5                                                                                                                                                                                                                                                                                                                                                                                                                    |\n| `{PR_DESCRIPTION}`                                      | the author's description (bot footers stripped) from step 3                                                                                                                                                                                                                                                                                                                                                                                   |\n| `{SOURCE_ACCESS}`                                       | `The change was authored against commit \u003Chead_sha>. Read source files via 'git show \u003Chead_sha>:\u003Cpath>' — the working tree does not match the change under review.`                                                                                                                                                                                                                                                                            |\n| `{SOURCE_REVISION}`                                     | the exact lowercase hexadecimal `\u003Chead_sha>` from verified PR metadata                                                                                                                                                                                                                                                                                                                                                                        |\n| `{SCOPE_NOTE}`                                          | `The diff is scoped to exactly the changes on this PR.`                                                                                                                                                                                                                                                                                                                                                                                       |\n| `{INSPECTOR_ARG}`                                       | the PR reference (`\u003Cpr-ref>`)                                                                                                                                                                                                                                                                                                                                                                                                                 |\n| `{REPORT_HEADER}`                                       | `# Review — PR #\u003Cn>: \u003Ctitle>\\n**Author:** \u003Cauthor>\\n**URL:** \u003Curl>\\n**Branches:** \u003Chead> -> \u003Cbase>\\n**Head SHA:** \u003Chead_sha>\\n**Files changed:** \u003CN> (+\u003Cadditions>\u002F-\u003Cdeletions>)`                                                                                                                                                                                                                                                             |\n| `{TERMINAL_HEADER}`                                     | `PR #\u003Cn> — \u003Ctitle>\\n\u003Cauthor>  ·  \u003Chead>..\u003Cbase>  ·  \u003CN> files, +\u003Cadd>\u002F-\u003Cdel> lines\\n\u003Curl>`                                                                                                                                                                                                                                                                                                                                                    |\n| `{SYNTHESIS_EXTRA}`                                     | `CRITICAL ADAPTATIONS FOR THIS REPORT: (1) No AI references anywhere — no agent attribution, no 'Found by' field, no mention of models, reviewers, lanes, or cross-review. The report must read like a single human senior engineer wrote it. (2) Frame the Overall assessment as advice to the REVIEWER reading this report, not to the PR author — e.g. 'This PR looks ready to merge pending X' or 'I'd push back on Y before approving.'` |\n| `{INCLUDE_ATTRIBUTION}`                                 | `false`                                                                                                                                                                                                                                                                                                                                                                                                                                       |\n\nPass the typed source object explicitly in the Workflow args:\n\n```json\n\"sourceRevision\": \"\u003Chead_sha>\"\n```\n\nThe shared engine validates that value as a 40–64 character lowercase\nhexadecimal Git object ID before exposing Bash to native lanes. Those lanes may\nuse Bash only for exact read-only `git show '\u003Chead_sha>:\u003Crepo-relative-path>'`\ncalls. They must never read `.env*`, credential stores, private keys, or\ncertificates, and must not use Bash for checkout, worktree creation, mutation,\nor unrelated commands.\n\n`{INCLUDE_ATTRIBUTION}` being `false` makes the engine strip the `Found by`\nfield from `review.md` and drop the lane bracket from the terminal output — the\non-disk `findings.json` keeps `found_by` for local audit only. With\n`{SOURCE_ACCESS}` threaded into the workflow, the in-panel verifier and\nsynthesizer read source at the head SHA via `git show`, not the (mismatched)\nworking tree.\n\nThe engine writes `$out_dir\u002Freview.md` and `$out_dir\u002Ffindings.json` and prints\nthe terminal summary. Then continue to the conversation below — **do not**\ntriage or fix anything; this skill only comments.\n\n## 7. Post the draft batch, then converse\n\nAfter the engine prints, **immediately post the verified findings as a draft\nbatch** — this is the default, with no approval gate and no waiting. Create one\n**PENDING (draft) GitHub review** with every verified finding as an inline\ncomment (see \"Posting a draft review\" below). You only ever create the draft;\nyou NEVER submit the review verdict (approve \u002F comment \u002F request changes) — the\nuser does that in the GitHub UI.\n\nThen **stay in the session** so the user can take it from there. Tell them the\ndraft is up and print the overall assessment as a copy-paste block. Say\nsomething like:\n\n> Draft review posted to \u003Cpr-url> with N inline comments — inspect, edit, or\n> delete in the UI, then submit the verdict yourself when ready. Paste this into\n> the summary box on submit:\n>\n> ```\n> \u003Coverall assessment — 2-3 sentences>\n> ```\n>\n> Want me to dig into any finding, or add\u002Fdrop comments before you submit?\n\nFor any follow-up:\n\n- **\"tell me more about #N\"** — read the full finding from `review.md` and\n  explain it conversationally. Read the relevant source via\n  `git show $head_sha:\u003Cpath>` to confirm the claim yourself.\n- **\"is finding #N actually valid?\"** — verify by reading the code at the head\n  SHA. Report your independent read.\n- **\"drop #N\"** \u002F **\"add a comment about X\"** — update the still-pending draft\n  (delete or add the relevant inline comments via the API, or tell the user to\n  do it in the UI). Never submit the review.\n- **\"I'm done\"** — summarize what's in the draft and end the turn. The user\n  submits the verdict themselves.\n\nIf the user ever says \"don't post yet\" (or similar) up front, skip the auto-post\nand converse first — but the default on invocation is to post the batch.\n\n### Posting a draft review\n\nCreate a **PENDING** GitHub review with each verified finding as an inline\ncomment on its file\u002Fline. This lets the user go to the GitHub UI, inspect each\ncomment, edit or delete as needed, and click \"Submit review\" themselves — you\nnever submit it.\n\n**Step 1 — Build the comments JSON.** For each finding, create an inline comment\nobject. Use the finding's file path and line number from the review.\n\n**Comment tone rules:**\n\n- Write like a human colleague leaving a quick review comment. Short, direct,\n  conversational.\n- No numbered prefixes like `#1`, `**#2 (HIGH)**`, etc. Just say what the issue\n  is.\n- No em dashes. Use commas, periods, or \"because\" instead.\n- **Start each comment with a lowercase severity prefix** that signals how\n  important the finding is: `critical:`, `should fix:`, `minor:`, or `nit:`.\n  This replaces bold labels and numbered prefixes. The prefix is short and\n  natural, like a colleague would write.\n- No bullet-point lists inside a single comment unless genuinely needed. Prefer\n  short paragraphs.\n- Keep each comment to 2-4 sentences. Say what's wrong, why it matters, and what\n  to do about it.\n\n**Leave the review `body` empty.** Do NOT post the overall assessment to the\ndraft — GitHub would attach it as the review summary, and the user wants to\nwrite\u002Fpaste that themselves at submit time. You'll print the assessment in the\nconversation in Step 2 instead.\n\n```bash\n# Build the review payload as a JSON file.\n# \"body\" is intentionally empty — the overall assessment is displayed in\n# the conversation (Step 2), not posted to the draft.\nreview_json=\"$out_dir\u002Fpending-review.json\"\ncat > \"$review_json\" \u003C\u003C'ENDJSON'\n{\n  \"commit_id\": \"\u003Chead_sha>\",\n  \"body\": \"\",\n  \"comments\": [\n    {\n      \"path\": \"\u003Cfile relative to repo root>\",\n      \"line\": \u003Cline number in NEW file>,\n      \"side\": \"RIGHT\",\n      \"body\": \"\u003Cfinding description + suggested fix>\"\n    }\n  ]\n}\nENDJSON\n```\n\nFor findings that span a range, use `start_line` + `line`:\n\n```json\n{\n  \"path\": \"src\u002Ffoo.rs\",\n  \"start_line\": 10,\n  \"line\": 15,\n  \"side\": \"RIGHT\",\n  \"body\": \"...\"\n}\n```\n\n**Step 2 — Post via the Reviews API.**\n\n```bash\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fpulls\u002F\u003Cpr-number>\u002Freviews \\\n  --input \"$review_json\"\nrm \"$review_json\"\n```\n\n**CRITICAL: Omit the `event` field entirely to create a PENDING review.** The\nGitHub API does NOT accept `\"event\": \"PENDING\"` — it returns a 422. Omitting\n`event` is what makes the review a draft.\n\nThis creates a draft review visible only to you (the reviewer) until submitted.\nTell the user the draft is up, then **print the overall assessment in the\nconversation as a fenced copy-paste block** so they can paste it into the review\nsummary box when they submit from the GitHub UI:\n\n> Draft review created with N inline comments. The overall summary is not part\n> of the draft — paste this into the review summary box when you submit:\n>\n> ```\n> \u003Coverall assessment — 2-3 sentences>\n> ```\n>\n> Go to \u003Cpr-url> to inspect, edit, or delete comments, then click \"Submit\n> review.\"\n\n**CRITICAL: `line` must be a line present in the diff hunk, not any arbitrary\nline in the file.** To find the right line number:\n\n- Read the diff (`$out_dir\u002Fdiff.patch`) and identify the `+`-side line number\n  within the changed hunk that best matches the finding\n- If the finding points to a line NOT in the diff, use the nearest related\n  changed line in the same file. Never fall back to a top-level review body.\n\n**Step 3 — Handle findings without diff lines.** Use only inline comments over\ntop-level body text. If a finding references unchanged code, look for a\n**related** changed line in the diff where the comment makes sense contextually.\nFor example, if a finding is about an interaction between existing code and\nnewly introduced code (e.g., \"the existing reconciler doesn't account for the\nnew compaction policy\"), place the comment on the new code that introduces the\ninteraction, not on the untouched code. Only when a finding has genuinely no\nrelated changed code anywhere in the diff (e.g., a missing file, a documentation\ngap, a broad architectural concern), fold it into the copy-paste assessment\nblock you print in the conversation (Step 2) rather than the posted `body` — the\ndraft `body` stays empty.\n\n## Hard rules\n\n1. Never check out the PR branch. Work off `gh pr diff` and `git show` at the\n   head SHA.\n2. `review.md` has no per-finding agent attribution (`{INCLUDE_ATTRIBUTION}` is\n   false). Attribution stays in `findings.json` only.\n3. Only ever create a **PENDING (draft)** review (`event` omitted). Submitting\n   the review verdict — approve \u002F comment \u002F request changes — is the user's\n   alone, done in the GitHub UI; never submit a verdict yourself, even if asked.\n   The draft needs no per-comment approval — the UI is where the user inspects,\n   edits, deletes, and submits.\n4. Always use `--body-file` (or heredoc to a tempfile) for comment bodies.\n5. Stay in the session after the engine prints — this command is a conversation,\n   not a one-shot.\n6. If the PR is closed\u002Fmerged\u002Fdraft, ask before proceeding.\n7. **Posted reviews must read like a human wrote them.** No AI references\n   (models, agents or model\u002Fprovider identities). No numbered finding prefixes\n   (`#1`, `**#2\n   (HIGH)**`). No em dashes. No bold severity labels. Use\n   lowercase severity prefixes (`critical:`, `should fix:`, `minor:`, `nit:`).\n   Write short, direct comments like a colleague would. The `findings.json` and\n   `review.md` on disk can use structured formatting (they're local), but\n   anything posted to GitHub must be conversational and concise.\n8. **Maximize inline comments; the draft `body` stays empty.** Never post the\n   overall assessment to the draft review — leave `body` empty and print the 2-3\n   sentence assessment in the conversation as a copy-paste block for the user to\n   paste at submit time. Every finding should be an inline comment on a diff\n   line. When a finding references unchanged code, place the comment on the\n   nearest related changed line.\n9. For ordinary body-only correction, update only the evidenced review's\n   top-level body to the empty string and preserve its inline comments. If the\n   user explicitly identifies the entire agent-created review as accidental and\n   orders full cleanup, delete only the exact evidenced accidental review and\n   its inline comments. Never replace the body with a marker, apology,\n   zero-width text, or other content. Try the exact supported deletion once\n   before reporting it impossible; retain the API error, continue any\n   independently executable cleanup, and identify GitHub support escalation if\n   submitted-review deletion or emptying is rejected.\n10. The review runs as a single `Workflow` invocation (review-core), using\n    read-only native `openai-codex\u002Fgpt-6.1-sol` lanes. Do not launch external\n    model CLIs or substitute another provider when a required lane is blocked.\n",{"name":5,"description":7,"allowed-tools":43,"argument-hint":44,"user-invocable":45},"Bash(gh:*), Bash(git:*), Bash(command:*), artifact_provenance, Bash(cat:*), Bash(mktemp:*), Bash(rm:*), Bash(wc:*), Bash(uuidgen:*), Bash(basename:*), Bash(test:*), Bash(grep:*), Bash(find:*), Read, Write, Agent, Workflow, Skill","\u003Cpr-number | pr-url>",true,"master","0d746517c6d8204286b50675ee0e43ed7bfa5b6a","ai\u002Fskills\u002Freview-pr",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 review-pr",{"tool":59,"command":60},"bunx","bunx skills add 0xgleb\u002Fdotconfig --skill review-pr",{"tool":62,"command":63},"pnpm","pnpm dlx skills add 0xgleb\u002Fdotconfig --skill review-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F0xgleb\u002Fdotconfig\u002Fblob\u002Fmaster\u002Fai\u002Fskills\u002Freview-pr\u002FSKILL.md",[],[67,90,114,137,155,172],{"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":38},"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,81,22,82,83,84,34,85,86,87,88,89],"create","work","never","worktrees","manage","inventory","repository","fix","only","cleanup","cd","isolation","ls","for","mkdir","true",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":38},"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",[],[92,97,76,20,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"draft","remove","trigger","tool","issues","auto","rewrite","code","tone","telegram","sources","links","authority","logs","facts","output","replies",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"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",[],[121,122,123,124,125,126,127,128,129,130,131,34,132,19,133,134,24,23,135,136],"model","threat model","threat","first","threat model first","chain","time","security-review","design","forge","access","cargo audit","change","audit","edit","modeling",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":38},"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",[],[144,145,146,147,102,148,34,104,19,149,24,150,151,30,29,28,152,22,153,154],"test","test inspector","fixture","do","false","run","coverage","error","snapshot","but","path",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":38},"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",[],[162,163,144,164,20,165,24,166,167,22,168,169,34,170,19,171],"strong typing inspector","type","missed","domain","flags","grep","usd","gh","primitives","newtype",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":38},"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",[],[179,180,19,181,182,183,184,185,129,186,104,87,187,188,189,190,191,192,193,194],"spec review","spec","plan","critique","code review","pi","refine","implementation","sequencing","specifications","proposals","scratch","Existing","author","From Scratch","adversarial"]