[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71SSV08Z60BQ6Z96M4DYQGV":3,"skill-same:01M71SSV08Z60BQ6Z96M4DYQGV":75},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M71SSV08Z60BQ6Z96M4DYQGV","review-contract",null,"The canonical review findings contract — JSON schema, severity enum, mechanical severity→event mapping, confidence ≥0.8 rule","HigorAlves\u002Forc","HigorAlves","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11262976?v=4","01M71S79EZEMHZ8PQSV0XQJHYY","Higor Alves","01M71S79FKKTCHCN1EDR8DSTWQ",7,"MIT","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Freview-contract\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"review contract","contract","review","structured","rule","json","enum","use","schema","event","severity","posting","json schema","mapping","canonical","reviewer","when","new","mechanical","review findings","2026-11-10 13:02:02",false,"---\nname: review-contract\ndescription: The canonical review findings contract — JSON schema, severity enum, mechanical severity→event mapping, confidence ≥0.8 rule\nwhen_to_use: Use when producing, merging, or posting structured review findings, or when building a new reviewer agent.\n---\n\n# Review contract\n\nOne schema, one severity vocabulary, one event rule — defined here and only\nhere. Reviewer agents preload this skill; the posting layer (`orc:inline-review`)\nand any new reviewer agent reference it instead of restating it.\n\n## Finding schema\n\nReviewer agents return **strict JSON only** (no surrounding markdown, no prose\npreamble):\n\n```json\n{\n  \"summary\": \"≤ 2 sentences, ~40 words: one clause on what the PR does + finding counts by severity. Informational only — does NOT decide the event.\",\n  \"findings\": [\n    {\n      \"path\": \"src\u002Fauth.ts\",\n      \"line\": 42,\n      \"start_line\": null,\n      \"side\": \"RIGHT\",\n      \"severity\": \"bug\",\n      \"title\": \"Null deref when token absent\",\n      \"body\": \"When `req.headers.authorization` is missing, `parseToken()` returns null and the next line dereferences `.userId` unconditionally — 500 to client, no log. Guard with an early return.\",\n      \"suggestion_code\": \"const token = parseToken(req);\\nif (!token) return res.status(401).end();\",\n      \"confidence\": 0.92\n    }\n  ]\n}\n```\n\nZero findings: `{\"summary\": \"No actionable issues found. …\", \"findings\": []}` —\nthe posting layer computes APPROVE from the empty list.\n\n### Field semantics\n\n- **Required per finding:** `path`, `line`, `severity`, `title`, `body`, `confidence`.\n- **Optional:** `start_line` (multi-line spans: `start_line: 45, line: 47`; else `null`), `suggestion_code` (see gate below; else `null`).\n- **`path`** — repo-relative POSIX path. NOT a URL, NOT `a\u002F`- or `b\u002F`-prefixed. In workspace mode, still repo-relative; the orchestrator prefixes `[repo:\u003Cname>]`.\n- **`line`** — line number in the **NEW** file (post-change), computed from the diff hunk header `@@ -OLD,N +NEW,N @@` plus offset within the hunk. NOT the hunk offset.\n- **`side`** — always `\"RIGHT\"` (the new\u002Fchanged code).\n- **`title`** — ≤ 80 chars, one line.\n- **`body`** — `orc:caveman-review` tone: terse, actionable, signal-only.\n- **`confidence`** — 0–1. **Drop the finding entirely if \u003C 0.8.** A noisy review burns the author's time; false positives erode trust faster than misses.\n\n### `suggestion_code` gate\n\nSet only when ALL hold; otherwise `null` and describe in `body`:\n\n1. **Length** — ≤ 6 lines. Longer \"fixes\" are refactors disguised as fixes.\n2. **Completeness** — committing it FULLY resolves the issue.\n3. **Mental compile** — syntactically valid, references only symbols visible at that line, no imports the author must add separately.\n\n## Severity enum → event mapping (the iron rule)\n\n`severity` ∈ `\"bug\" | \"security\" | \"api-surface\" | \"test\" | \"nit\" | \"suggestion\" | \"question\"`.\n\nAgents do NOT decide the review event. The posting layer computes it\nmechanically from the **set** of severities; the agent's `summary` narrative is\nignored for the verdict:\n\n| Severity | Meaning | Effect |\n|----------|---------|--------|\n| `bug` | Real correctness problem landing on this PR | **Forces REQUEST_CHANGES** (one is enough) |\n| `security` | Auth bypass, injection, secret leak, unsafe deserialization, SSRF, … | **Forces REQUEST_CHANGES** |\n| `api-surface` | Wrongly exposed endpoint, breaking API change, dead public path | **Forces REQUEST_CHANGES** |\n| `test` | Real test gap on the changed surface | **Forces REQUEST_CHANGES**; `--soft-tests` relaxes to COMMENT |\n| `nit` | Style\u002Fnaming the linter doesn't catch | COMMENT only |\n| `suggestion` | Improvement opportunity, no correctness concern | COMMENT only |\n| `question` | Not sure it's a bug — asking the author | COMMENT only |\n\n```\ndef compute_event(findings, soft_tests=False):\n    severities = {f.severity for f in findings}\n    blocking = {\"bug\", \"security\", \"api-surface\"}\n    if not findings:\n        return \"APPROVE\"\n    if severities & blocking:\n        return \"REQUEST_CHANGES\"\n    if \"test\" in severities and not soft_tests:\n        return \"REQUEST_CHANGES\"\n    return \"COMMENT\"\n```\n\n### Self-contradiction detection (mandatory at the posting layer)\n\nIf the `summary` contains any of `[\"approve\", \"lgtm\", \"looks good\", \"no concerns\", \"non-blocking\"]`\nAND any finding has a blocking severity, warn the user\n(`> **⚠️ Caution**` callout), then post the **computed** event anyway. The\ncontradiction never ships.\n\n## Standards axis and the smell baseline\n\nDocumented standards (`CODING_STANDARDS.md`, `CONTRIBUTING.md`, `CLAUDE.md`) are reviewed as severity `suggestion` with the rule cited. Beneath them sits a fixed Fowler smell baseline — [references\u002FSMELLS.md](references\u002FSMELLS.md) — that applies even when a repo documents nothing: always a judgement call, always `suggestion`, always overridden by a documented repo standard. Standards findings and spec-conformance findings are two axes: count them separately in `summary`, never rerank one against the other.\n\n## Universal reviewer rules\n\n- **Only the diff.** Never flag pre-existing issues the change didn't touch or surface.\n- **Confidence ≥ 0.8 or drop.** Applies to every finding, every reviewer.\n- **JSON-only output** from agents; the orchestrator parses it directly.\n- **Severity is by impact, not ease of fix.** A one-line-fix auth bypass is still `security`.\n\n## Consumers\n\n- `orc-pr-reviewer` \u002F `orc-security-reviewer` — preload this skill (`skills:` frontmatter) and emit the schema above.\n- `orc:inline-review` — converts findings to a posted GitHub review; owns the posting mechanics (backends, preview gate, ≤15-comment cap) and defers to this contract for schema + event rule.\n- New reviewer agents (e.g. CI or docs lenses) — preload this skill; add only their lens-specific taxonomy.\n","# Review contract\n\nOne schema, one severity vocabulary, one event rule — defined here and only\nhere. Reviewer agents preload this skill; the posting layer (`orc:inline-review`)\nand any new reviewer agent reference it instead of restating it.\n\n## Finding schema\n\nReviewer agents return **strict JSON only** (no surrounding markdown, no prose\npreamble):\n\n```json\n{\n  \"summary\": \"≤ 2 sentences, ~40 words: one clause on what the PR does + finding counts by severity. Informational only — does NOT decide the event.\",\n  \"findings\": [\n    {\n      \"path\": \"src\u002Fauth.ts\",\n      \"line\": 42,\n      \"start_line\": null,\n      \"side\": \"RIGHT\",\n      \"severity\": \"bug\",\n      \"title\": \"Null deref when token absent\",\n      \"body\": \"When `req.headers.authorization` is missing, `parseToken()` returns null and the next line dereferences `.userId` unconditionally — 500 to client, no log. Guard with an early return.\",\n      \"suggestion_code\": \"const token = parseToken(req);\\nif (!token) return res.status(401).end();\",\n      \"confidence\": 0.92\n    }\n  ]\n}\n```\n\nZero findings: `{\"summary\": \"No actionable issues found. …\", \"findings\": []}` —\nthe posting layer computes APPROVE from the empty list.\n\n### Field semantics\n\n- **Required per finding:** `path`, `line`, `severity`, `title`, `body`, `confidence`.\n- **Optional:** `start_line` (multi-line spans: `start_line: 45, line: 47`; else `null`), `suggestion_code` (see gate below; else `null`).\n- **`path`** — repo-relative POSIX path. NOT a URL, NOT `a\u002F`- or `b\u002F`-prefixed. In workspace mode, still repo-relative; the orchestrator prefixes `[repo:\u003Cname>]`.\n- **`line`** — line number in the **NEW** file (post-change), computed from the diff hunk header `@@ -OLD,N +NEW,N @@` plus offset within the hunk. NOT the hunk offset.\n- **`side`** — always `\"RIGHT\"` (the new\u002Fchanged code).\n- **`title`** — ≤ 80 chars, one line.\n- **`body`** — `orc:caveman-review` tone: terse, actionable, signal-only.\n- **`confidence`** — 0–1. **Drop the finding entirely if \u003C 0.8.** A noisy review burns the author's time; false positives erode trust faster than misses.\n\n### `suggestion_code` gate\n\nSet only when ALL hold; otherwise `null` and describe in `body`:\n\n1. **Length** — ≤ 6 lines. Longer \"fixes\" are refactors disguised as fixes.\n2. **Completeness** — committing it FULLY resolves the issue.\n3. **Mental compile** — syntactically valid, references only symbols visible at that line, no imports the author must add separately.\n\n## Severity enum → event mapping (the iron rule)\n\n`severity` ∈ `\"bug\" | \"security\" | \"api-surface\" | \"test\" | \"nit\" | \"suggestion\" | \"question\"`.\n\nAgents do NOT decide the review event. The posting layer computes it\nmechanically from the **set** of severities; the agent's `summary` narrative is\nignored for the verdict:\n\n| Severity | Meaning | Effect |\n|----------|---------|--------|\n| `bug` | Real correctness problem landing on this PR | **Forces REQUEST_CHANGES** (one is enough) |\n| `security` | Auth bypass, injection, secret leak, unsafe deserialization, SSRF, … | **Forces REQUEST_CHANGES** |\n| `api-surface` | Wrongly exposed endpoint, breaking API change, dead public path | **Forces REQUEST_CHANGES** |\n| `test` | Real test gap on the changed surface | **Forces REQUEST_CHANGES**; `--soft-tests` relaxes to COMMENT |\n| `nit` | Style\u002Fnaming the linter doesn't catch | COMMENT only |\n| `suggestion` | Improvement opportunity, no correctness concern | COMMENT only |\n| `question` | Not sure it's a bug — asking the author | COMMENT only |\n\n```\ndef compute_event(findings, soft_tests=False):\n    severities = {f.severity for f in findings}\n    blocking = {\"bug\", \"security\", \"api-surface\"}\n    if not findings:\n        return \"APPROVE\"\n    if severities & blocking:\n        return \"REQUEST_CHANGES\"\n    if \"test\" in severities and not soft_tests:\n        return \"REQUEST_CHANGES\"\n    return \"COMMENT\"\n```\n\n### Self-contradiction detection (mandatory at the posting layer)\n\nIf the `summary` contains any of `[\"approve\", \"lgtm\", \"looks good\", \"no concerns\", \"non-blocking\"]`\nAND any finding has a blocking severity, warn the user\n(`> **⚠️ Caution**` callout), then post the **computed** event anyway. The\ncontradiction never ships.\n\n## Standards axis and the smell baseline\n\nDocumented standards (`CODING_STANDARDS.md`, `CONTRIBUTING.md`, `CLAUDE.md`) are reviewed as severity `suggestion` with the rule cited. Beneath them sits a fixed Fowler smell baseline — [references\u002FSMELLS.md](references\u002FSMELLS.md) — that applies even when a repo documents nothing: always a judgement call, always `suggestion`, always overridden by a documented repo standard. Standards findings and spec-conformance findings are two axes: count them separately in `summary`, never rerank one against the other.\n\n## Universal reviewer rules\n\n- **Only the diff.** Never flag pre-existing issues the change didn't touch or surface.\n- **Confidence ≥ 0.8 or drop.** Applies to every finding, every reviewer.\n- **JSON-only output** from agents; the orchestrator parses it directly.\n- **Severity is by impact, not ease of fix.** A one-line-fix auth bypass is still `security`.\n\n## Consumers\n\n- `orc-pr-reviewer` \u002F `orc-security-reviewer` — preload this skill (`skills:` frontmatter) and emit the schema above.\n- `orc:inline-review` — converts findings to a posted GitHub review; owns the posting mechanics (backends, preview gate, ≤15-comment cap) and defers to this contract for schema + event rule.\n- New reviewer agents (e.g. CI or docs lenses) — preload this skill; add only their lens-specific taxonomy.\n",{"name":5,"description":7,"when_to_use":44},"Use when producing, merging, or posting structured review findings, or when building a new reviewer agent.","main","7522fd7266944e30052204c2f6df287d8b5516be","orc\u002Fskills\u002Freview-contract",0,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc","https:\u002F\u002Forc.novacstack.com\u002F","https:\u002F\u002Fgithub.com\u002FHigorAlves","higoralves.dev","Software Engineering","2026-11-14 07:24:14",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add HigorAlves\u002Forc --skill review-contract",{"tool":61,"command":62},"bunx","bunx skills add HigorAlves\u002Forc --skill review-contract",{"tool":64,"command":65},"pnpm","pnpm dlx skills add HigorAlves\u002Forc --skill review-contract","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Freview-contract\u002FSKILL.md",true,[69],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002FSMELLS.md","REFERENCE","参考文档",3081,"https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Freview-contract\u002Freferences\u002FSMELLS.md",[76,84,109,130,150,171],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":83},"01M73VYZ3XY4HAVS3WS73CW9J7","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Fcodex\u002Forc\u002Fcontent\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":39},"01M71SW40F9TAAEDKBYYBCM814","writing-plans","Write a comprehensive implementation plan of bite-sized TDD tasks that an engineer with zero codebase context could execute — exact files, code, tests, and verification steps","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[91,92,93,26,94,95,96,97,98,99,100,101,102,103,104,35,105,106,107,108],"writing","writing plans","plans","code","tests","for","ZeRO","context","steps","write","plan","verification","tasks","you","files","implementation plan","superpowers","engineer",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":39},"01M71SW15KHE4MHJW9NEXV65X2","writing-for-agents","orc's doctrine layer for writing any document an agent consumes — skills, AGENTS.md\u002FCLAUDE.md, reference docs","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[91,116,96,117,118,26,119,120,121,122,123,124,35,125,126,127,128,129],"writing for agents","a skill","document","editing","push","doctrine","layer","tuning","inline","matt pocock","github","docs","reference","https",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M71SVYQKXT743HHHWGHT3G13","workspace-mode","Use when cwd is a parent dir holding multiple sibling git repos — defines repo auto-detection, --repos\u002F--repo\u002F--all-repos\u002F--this-repo precedence, per-repo dispatch, and linked-PR mechanics.","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fworkspace-mode\u002FSKILL.md",[],[137,138,139,140,141,142,26,143,144,145,146,35,147,148,149],"workspace mode","mode","workspace","auto-detection","detection","parent","repo","pr","git","repos","auto","mechanics","dispatch",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":39},"01M71SVVP3BXS06G9395P2K0RH","wizard","Generate an interactive bash wizard walking a human through work only they can perform — credentials, secrets, one-off migrations","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwizard\u002FSKILL.md",[],[152,35,125,157,158,159,160,161,26,162,163,96,164,165,99,166,167,168,169,170],"only","provisioning infrastructure","never","condition","Bash","interactive","one","do","infrastructure","secrets","human","generate","credentials","work",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":39},"01M71SVT4AR6NKAM5B077E7QSJ","wait-what","Stop and re-pitch — the last message did not land; say it again simply, in the project's own vocabulary.","https:\u002F\u002Fgithub.com\u002FHigorAlves\u002Forc\u002Fblob\u002Fmain\u002Forc\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[178,179,129,180,181,182,183,126,184,185,186,187,125,188,189,190],"wait","wait what","vocabulary","stop","it","land","message","say","last","pitch","true","re","project"]