[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASMW5TWCB86Q1XZSW6B55Y":3,"skill-same:01M7ASMW5TWCB86Q1XZSW6B55Y":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7ASMW5TWCB86Q1XZSW6B55Y","review",null,"Orchestrates comprehensive PR review combining analysis, code review, security, documentation, and risk-gated quality-review passes, posted as one unified GitHub comment. Use when asked to review a pull request, run a full review on a PR, or right after opening a PR that should be reviewed before merge — including when that instruction arrives as part of a larger task such as \"open a PR and review it\".","ozzycodes2\u002Fclaudellum","ozzycodes2","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21285094?v=4","01M7ASJ57KTP519F96S4QGM7C5","Osniel Quintana","01M7ASJ589JS8S075AA92Y08S4",1,"MIT","https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Freview\u002Fskills\u002Freview\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: review\ndescription: Orchestrates comprehensive PR review combining analysis, code review, security, documentation, and risk-gated quality-review passes, posted as one unified GitHub comment. Use when asked to review a pull request, run a full review on a PR, or right after opening a PR that should be reviewed before merge — including when that instruction arrives as part of a larger task such as \"open a PR and review it\".\nallowed-tools: Bash Read Write Skill Task Agent\ndisable-model-invocation: false\n---\n\n# Orchestrate Full PR Review\n\nMaster orchestrator. Runs comprehensive PR review by coordinating specialized skills. Produces single unified review comment with all findings and recommendations.\n\n## Overview\n\nWorkflow:\n\n**Phase 1: Foundation**\n1. Capture the PR diff once, for every pass; analyze changes (languages, frameworks, impact, **risk_class**)\n2. Deep code review (2-pass bug hunting — expanded concurrency) **in parallel with** risk-gated QR passes\n\n**Phase 2: Quality Checks** (parallel)\n3. Security scanning (OWASP deepen)\n4. Documentation validation (incl. light DX fold)\n\n**Phase 3: Synthesis**\n5. Combine all findings (bug-finder + QR passes + security + docs)\n6. Determine merge recommendation (Clean Code blockers count as critical\u002Fhigh)\n7. Post comprehensive review to PR\n\n## Usage\n\n```bash\n# Invoke with PR URL\n> \u002Freview:review https:\u002F\u002Fgithub.com\u002Forg\u002Frepo\u002Fpull\u002F123\n\n# The skill will automatically:\n# - Analyze the PR\n# - Run applicable reviews\n# - Post results to PR\n```\n\n## Step 1: Validate Environment\n\n### 1.1 Check gh CLI\n\n```bash\ngh --version && gh auth status\n```\n\nIf not authenticated:\n```\nError: GitHub CLI not authenticated\nRun: gh auth login\nOr for enterprise: gh auth login --hostname \u003Chost>\n```\n\n### 1.2 Extract PR Number and Create Session Directory\n\n```bash\nPR_NUMBER=$(echo \"$PR_URL\" | grep -oE 'pull\u002F[0-9]+' | grep -oE '[0-9]+')\nSESSION_ID=$(uuidgen | tr '[:upper:]' '[:lower:]' | cut -d'-' -f1)\nOUTPUT_DIR=\"\u002Ftmp\u002Fpr-review-${PR_NUMBER}-${SESSION_ID}\"\nmkdir -p \"$OUTPUT_DIR\" && chmod 700 \"$OUTPUT_DIR\"\necho \"Session output directory: $OUTPUT_DIR\" >&2\n```\n\nIf PR URL not found, ask user for it.\n\n### 1.3 Locate this plugin's scripts\n\nSteps 7.5 and 8 run bundled scripts. A bare relative path resolves against the\n**reviewed repo's** working directory, not this plugin — the same trap called out\nin Step 3.1 — so resolve the root once, here.\n\n```bash\nPLUGIN_ROOT=\"${CLAUDE_PLUGIN_ROOT:-}\"\nif [ ! -f \"$PLUGIN_ROOT\u002Fscripts\u002Freview_formatter.py\" ]; then\n  PLUGIN_ROOT=\"$(cd \"${CLAUDE_SKILL_DIR:-.}\u002F..\u002F..\" 2>\u002Fdev\u002Fnull && pwd)\"\nfi\n[ -f \"$PLUGIN_ROOT\u002Fscripts\u002Freview_formatter.py\" ] \\\n  || echo \"WARN: plugin scripts not found; Glob for review_formatter.py\" >&2\n```\n\nIf both variables are unset, Glob for `**\u002Fscripts\u002Freview_formatter.py` and use\nthat file's parent-of-parent.\n\n### 1.4 Capture the PR once\n\n```bash\ngh pr diff \"$PR_URL\" > \"$OUTPUT_DIR\u002Fpr.diff\"\ngh pr diff \"$PR_URL\" --name-only > \"$OUTPUT_DIR\u002Fpr.files\"\ngh pr view \"$PR_URL\" --json number,title,url,body,baseRefName,headRefName,headRefOid,author,state,additions,deletions,files,commits \\\n  > \"$OUTPUT_DIR\u002Fpr-view.json\"\n```\n\nEvery pass reads these three files and fetches nothing itself. They are the\npass's inputs, read-only: passes run in parallel in one `$OUTPUT_DIR`, so a\npass that rewrote `pr.diff` would change the diff under every other pass\nmid-read. A pass run standalone, with no `pr.diff` in its directory, fetches\nits own.\n\nIf `gh pr diff` fails, stop — there is nothing to review.\n\n## Step 2: Run Change Analysis (Foundation)\n\n```\nUse Skill tool:\n- skill: \"review:analyze\"\n- args: \"\u003CPR_URL> \u003COUTPUT_DIR>\"\n```\n\n**Wait for completion** and read analysis:\n```bash\nRead tool: $OUTPUT_DIR\u002Fpr-analysis-\u003CPR_NUMBER>.json\n```\n\nStore key findings:\n- `primary_language`\n- `security_sensitive`\n- `impact_analysis`\n- `risk_class` (array)\n\n**If analysis fails:** continue with limited info; note in final review.\n\n## Step 3: Deep Code Review + Risk-Gated QR Passes (parallel Tasks)\n\n### 3.1 Two-pass bug-finder (always)\n\nSpawn **2 independent bug-finders in parallel** with Task tool. Different models per pass — one model twice shares one set of blind spots, so a finding both models agree on is far stronger signal:\n\n| Pass | `model` | Model ID | Role |\n|------|---------|----------|------|\n| 1 | `opus` | `claude-opus-4-8` | Deepest reasoning — subtle logic, races, security data-flow |\n| 2 | `sonnet` | `claude-sonnet-5` | Strong, different family — diversifies findings |\n\nEach:\n- `subagent_type`: `general-purpose`\n- `model`: from table. **Do not omit** — an omitted `model` inherits the session model, collapsing both passes onto one.\n- `description`: `Bug hunter pass [1 opus \u002F 2 sonnet]`\n- `prompt`: Bug-Finder Prompt below, with the contents of `$OUTPUT_DIR\u002Fpr.diff` as `{{DIFF}}` and the contents of `references\u002Fanti-patterns.md` as `{{ANTI_PATTERNS}}`.\n\nRead `references\u002Fanti-patterns.md` yourself and paste it in. These are raw Task prompts, not skill invocations — the subagents run with the reviewed repo as their working directory and cannot resolve a path in this skill.\n\n### Fresh eyes\n\nA pass's prompt is its template with the placeholders filled — nothing else.\nEvery pass reviews the diff cold: what another pass found, and what you\nsuspect, stays out of the prompt. The QR, security and docs passes read the\nanalysis JSON themselves; the bug-finders see only the diff. Two passes primed with the same\nhunch report the same hunch, and the \"[Found by 2\u002F2 models]\" agreement in Step\n5 stops meaning two independent reads.\n\n### Bug-Finder Prompt (both passes)\n\n```\nYou are a bug hunter. Find bugs that will crash production or create security vulnerabilities. Trace, don't scan.\n\n## Anti-patterns\n{{ANTI_PATTERNS}}\n\n## Critical Checks\n- **NPE \u002F null-deref:** for every dereference, trace the variable's lifecycle (declared? assigned? set null in cleanup\u002Ferror paths? nulled by another thread?). Show the full trace for each risk.\n- **Resource leaks:** every opened resource (connection, stream, file, cursor) — is it closed on all paths, including exceptions?\n- **Security:** trace every external input to dangerous sinks (SQL, HTML, shell, file paths, logs) without sanitization. Also flag hardcoded secrets, sensitive data in logs, missing auth checks.\n- **Race conditions:** shared mutable state without synchronization; check-then-act gaps.\n- **Concurrency (expanded):** deadlocks \u002F lock ordering; TOCTOU (filesystem\u002Fauthz); async cancellation \u002F lost wakeups \u002F unstructured concurrency; concurrent idempotency (handler unsafe under parallel retries; missing unique constraints); poison messages \u002F missing DLQ isolation.\n- **Control flow:** missing returns after cleanup\u002Ferror handling, early exits that skip cleanup, unreachable code.\n- **Architectural:** inconsistent patterns (mixing two APIs for one purpose), wrappers\u002Futilities removed without justification.\n- **Clean Code (blocking):** silent catch \u002F swallowed errors, shared mutable globals, or craft issues that hit correctness\u002Finvariants — emit as critical\u002Fhigh, not nits, **regardless of module reach**. Blast radius sets critical-vs-high, not blocking-vs-not. Name the resolving refactoring (Fowler\u002FKerievsky) in `suggestion`. Style-only with no domain-language conflict → omit or nitpick.\n\n## Output\nReturn a JSON array of findings, each: {\"severity\":\"critical|high|medium\",\"label\":\"issue|suggestion|nitpick|question|thought|praise\",\"decoration\":\"blocking|non-blocking|if-minor\",\"path\":\"exact\u002Fpath\",\"line\":N,\"title\":\"5-10 words\",\"body\":\"explanation with lifecycle\u002Fdata-flow trace\",\"suggestion\":\"concrete fix\",\"suggested_change\":\"exact replacement for lines start_line..line\"}.\n- `severity`: `critical` (crashes\u002Fsecurity), `high` (fix soon), `medium` (fix later).\n- `label`\u002F`decoration` optional — omit for severity defaults (`critical`\u002F`high` → `issue (blocking)`, `medium` → `suggestion (non-blocking)`).\n- `path`\u002F`line` required when mapped to diff (`line` = NEW-file line); add `start_line` for a multi-line range. Omit both for general findings.\n- `suggested_change` posts as a GitHub suggested change — one click commits it to the branch. Emit it only when **every** condition holds: the fix is confined to the commented lines (no new import, no second call site, no cross-file edit); you can reproduce every line from `start_line` through `line` verbatim, indentation included, from the diff you were given; the whole range is inside the diff; and it is under ~10 lines. Otherwise omit it. It is the file's new text for that range — never a fragment, a `...` elision, or a diff with `+`\u002F`-` markers. Always set `suggestion` as well; it is what the author reads when the range cannot be anchored.\n- Wrap code refs in backticks; keep `body` to 1–2 terse sentences.\n- After the JSON, add a 1-2 sentence summary. Focus on crashes and vulnerabilities, not style.\n\n## Code to Review\n{{DIFF}}\n```\n\n**Merge (Step 5):** group by `path`+`line`; prepend \"[Found by 2\u002F2 models]\" when both passes agree; take highest severity.\n\n### 3.2 Risk-gated QR passes (parallel with bug-finder)\n\nRead `shared\u002Frisk-class-routing.md`. From `risk_class`, decide which of these skills to run:\n\n| Gate | Skill |\n|---|---|\n| `domain` ∈ risk_class | `review:domain-architecture` |\n| `data` or `api` ∈ risk_class | `review:data-contracts` |\n| `ops` or `concurrency` ∈ risk_class | `review:ops-reliability` |\n| Large\u002Fmixed\u002FCD\u002Fdesign signals | `review:change-evolution` |\n\nFor each selected skill, spawn a Task (prefer `sonnet` unless domain\u002Farchitecture needs `opus`):\n\n```\nUse Task tool:\n- subagent_type: \"general-purpose\"\n- model: \"sonnet\"   # use \"opus\" for domain-architecture when risk is high\n- description: \"QR pass \u003Cname>\"\n- prompt: |\n    Invoke Skill \"review:\u003Cname>\" with args \"\u003CPR_URL> \u003COUTPUT_DIR>\".\n    Follow that skill exactly — it scopes its own anti-pattern slice.\n    Write $OUTPUT_DIR\u002F\u003Cname>-\u003CPR_NUMBER>.json. Return a one-line finding-count summary.\n```\n\nThese invoke the skill, so they resolve its references themselves — unlike the bug-finders, they need nothing inlined.\n\nIf `risk_class` is empty, skip QR passes (bug-finder still runs).\n\nDo not dispatch yet — Step 4's Tasks go out in the same message.\n\n## Step 4: Run Phase 2 Skills (Parallel)\n\n### 4.1 Security Scanner (Sonnet subagent)\n\n```\nUse Task tool:\n- subagent_type: \"general-purpose\"\n- model: \"sonnet\"\n- description: \"Security scan (sonnet)\"\n- prompt: |\n    Invoke Skill \"review:security-scan\" with args \"\u003CPR_URL> \u003COUTPUT_DIR>\".\n    Deepen OWASP authz\u002FIDOR, business-logic abuse, SSRF, PII-in-logs per that\n    skill. Write security-scan-\u003CPR_NUMBER>.json. One-line summary.\n```\n\n### 4.2 Documentation Validator (Haiku subagent)\n\n```\nUse Task tool:\n- subagent_type: \"general-purpose\"\n- model: \"haiku\"\n- description: \"Docs drift check (haiku)\"\n- prompt: |\n    Invoke Skill \"review:docs-drift\" with args \"\u003CPR_URL> \u003COUTPUT_DIR>\".\n    Include light DX fold (ADR\u002Frunbook\u002Fcaller migration) per that skill.\n    Write docs-drift-\u003CPR_NUMBER>.json. One-line summary.\n```\n\n**Send every Step 3 and Step 4 Task in ONE message** — 2 bug-finders, 0–4 QR passes, security-scan, docs-drift. They are independent and all read the same Step 1.4 capture. Collect in Step 5.\n\n## Step 5: Collect Results\n\nWait for: bug-finder ×2, QR passes (if any), security-scan, docs-drift.\n\nParse:\n- `$OUTPUT_DIR\u002Fpr-analysis-*.json` — risk_class\n- Bug-finder merged findings\n- `$OUTPUT_DIR\u002Fdomain-architecture-*.json`, `data-contracts-*.json`, `ops-reliability-*.json`, `change-evolution-*.json` — each `findings` array\n- `$OUTPUT_DIR\u002Fsecurity-scan-*.json`\n- `$OUTPUT_DIR\u002Fdocs-drift-*.json`\n\nBoth bug-finders return their findings in context, not on disk. **Write the\nmerged array to `$OUTPUT_DIR\u002Fbug-finder-\u003CPR_NUMBER>.json`** as\n`{\"findings\": [...]}` — Step 7.5 collects the ledger from these files, and a pass\nwith no file on disk is a pass whose findings `\u002Freview:fix` will never see.\n\n## Step 6: Determine Merge Recommendation\n\n```\nIF (any finding carries decoration \"blocking\"):\n  RECOMMENDATION = \"REQUEST CHANGES\"\n  RATIONALE = \"\u003CN> blocking findings — \u003Ctop 3 titles by priority stack>\"\n\nELIF (missing_critical_docs) OR (security_sensitive === true):\n  RECOMMENDATION = \"COMMENT\"\n  RATIONALE = \"Non-blocking findings; manual review required\"\n\nELSE:\n  RECOMMENDATION = \"COMMENT\"\n  RATIONALE = \"Review completed - findings noted for consideration\"\n```\n\nA finding decorated `(blocking)` that yields a `COMMENT` verdict teaches the\nauthor to ignore the decoration. One blocking finding is enough for\n`REQUEST CHANGES`; counts and severity tiers only order the output.\n\nAlways default to COMMENT (never APPROVE) — human-in-the-loop.\n\n## Step 7: Build structured JSON for shared formatter\n\n### Sections\n\n1. **Change Analysis** — body: languages, impact, `risk_class`. No inline findings.\n2. **Code Review Results (2 Passes)** — bug-finder findings (inline when path+line).\n3. **Domain & Architecture** — from `domain-architecture` (omit if skipped\u002Fempty).\n4. **Data & Contracts** — from `data-contracts` (omit if skipped\u002Fempty).\n5. **Ops & Reliability** — from `ops-reliability` (omit if skipped\u002Fempty).\n6. **Change & Evolution** — from `change-evolution` (omit if skipped\u002Fempty).\n7. **Security Analysis** — security-scan findings.\n8. **Documentation Check** — docs-drift body (+ inline if path+line).\n\nSet `review_metadata.model` to your model ID. Note bug-finder pass models in Code Review body. Set `tool_version` from `.claude-plugin\u002Fplugin.json` (do not hardcode).\n\n### Conventional Comments\n\nFormatter applies `\u003Clabel> [decoration]: \u003Csubject>`. Finding fields match bug-finder schema. Severity defaults per `shared\u002Fseverity-rubric.md`. **Clean Code and category 4 design quality → blocking regardless of module reach.**\n\n### Suggested changes\n\nCarry each finding's `suggested_change` through to the section `findings` array\nverbatim — the formatter renders it as a committable inline suggestion and drops\nthe prose remedy for that comment. QR, security and docs passes use the same\nfield; where one reports only prose (`fix`, `remedy`) and the diff gives you the\nexact replacement for the mapped range, write `suggested_change` yourself under\nthe Bug-Finder Prompt's conditions. Where it does not, leave prose.\n\nDo not invent the replacement from the finding's description. The author commits\nit with one click, so a suggestion reconstructed from memory lands as a broken\ncommit under your name.\n\n### Formatting rules\n\n- Code refs in backticks; bullets not paragraphs; lead with takeaway.\n\n### Ordering `required_actions`\n\nBlocking design and craft dimensions mean most non-trivial PRs return\n`REQUEST CHANGES`. Order `required_actions` by the taxonomy priority stack\n(`shared\u002Fquality-review-pr-review-taxonomy.md`, \"QR \u002F Staff-style priority\nstack\"): intent → system fit → domain invariants → failure behavior →\ncontracts → test adequacy → design simplicity → security → maintainability →\ncraft.\n\n**List every blocking finding. Do not cap, summarize, or elide.** The consumer\nmay be an agent working the list to completion, so an omitted action is an\nunfixed finding. Ordering sets the sequence; it never sets the membership.\n\nEach entry must be actionable on its own, without reading the rest of the\nreview: name the path (and line, when mapped), the symptom, and the fix. For a\ncraft or design finding, name the resolving refactoring.\n\n### Build JSON\n\n```json\n{\n  \"pr_url\": \"\u003CFULL_PR_URL>\",\n  \"recommendation\": \"\u003CREQUEST_CHANGES|COMMENT>\",\n  \"rationale\": \"\u003CBrief summary from Step 6>\",\n  \"required_actions\": [\"\u003Caction1>\"],\n  \"optional_improvements\": [\"\u003Csuggestion1>\"],\n  \"sections\": [\n    {\"title\": \"Change Analysis\", \"summary_line\": \"...\", \"body\": \"...\"},\n    {\"title\": \"Code Review Results (2 Passes)\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Domain & Architecture\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Data & Contracts\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Ops & Reliability\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Change & Evolution\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Security Analysis\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Documentation Check\", \"summary_line\": \"...\", \"body\": \"...\"}\n  ],\n  \"review_metadata\": {\n    \"tool_name\": \"review\",\n    \"review_title\": \"Review\",\n    \"tool_version\": \"\u003Cfrom plugin.json>\",\n    \"model\": \"\u003Corchestrator model ID>\"\n  }\n}\n```\n\nOmit skipped\u002Ffailed\u002Fempty QR sections. Formatter omits empty sections.\n\n**Write this JSON to `$OUTPUT_DIR\u002Freview-payload.json`** — Steps 7.5 and 8 both\nread it from there.\n\n## Step 7.5: Persist findings to the durable ledger\n\nSteps 1-7 wrote everything to `$OUTPUT_DIR`, which is a `\u002Ftmp` dir keyed on a\nrandom session id. A later session cannot find it, so the findings — and the\nrefactorings they name — die with this run. Write them somewhere durable instead,\nso `\u002Freview:fix` can work the list to completion.\n\n```bash\nLEDGER=$(python3 \"$PLUGIN_ROOT\u002Fscripts\u002Ffindings_ledger.py\" build \\\n  --pr-url \"$PR_URL\" \\\n  --analysis \"$OUTPUT_DIR\u002Fpr-analysis-${PR_NUMBER}.json\" \\\n  --payload  \"$OUTPUT_DIR\u002Freview-payload.json\" \\\n  --run \"$SESSION_ID\" \\\n  $(for f in \"$OUTPUT_DIR\"\u002F*-${PR_NUMBER}.json; do\n      case \"$(basename \"$f\")\" in\n        pr-analysis-*) continue ;;\n      esac\n      printf ' --source %s=%s' \"$(basename \"$f\" | sed \"s\u002F-${PR_NUMBER}\\.json$\u002F\u002F\")\" \"$f\"\n    done) \\\n  | cut -f1)\n```\n\nThe script derives `~\u002F.claude\u002Freview-findings\u002F\u003Cowner>__\u003Crepo>\u002Fpr-\u003CN>.json` from\nthe PR URL, normalizes all four finding shapes into one schema, and copies the\n`test_setup` \u002F `build_system` \u002F `languages` slice of the analysis into the ledger.\nThat slice is copied rather than referenced because `$OUTPUT_DIR` is gone by the\ntime `fix` runs.\n\nThe ledger holds source excerpts from security findings, so the script writes it\n`0600` under a `0700` directory and replaces any reported credential with a\ndigest. Do not copy ledger contents into a log line or a PR comment.\n\nIf this step fails, the review is still complete — report the failure and move\non. The ledger is an optimization for `fix`, not part of the review verdict.\n\n## Step 8: Post review via shared formatter\n\n```bash\ncat \"$OUTPUT_DIR\u002Freview-payload.json\" \\\n  | python3 \"$PLUGIN_ROOT\u002Fscripts\u002Freview_formatter.py\" --post\n```\n\nOn failure, `--dry-run` and show the user.\n\n## Step 9: Provide User Summary\n\n```\nComprehensive Review Complete\n\nSummary:\n- Languages: \u003Cprimary>\n- Risk classes: \u003Clist or none>\n- Code Review: \u003CX Critical, Y High, Z Medium>\n- QR passes: \u003Cwhich ran>\n- Security: \u003Ccounts>\n- Documentation: \u003Cstatus>\n- Recommendation: \u003CREQUEST CHANGES | COMMENT>\n\nView full review: \u003CPR_URL>\n```\n\n## Error Handling\n\n- analyze fails → continue; omit Change Analysis; note in rationale\n- bug-finder fails → omit Code Review section; recommend manual review\n- a QR pass fails → omit that section; continue\n- both analyze and bug-finder fail → do not post incomplete review\n- Step 1.4 capture fails → stop; no pass can run without the diff\n- GitHub rejects the review (422) → the formatter re-posts suggested changes as\n  prose, then without inline comments at all; nothing to do by hand\n- post fails → dry-run + save JSON under `$OUTPUT_DIR`\n\n## Notes\n\n- Entry point for comprehensive reviews\n- Model-diverse 2-pass bug-finder (opus+sonnet) + risk-gated QR skills (`domain-architecture`, `data-contracts`, `ops-reliability`, `change-evolution`) + security-scan + docs-drift\n- Each pass owns its anti-pattern slice at `skills\u002F\u003Cpass>\u002Freferences\u002Fanti-patterns.md`, so it can address no other\n- Clean Code and category 4 design-quality findings are **blockers regardless of module reach**; blast radius sets severity only. Each names its resolving refactoring\n- A finding whose fix is mechanical and confined to the lines it flags posts as a committable GitHub suggestion, not a prose remedy in the body\n- Test execution\u002Fcoverage left to CI\n- Never auto-approves\u002Fmerges\n- Cost: higher when QR passes gate on; still prefer gated runs over always-on four extras\n","# Orchestrate Full PR Review\n\nMaster orchestrator. Runs comprehensive PR review by coordinating specialized skills. Produces single unified review comment with all findings and recommendations.\n\n## Overview\n\nWorkflow:\n\n**Phase 1: Foundation**\n1. Capture the PR diff once, for every pass; analyze changes (languages, frameworks, impact, **risk_class**)\n2. Deep code review (2-pass bug hunting — expanded concurrency) **in parallel with** risk-gated QR passes\n\n**Phase 2: Quality Checks** (parallel)\n3. Security scanning (OWASP deepen)\n4. Documentation validation (incl. light DX fold)\n\n**Phase 3: Synthesis**\n5. Combine all findings (bug-finder + QR passes + security + docs)\n6. Determine merge recommendation (Clean Code blockers count as critical\u002Fhigh)\n7. Post comprehensive review to PR\n\n## Usage\n\n```bash\n# Invoke with PR URL\n> \u002Freview:review https:\u002F\u002Fgithub.com\u002Forg\u002Frepo\u002Fpull\u002F123\n\n# The skill will automatically:\n# - Analyze the PR\n# - Run applicable reviews\n# - Post results to PR\n```\n\n## Step 1: Validate Environment\n\n### 1.1 Check gh CLI\n\n```bash\ngh --version && gh auth status\n```\n\nIf not authenticated:\n```\nError: GitHub CLI not authenticated\nRun: gh auth login\nOr for enterprise: gh auth login --hostname \u003Chost>\n```\n\n### 1.2 Extract PR Number and Create Session Directory\n\n```bash\nPR_NUMBER=$(echo \"$PR_URL\" | grep -oE 'pull\u002F[0-9]+' | grep -oE '[0-9]+')\nSESSION_ID=$(uuidgen | tr '[:upper:]' '[:lower:]' | cut -d'-' -f1)\nOUTPUT_DIR=\"\u002Ftmp\u002Fpr-review-${PR_NUMBER}-${SESSION_ID}\"\nmkdir -p \"$OUTPUT_DIR\" && chmod 700 \"$OUTPUT_DIR\"\necho \"Session output directory: $OUTPUT_DIR\" >&2\n```\n\nIf PR URL not found, ask user for it.\n\n### 1.3 Locate this plugin's scripts\n\nSteps 7.5 and 8 run bundled scripts. A bare relative path resolves against the\n**reviewed repo's** working directory, not this plugin — the same trap called out\nin Step 3.1 — so resolve the root once, here.\n\n```bash\nPLUGIN_ROOT=\"${CLAUDE_PLUGIN_ROOT:-}\"\nif [ ! -f \"$PLUGIN_ROOT\u002Fscripts\u002Freview_formatter.py\" ]; then\n  PLUGIN_ROOT=\"$(cd \"${CLAUDE_SKILL_DIR:-.}\u002F..\u002F..\" 2>\u002Fdev\u002Fnull && pwd)\"\nfi\n[ -f \"$PLUGIN_ROOT\u002Fscripts\u002Freview_formatter.py\" ] \\\n  || echo \"WARN: plugin scripts not found; Glob for review_formatter.py\" >&2\n```\n\nIf both variables are unset, Glob for `**\u002Fscripts\u002Freview_formatter.py` and use\nthat file's parent-of-parent.\n\n### 1.4 Capture the PR once\n\n```bash\ngh pr diff \"$PR_URL\" > \"$OUTPUT_DIR\u002Fpr.diff\"\ngh pr diff \"$PR_URL\" --name-only > \"$OUTPUT_DIR\u002Fpr.files\"\ngh pr view \"$PR_URL\" --json number,title,url,body,baseRefName,headRefName,headRefOid,author,state,additions,deletions,files,commits \\\n  > \"$OUTPUT_DIR\u002Fpr-view.json\"\n```\n\nEvery pass reads these three files and fetches nothing itself. They are the\npass's inputs, read-only: passes run in parallel in one `$OUTPUT_DIR`, so a\npass that rewrote `pr.diff` would change the diff under every other pass\nmid-read. A pass run standalone, with no `pr.diff` in its directory, fetches\nits own.\n\nIf `gh pr diff` fails, stop — there is nothing to review.\n\n## Step 2: Run Change Analysis (Foundation)\n\n```\nUse Skill tool:\n- skill: \"review:analyze\"\n- args: \"\u003CPR_URL> \u003COUTPUT_DIR>\"\n```\n\n**Wait for completion** and read analysis:\n```bash\nRead tool: $OUTPUT_DIR\u002Fpr-analysis-\u003CPR_NUMBER>.json\n```\n\nStore key findings:\n- `primary_language`\n- `security_sensitive`\n- `impact_analysis`\n- `risk_class` (array)\n\n**If analysis fails:** continue with limited info; note in final review.\n\n## Step 3: Deep Code Review + Risk-Gated QR Passes (parallel Tasks)\n\n### 3.1 Two-pass bug-finder (always)\n\nSpawn **2 independent bug-finders in parallel** with Task tool. Different models per pass — one model twice shares one set of blind spots, so a finding both models agree on is far stronger signal:\n\n| Pass | `model` | Model ID | Role |\n|------|---------|----------|------|\n| 1 | `opus` | `claude-opus-4-8` | Deepest reasoning — subtle logic, races, security data-flow |\n| 2 | `sonnet` | `claude-sonnet-5` | Strong, different family — diversifies findings |\n\nEach:\n- `subagent_type`: `general-purpose`\n- `model`: from table. **Do not omit** — an omitted `model` inherits the session model, collapsing both passes onto one.\n- `description`: `Bug hunter pass [1 opus \u002F 2 sonnet]`\n- `prompt`: Bug-Finder Prompt below, with the contents of `$OUTPUT_DIR\u002Fpr.diff` as `{{DIFF}}` and the contents of `references\u002Fanti-patterns.md` as `{{ANTI_PATTERNS}}`.\n\nRead `references\u002Fanti-patterns.md` yourself and paste it in. These are raw Task prompts, not skill invocations — the subagents run with the reviewed repo as their working directory and cannot resolve a path in this skill.\n\n### Fresh eyes\n\nA pass's prompt is its template with the placeholders filled — nothing else.\nEvery pass reviews the diff cold: what another pass found, and what you\nsuspect, stays out of the prompt. The QR, security and docs passes read the\nanalysis JSON themselves; the bug-finders see only the diff. Two passes primed with the same\nhunch report the same hunch, and the \"[Found by 2\u002F2 models]\" agreement in Step\n5 stops meaning two independent reads.\n\n### Bug-Finder Prompt (both passes)\n\n```\nYou are a bug hunter. Find bugs that will crash production or create security vulnerabilities. Trace, don't scan.\n\n## Anti-patterns\n{{ANTI_PATTERNS}}\n\n## Critical Checks\n- **NPE \u002F null-deref:** for every dereference, trace the variable's lifecycle (declared? assigned? set null in cleanup\u002Ferror paths? nulled by another thread?). Show the full trace for each risk.\n- **Resource leaks:** every opened resource (connection, stream, file, cursor) — is it closed on all paths, including exceptions?\n- **Security:** trace every external input to dangerous sinks (SQL, HTML, shell, file paths, logs) without sanitization. Also flag hardcoded secrets, sensitive data in logs, missing auth checks.\n- **Race conditions:** shared mutable state without synchronization; check-then-act gaps.\n- **Concurrency (expanded):** deadlocks \u002F lock ordering; TOCTOU (filesystem\u002Fauthz); async cancellation \u002F lost wakeups \u002F unstructured concurrency; concurrent idempotency (handler unsafe under parallel retries; missing unique constraints); poison messages \u002F missing DLQ isolation.\n- **Control flow:** missing returns after cleanup\u002Ferror handling, early exits that skip cleanup, unreachable code.\n- **Architectural:** inconsistent patterns (mixing two APIs for one purpose), wrappers\u002Futilities removed without justification.\n- **Clean Code (blocking):** silent catch \u002F swallowed errors, shared mutable globals, or craft issues that hit correctness\u002Finvariants — emit as critical\u002Fhigh, not nits, **regardless of module reach**. Blast radius sets critical-vs-high, not blocking-vs-not. Name the resolving refactoring (Fowler\u002FKerievsky) in `suggestion`. Style-only with no domain-language conflict → omit or nitpick.\n\n## Output\nReturn a JSON array of findings, each: {\"severity\":\"critical|high|medium\",\"label\":\"issue|suggestion|nitpick|question|thought|praise\",\"decoration\":\"blocking|non-blocking|if-minor\",\"path\":\"exact\u002Fpath\",\"line\":N,\"title\":\"5-10 words\",\"body\":\"explanation with lifecycle\u002Fdata-flow trace\",\"suggestion\":\"concrete fix\",\"suggested_change\":\"exact replacement for lines start_line..line\"}.\n- `severity`: `critical` (crashes\u002Fsecurity), `high` (fix soon), `medium` (fix later).\n- `label`\u002F`decoration` optional — omit for severity defaults (`critical`\u002F`high` → `issue (blocking)`, `medium` → `suggestion (non-blocking)`).\n- `path`\u002F`line` required when mapped to diff (`line` = NEW-file line); add `start_line` for a multi-line range. Omit both for general findings.\n- `suggested_change` posts as a GitHub suggested change — one click commits it to the branch. Emit it only when **every** condition holds: the fix is confined to the commented lines (no new import, no second call site, no cross-file edit); you can reproduce every line from `start_line` through `line` verbatim, indentation included, from the diff you were given; the whole range is inside the diff; and it is under ~10 lines. Otherwise omit it. It is the file's new text for that range — never a fragment, a `...` elision, or a diff with `+`\u002F`-` markers. Always set `suggestion` as well; it is what the author reads when the range cannot be anchored.\n- Wrap code refs in backticks; keep `body` to 1–2 terse sentences.\n- After the JSON, add a 1-2 sentence summary. Focus on crashes and vulnerabilities, not style.\n\n## Code to Review\n{{DIFF}}\n```\n\n**Merge (Step 5):** group by `path`+`line`; prepend \"[Found by 2\u002F2 models]\" when both passes agree; take highest severity.\n\n### 3.2 Risk-gated QR passes (parallel with bug-finder)\n\nRead `shared\u002Frisk-class-routing.md`. From `risk_class`, decide which of these skills to run:\n\n| Gate | Skill |\n|---|---|\n| `domain` ∈ risk_class | `review:domain-architecture` |\n| `data` or `api` ∈ risk_class | `review:data-contracts` |\n| `ops` or `concurrency` ∈ risk_class | `review:ops-reliability` |\n| Large\u002Fmixed\u002FCD\u002Fdesign signals | `review:change-evolution` |\n\nFor each selected skill, spawn a Task (prefer `sonnet` unless domain\u002Farchitecture needs `opus`):\n\n```\nUse Task tool:\n- subagent_type: \"general-purpose\"\n- model: \"sonnet\"   # use \"opus\" for domain-architecture when risk is high\n- description: \"QR pass \u003Cname>\"\n- prompt: |\n    Invoke Skill \"review:\u003Cname>\" with args \"\u003CPR_URL> \u003COUTPUT_DIR>\".\n    Follow that skill exactly — it scopes its own anti-pattern slice.\n    Write $OUTPUT_DIR\u002F\u003Cname>-\u003CPR_NUMBER>.json. Return a one-line finding-count summary.\n```\n\nThese invoke the skill, so they resolve its references themselves — unlike the bug-finders, they need nothing inlined.\n\nIf `risk_class` is empty, skip QR passes (bug-finder still runs).\n\nDo not dispatch yet — Step 4's Tasks go out in the same message.\n\n## Step 4: Run Phase 2 Skills (Parallel)\n\n### 4.1 Security Scanner (Sonnet subagent)\n\n```\nUse Task tool:\n- subagent_type: \"general-purpose\"\n- model: \"sonnet\"\n- description: \"Security scan (sonnet)\"\n- prompt: |\n    Invoke Skill \"review:security-scan\" with args \"\u003CPR_URL> \u003COUTPUT_DIR>\".\n    Deepen OWASP authz\u002FIDOR, business-logic abuse, SSRF, PII-in-logs per that\n    skill. Write security-scan-\u003CPR_NUMBER>.json. One-line summary.\n```\n\n### 4.2 Documentation Validator (Haiku subagent)\n\n```\nUse Task tool:\n- subagent_type: \"general-purpose\"\n- model: \"haiku\"\n- description: \"Docs drift check (haiku)\"\n- prompt: |\n    Invoke Skill \"review:docs-drift\" with args \"\u003CPR_URL> \u003COUTPUT_DIR>\".\n    Include light DX fold (ADR\u002Frunbook\u002Fcaller migration) per that skill.\n    Write docs-drift-\u003CPR_NUMBER>.json. One-line summary.\n```\n\n**Send every Step 3 and Step 4 Task in ONE message** — 2 bug-finders, 0–4 QR passes, security-scan, docs-drift. They are independent and all read the same Step 1.4 capture. Collect in Step 5.\n\n## Step 5: Collect Results\n\nWait for: bug-finder ×2, QR passes (if any), security-scan, docs-drift.\n\nParse:\n- `$OUTPUT_DIR\u002Fpr-analysis-*.json` — risk_class\n- Bug-finder merged findings\n- `$OUTPUT_DIR\u002Fdomain-architecture-*.json`, `data-contracts-*.json`, `ops-reliability-*.json`, `change-evolution-*.json` — each `findings` array\n- `$OUTPUT_DIR\u002Fsecurity-scan-*.json`\n- `$OUTPUT_DIR\u002Fdocs-drift-*.json`\n\nBoth bug-finders return their findings in context, not on disk. **Write the\nmerged array to `$OUTPUT_DIR\u002Fbug-finder-\u003CPR_NUMBER>.json`** as\n`{\"findings\": [...]}` — Step 7.5 collects the ledger from these files, and a pass\nwith no file on disk is a pass whose findings `\u002Freview:fix` will never see.\n\n## Step 6: Determine Merge Recommendation\n\n```\nIF (any finding carries decoration \"blocking\"):\n  RECOMMENDATION = \"REQUEST CHANGES\"\n  RATIONALE = \"\u003CN> blocking findings — \u003Ctop 3 titles by priority stack>\"\n\nELIF (missing_critical_docs) OR (security_sensitive === true):\n  RECOMMENDATION = \"COMMENT\"\n  RATIONALE = \"Non-blocking findings; manual review required\"\n\nELSE:\n  RECOMMENDATION = \"COMMENT\"\n  RATIONALE = \"Review completed - findings noted for consideration\"\n```\n\nA finding decorated `(blocking)` that yields a `COMMENT` verdict teaches the\nauthor to ignore the decoration. One blocking finding is enough for\n`REQUEST CHANGES`; counts and severity tiers only order the output.\n\nAlways default to COMMENT (never APPROVE) — human-in-the-loop.\n\n## Step 7: Build structured JSON for shared formatter\n\n### Sections\n\n1. **Change Analysis** — body: languages, impact, `risk_class`. No inline findings.\n2. **Code Review Results (2 Passes)** — bug-finder findings (inline when path+line).\n3. **Domain & Architecture** — from `domain-architecture` (omit if skipped\u002Fempty).\n4. **Data & Contracts** — from `data-contracts` (omit if skipped\u002Fempty).\n5. **Ops & Reliability** — from `ops-reliability` (omit if skipped\u002Fempty).\n6. **Change & Evolution** — from `change-evolution` (omit if skipped\u002Fempty).\n7. **Security Analysis** — security-scan findings.\n8. **Documentation Check** — docs-drift body (+ inline if path+line).\n\nSet `review_metadata.model` to your model ID. Note bug-finder pass models in Code Review body. Set `tool_version` from `.claude-plugin\u002Fplugin.json` (do not hardcode).\n\n### Conventional Comments\n\nFormatter applies `\u003Clabel> [decoration]: \u003Csubject>`. Finding fields match bug-finder schema. Severity defaults per `shared\u002Fseverity-rubric.md`. **Clean Code and category 4 design quality → blocking regardless of module reach.**\n\n### Suggested changes\n\nCarry each finding's `suggested_change` through to the section `findings` array\nverbatim — the formatter renders it as a committable inline suggestion and drops\nthe prose remedy for that comment. QR, security and docs passes use the same\nfield; where one reports only prose (`fix`, `remedy`) and the diff gives you the\nexact replacement for the mapped range, write `suggested_change` yourself under\nthe Bug-Finder Prompt's conditions. Where it does not, leave prose.\n\nDo not invent the replacement from the finding's description. The author commits\nit with one click, so a suggestion reconstructed from memory lands as a broken\ncommit under your name.\n\n### Formatting rules\n\n- Code refs in backticks; bullets not paragraphs; lead with takeaway.\n\n### Ordering `required_actions`\n\nBlocking design and craft dimensions mean most non-trivial PRs return\n`REQUEST CHANGES`. Order `required_actions` by the taxonomy priority stack\n(`shared\u002Fquality-review-pr-review-taxonomy.md`, \"QR \u002F Staff-style priority\nstack\"): intent → system fit → domain invariants → failure behavior →\ncontracts → test adequacy → design simplicity → security → maintainability →\ncraft.\n\n**List every blocking finding. Do not cap, summarize, or elide.** The consumer\nmay be an agent working the list to completion, so an omitted action is an\nunfixed finding. Ordering sets the sequence; it never sets the membership.\n\nEach entry must be actionable on its own, without reading the rest of the\nreview: name the path (and line, when mapped), the symptom, and the fix. For a\ncraft or design finding, name the resolving refactoring.\n\n### Build JSON\n\n```json\n{\n  \"pr_url\": \"\u003CFULL_PR_URL>\",\n  \"recommendation\": \"\u003CREQUEST_CHANGES|COMMENT>\",\n  \"rationale\": \"\u003CBrief summary from Step 6>\",\n  \"required_actions\": [\"\u003Caction1>\"],\n  \"optional_improvements\": [\"\u003Csuggestion1>\"],\n  \"sections\": [\n    {\"title\": \"Change Analysis\", \"summary_line\": \"...\", \"body\": \"...\"},\n    {\"title\": \"Code Review Results (2 Passes)\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Domain & Architecture\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Data & Contracts\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Ops & Reliability\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Change & Evolution\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Security Analysis\", \"summary_line\": \"...\", \"body\": \"...\", \"findings\": []},\n    {\"title\": \"Documentation Check\", \"summary_line\": \"...\", \"body\": \"...\"}\n  ],\n  \"review_metadata\": {\n    \"tool_name\": \"review\",\n    \"review_title\": \"Review\",\n    \"tool_version\": \"\u003Cfrom plugin.json>\",\n    \"model\": \"\u003Corchestrator model ID>\"\n  }\n}\n```\n\nOmit skipped\u002Ffailed\u002Fempty QR sections. Formatter omits empty sections.\n\n**Write this JSON to `$OUTPUT_DIR\u002Freview-payload.json`** — Steps 7.5 and 8 both\nread it from there.\n\n## Step 7.5: Persist findings to the durable ledger\n\nSteps 1-7 wrote everything to `$OUTPUT_DIR`, which is a `\u002Ftmp` dir keyed on a\nrandom session id. A later session cannot find it, so the findings — and the\nrefactorings they name — die with this run. Write them somewhere durable instead,\nso `\u002Freview:fix` can work the list to completion.\n\n```bash\nLEDGER=$(python3 \"$PLUGIN_ROOT\u002Fscripts\u002Ffindings_ledger.py\" build \\\n  --pr-url \"$PR_URL\" \\\n  --analysis \"$OUTPUT_DIR\u002Fpr-analysis-${PR_NUMBER}.json\" \\\n  --payload  \"$OUTPUT_DIR\u002Freview-payload.json\" \\\n  --run \"$SESSION_ID\" \\\n  $(for f in \"$OUTPUT_DIR\"\u002F*-${PR_NUMBER}.json; do\n      case \"$(basename \"$f\")\" in\n        pr-analysis-*) continue ;;\n      esac\n      printf ' --source %s=%s' \"$(basename \"$f\" | sed \"s\u002F-${PR_NUMBER}\\.json$\u002F\u002F\")\" \"$f\"\n    done) \\\n  | cut -f1)\n```\n\nThe script derives `~\u002F.claude\u002Freview-findings\u002F\u003Cowner>__\u003Crepo>\u002Fpr-\u003CN>.json` from\nthe PR URL, normalizes all four finding shapes into one schema, and copies the\n`test_setup` \u002F `build_system` \u002F `languages` slice of the analysis into the ledger.\nThat slice is copied rather than referenced because `$OUTPUT_DIR` is gone by the\ntime `fix` runs.\n\nThe ledger holds source excerpts from security findings, so the script writes it\n`0600` under a `0700` directory and replaces any reported credential with a\ndigest. Do not copy ledger contents into a log line or a PR comment.\n\nIf this step fails, the review is still complete — report the failure and move\non. The ledger is an optimization for `fix`, not part of the review verdict.\n\n## Step 8: Post review via shared formatter\n\n```bash\ncat \"$OUTPUT_DIR\u002Freview-payload.json\" \\\n  | python3 \"$PLUGIN_ROOT\u002Fscripts\u002Freview_formatter.py\" --post\n```\n\nOn failure, `--dry-run` and show the user.\n\n## Step 9: Provide User Summary\n\n```\nComprehensive Review Complete\n\nSummary:\n- Languages: \u003Cprimary>\n- Risk classes: \u003Clist or none>\n- Code Review: \u003CX Critical, Y High, Z Medium>\n- QR passes: \u003Cwhich ran>\n- Security: \u003Ccounts>\n- Documentation: \u003Cstatus>\n- Recommendation: \u003CREQUEST CHANGES | COMMENT>\n\nView full review: \u003CPR_URL>\n```\n\n## Error Handling\n\n- analyze fails → continue; omit Change Analysis; note in rationale\n- bug-finder fails → omit Code Review section; recommend manual review\n- a QR pass fails → omit that section; continue\n- both analyze and bug-finder fail → do not post incomplete review\n- Step 1.4 capture fails → stop; no pass can run without the diff\n- GitHub rejects the review (422) → the formatter re-posts suggested changes as\n  prose, then without inline comments at all; nothing to do by hand\n- post fails → dry-run + save JSON under `$OUTPUT_DIR`\n\n## Notes\n\n- Entry point for comprehensive reviews\n- Model-diverse 2-pass bug-finder (opus+sonnet) + risk-gated QR skills (`domain-architecture`, `data-contracts`, `ops-reliability`, `change-evolution`) + security-scan + docs-drift\n- Each pass owns its anti-pattern slice at `skills\u002F\u003Cpass>\u002Freferences\u002Fanti-patterns.md`, so it can address no other\n- Clean Code and category 4 design-quality findings are **blockers regardless of module reach**; blast radius sets severity only. Each names its resolving refactoring\n- A finding whose fix is mechanical and confined to the lines it flags posts as a committable GitHub suggestion, not a prose remedy in the body\n- Test execution\u002Fcoverage left to CI\n- Never auto-approves\u002Fmerges\n- Cost: higher when QR passes gate on; still prefer gated runs over always-on four extras\n",{"name":5,"description":7,"allowed-tools":24,"disable-model-invocation":20},"Bash Read Write Skill Task Agent","main","a3f19bcc313571bff79dca391a83f9c4d38bb335","review\u002Fskills\u002Freview",0,"https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum","https:\u002F\u002Fgithub.com\u002Fozzycodes2","Software Engineer | Engineering Manager | AI whisperer | ☕Enjoyer","2026-11-14 04:50:11",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ozzycodes2\u002Fclaudellum --skill review",{"tool":39,"command":40},"bunx","bunx skills add ozzycodes2\u002Fclaudellum --skill review",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ozzycodes2\u002Fclaudellum --skill review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Freview\u002Fskills\u002Freview\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fanti-patterns.md","REFERENCE","参考文档",1331,"https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Freview\u002Fskills\u002Freview\u002Freferences\u002Fanti-patterns.md",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7ASQB3CTKMKDNAXD9DCF1YC","writing-design-docs","Use when the user wants to write a problem-statement design doc, says \"let's plan a feature properly\" \u002F \"write a design doc\" \u002F \"I'm thinking about how to do X\" for a non-trivial X, or before committing to a non-obvious technical direction","https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Ftechnical-writing\u002Fskills\u002Fwriting-design-docs\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7ASQ6JD4QRV5ZKK2QME401Y","write-doc","Use when the user asks to write or draft a README, ADR, runbook, tutorial, how-to, explanation, or reference doc, or a caller passes \"type ADR\" or \"type README\". Picks the type, fills a template, adds diagrams. RFCs and design docs belong to writing-design-docs.","https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Ftechnical-writing\u002Fskills\u002Fwrite-doc\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7ASQ1VWNVP1RE7M5D4G2QMG","review-doc","Use when the user asks to review, critique, score, grade, or \"how good is this doc\" for a Markdown doc or pasted text. Read-only. Scores it on the 20 Practical Prose dimensions and emits a findings table. Does not edit; fix-doc applies the findings next.","https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Ftechnical-writing\u002Fskills\u002Freview-doc\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7ASPWST208JZNR7HF7J6KMV","fix-doc","Use when the user asks to fix, edit for prose quality, polish, tighten, humanize, or de-slop a Markdown doc or pasted text, or says \"make this read less AI\". Applies review-doc findings, generates flagged diagrams, lists substantive issues for the author, then runs the AI-tell pass last. Modifies the target.","https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Ftechnical-writing\u002Fskills\u002Ffix-doc\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7ASPS6Y9ZGK9KCDHNPDR75A","create-slides","Use when the user asks for a slide deck, presentation, talk, or slides from a document, report, PR, notes, or topic. Builds one self-contained Machinify-branded HTML deck in a minimalist style, with headline-plus-visual slides, speaker notes, and every diagram drawn by architecture-design:create-diagram.","https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Ftechnical-writing\u002Fskills\u002Fcreate-slides\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7ASPAKFY045KHR92Y4QFTWV","start-session","Open a Claude Code working session in a fresh, isolated git worktree, so the user can start a task with a single \u002Fstart-session \u003Cname>. Use at the START of a session when the user says \"start session\", \"start a worktree\", \"spin up a worktree for ABC-123\", \"begin work on \u003Cticket>\", or passes a name\u002Fticket to work under. Creates and ENTERS a worktree via the EnterWorktree tool (never `git worktree add`) under .claude\u002Fworktrees\u002F, named exactly after the argument, on a local branch `worktree-\u003Cargument>`. Reports what the worktree inherited (`.worktreeinclude` copies, symlinked node_modules) and whether its `.env` still points at the main checkout's stack. If the argument is a JIRA key (e.g. ABC-123, PROJ-1505), also loads that story with the Atlassian CLI (`acli`) when available and summarizes the implementation ask. Also renames the session to the argument (the same effect as `\u002Frename \u003CNAME>`) so it's easy to find in `\u002Fresume`. Then stops and waits — it sets up the workspace and context, it does not implement.","https:\u002F\u002Fgithub.com\u002Fozzycodes2\u002Fclaudellum\u002Fblob\u002Fmain\u002Fsession-mgmt\u002Fskills\u002Fstart-session\u002FSKILL.md",[],[]]