[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C69GPWMT1EP1BJV740PBMR":3,"skill-same:01M6C69GPWMT1EP1BJV740PBMR":94},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":74},"01M6C69GPWMT1EP1BJV740PBMR","code-review-and-quality",null,"Conducts multi-axis code review and runs the disciplined post-green refactor pass. Use before merging any change, when reviewing code written by yourself, another agent, or a human, or when the opt-in `delivery.refactorStage` checkpoint asks for a behaviour-preserving CRAP\u002Fduplication pass after the suite is green.","dsj1984\u002Fmandrel","dsj1984","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20933070?v=4","01M6C69AY3555XWE3QAXETZH6W","01M6C69B26E25DHM9NTPQ7TZQ9",7,"MIT","https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcore\u002Fcode-review-and-quality\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"review","code review","code","quality","code review and quality","opt","when","suite","for","reviewing code","multi","post","human","green","delivery","duplication","use","checkpoint","refactor pass","refactor","change","2026-11-10 10:12:30",false,"---\nname: code-review-and-quality\ndescription:\n  Conducts multi-axis code review and runs the disciplined post-green refactor\n  pass. Use before merging any change, when reviewing code written by yourself,\n  another agent, or a human, or when the opt-in `delivery.refactorStage`\n  checkpoint asks for a behaviour-preserving CRAP\u002Fduplication pass after the\n  suite is green.\n---\n\n# Code Review and Quality\n\n## Policy Capsule\n\n- Every change gets reviewed before merge — no exceptions, including agent-authored code.\n- Apply the **five-axis review** to every change: **Correctness, Readability & Simplicity, Architecture, Security, Performance**.\n- Flag dead code artifacts (`_unused` vars, backwards-compat shims, `\u002F\u002F removed` comments) and require their removal before merge.\n- Defer to `.agents\u002Frules\u002Fsecurity-baseline.md` and the `security-and-hardening` skill for security review; explicit checks include input validation, no hardcoded secrets, parameterized queries, encoded output, authn+authz, and treating external data as untrusted.\n- Bug-fix reviews cover **both** the fix and the regression test; a fix without a failing-then-passing test is not approvable, and neither is one whose commit body states no `Behaviour delta:` or whose diff changes behaviour outside it (`rules\u002Ftesting-standards.md` § Applying the Standards).\n- **Refactoring is post-green and behaviour-preserving.** Run the refactor pass only when the suite is already green and gates pass; inputs, outputs, side effects, error semantics, and ordering MUST be identical before and after, and existing tests MUST keep passing **without modification** (if a test had to change, behaviour changed — revert).\n- **Lower CRAP by lowering complexity, and remove duplication at the root.** Target the highest-CRAP well-covered functions and the largest verbatim duplications by measurement (`check-baselines.js`), not by smell; extract one well-named helper rather than leaving near-copies. CRAP must not rise and maintainability must not fall on any touched file, and no gate, floor, or threshold may be retuned to make the pass \"succeed\".\n\n## Long-form reference — read on demand\n\nThe capsule above is the contract and the whole always-read surface of this\nskill. The project-specific material behind it — the finding-severity table and\nthe post-green refactor pass — lives in the on-demand sibling\n[`reference.md`](reference.md), matching the split the always-on rules already\nuse ([`rules\u002Fgit-conventions.md`](..\u002F..\u002F..\u002Frules\u002Fgit-conventions.md) ⇄\n[`git-conventions-reference.md`](..\u002F..\u002F..\u002Frules\u002Fgit-conventions-reference.md)).\nActivating this skill costs the capsule; open a section below only when the\ntask actually engages it.\n\n- [Finding-Severity Table](reference.md#finding-severity-table)\n- [Post-Green Refactor Pass](reference.md#post-green-refactor-pass)\n","# Code Review and Quality\n\n## Policy Capsule\n\n- Every change gets reviewed before merge — no exceptions, including agent-authored code.\n- Apply the **five-axis review** to every change: **Correctness, Readability & Simplicity, Architecture, Security, Performance**.\n- Flag dead code artifacts (`_unused` vars, backwards-compat shims, `\u002F\u002F removed` comments) and require their removal before merge.\n- Defer to `.agents\u002Frules\u002Fsecurity-baseline.md` and the `security-and-hardening` skill for security review; explicit checks include input validation, no hardcoded secrets, parameterized queries, encoded output, authn+authz, and treating external data as untrusted.\n- Bug-fix reviews cover **both** the fix and the regression test; a fix without a failing-then-passing test is not approvable, and neither is one whose commit body states no `Behaviour delta:` or whose diff changes behaviour outside it (`rules\u002Ftesting-standards.md` § Applying the Standards).\n- **Refactoring is post-green and behaviour-preserving.** Run the refactor pass only when the suite is already green and gates pass; inputs, outputs, side effects, error semantics, and ordering MUST be identical before and after, and existing tests MUST keep passing **without modification** (if a test had to change, behaviour changed — revert).\n- **Lower CRAP by lowering complexity, and remove duplication at the root.** Target the highest-CRAP well-covered functions and the largest verbatim duplications by measurement (`check-baselines.js`), not by smell; extract one well-named helper rather than leaving near-copies. CRAP must not rise and maintainability must not fall on any touched file, and no gate, floor, or threshold may be retuned to make the pass \"succeed\".\n\n## Long-form reference — read on demand\n\nThe capsule above is the contract and the whole always-read surface of this\nskill. The project-specific material behind it — the finding-severity table and\nthe post-green refactor pass — lives in the on-demand sibling\n[`reference.md`](reference.md), matching the split the always-on rules already\nuse ([`rules\u002Fgit-conventions.md`](..\u002F..\u002F..\u002Frules\u002Fgit-conventions.md) ⇄\n[`git-conventions-reference.md`](..\u002F..\u002F..\u002Frules\u002Fgit-conventions-reference.md)).\nActivating this skill costs the capsule; open a section below only when the\ntask actually engages it.\n\n- [Finding-Severity Table](reference.md#finding-severity-table)\n- [Post-Green Refactor Pass](reference.md#post-green-refactor-pass)\n",{"name":5,"description":7},"main","1ebd42c768218cb54c92d3dfd25b42c9ec41c85c",".agents\u002Fskills\u002Fcore\u002Fcode-review-and-quality",1,"https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel","https:\u002F\u002Fgithub.com\u002Fdsj1984","2026-11-14 06:36:29",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add dsj1984\u002Fmandrel --skill code-review-and-quality",{"tool":67,"command":68},"bunx","bunx skills add dsj1984\u002Fmandrel --skill code-review-and-quality",{"tool":70,"command":71},"pnpm","pnpm dlx skills add dsj1984\u002Fmandrel --skill code-review-and-quality","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcore\u002Fcode-review-and-quality\u002FSKILL.md",true,[75,80,86,90],{"path":76,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"LICENSE","许可证",1068,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fai-crypto\u002Fianalloway-bet-journal\u002FLICENSE",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"reference.md","REFERENCE","参考文档",4526,"https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcore\u002Fcode-review-and-quality\u002Freference.md",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"SOURCE.md",346,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fai-crypto\u002Fianalloway-bet-journal\u002FSOURCE.md",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"TRUST.auto.yaml",2092,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fai-crypto\u002Fianalloway-bet-journal\u002FTRUST.auto.yaml",[95,109,145,178,200,221],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":104,"publishedAt":49},"01M6C6A5QVWE0AEWJYC362G9BY","no-capsule-skill","Fixture without a Policy Capsule section.","https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002Ftests\u002Forchestration\u002Ffixtures\u002Fskill-capsule\u002Fno-capsule-skill\u002FSKILL.md",[101],{"categoryNo":102,"categoryName":103,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[105,106,107,108],"no capsule skill","policy","fixture","section",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":119,"publishedAt":49},"01M6C6A2VK7QVY7H5NC6SG89DT","qa-harness","Conventions for agent-driven QA driving — the one driving-conventions reference behind both `\u002Fqa-run` (the known-scenario sweep through a real browser) and `\u002Fqa-explore` (agent-led exploratory driving). Use when instrumenting a live surface — covers navigation-first execution, per-surface console and network capture, design-token visual checks, the `F#` finding shape, per-environment resolution, and static driving as the documented interim. The run procedures live in `.agents\u002Fworkflows\u002Fqa-run.md` and `.agents\u002Fworkflows\u002Fqa-explore.md`; this skill is the conventions reference they lean on.","https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstack\u002Fqa\u002Fqa-harness\u002FSKILL.md",[115,118],{"categoryNo":116,"categoryName":117,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":102,"categoryName":103,"taxonomyType":20,"taxonomyTypeDesc":21},[120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,44,136,137,138,139,140,141,142,143,36,144,34],"qa","harness","qa harness","design","workflows","run","console","browser","network","execution","first","explore","sweep","capture","environment","lean","shape","reference","navigation","real browser","token","live","scenario","as","static",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":157,"publishedAt":49},"01M6C6A01GDNYJWG3647322JR3","playwright","Robust E2E browser testing with Playwright. Use when writing browser-driven tests — leverage auto-waiting (no `waitForTimeout`), prefer user-visible locators (`getByRole`, `getByText`, `getByLabel`) over CSS\u002FXPath, reuse `storageState` for auth, and enable trace-on-first-retry for CI debugging. Also carries the `data-testid` contract a UI change states in its acceptance criteria.","https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstack\u002Fqa\u002Fplaywright\u002FSKILL.md",[151,154],{"categoryNo":152,"categoryName":153,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":155,"categoryName":156,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000037","律师与法务",[147,158,159,160,48,161,162,163,127,164,165,166,167,168,130,169,170,44,171,172,173,174,175,176,177,36,34],"testing","writing","css","auth","debugging","acceptance","browser testing","ui","ci","data","e2e","trace","user","auto","contract","tests","leverage","reuse","states","retry",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":185,"publishedAt":49},"01M6C69Y3SR8BJ8XRT0E0S6Z4S","playwright-bdd","Wires Gherkin `.feature` files to Playwright via the `playwright-bdd` library. Use when running BDD scenarios on a Playwright runtime — pairs with the `gherkin-authoring` skill (scenario prose) and the `playwright` skill (browser conventions). Drives execution by tag expression with trace-first debugging and Playwright-native sharding.","https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstack\u002Fqa\u002Fplaywright-bdd\u002FSKILL.md",[184],{"categoryNo":152,"categoryName":153,"taxonomyType":20,"taxonomyTypeDesc":21},[147,186,187,162,127,188,129,130,169,44,189,190,191,192,193,194,195,196,197,198,34,199],"bdd","playwright bdd","library","bdd scenarios","files","runtime","feature","authoring","expression","via","native","with","Sharding","running",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":49},"01M6C69VESMZC07ACCXGJ1MQ8W","gherkin-authoring","Authors `.feature` files that stay business-readable, translate cleanly from PRD acceptance criteria, and reuse a shared step-definition library. Use when writing or editing scenarios — the SSOT enforcement rules live in `.agents\u002Frules\u002Fgherkin-standards.md`; this skill shows authors how to apply them.","https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fstack\u002Fqa\u002Fgherkin-authoring\u002FSKILL.md",[],[207,193,159,208,163,188,209,210,211,212,213,44,214,215,190,216,217,192,218,175,219,220,34],"gherkin authoring","translate","prd","how","Rules","editing","business","standards","enforcement","acceptance criteria","shared","how to","definition","apply",{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":225,"categories":226,"keywords":227,"publishedAt":49},"01M6C69RYKQDPM0C1QGJZ8B4ZV","security-and-hardening","Hardens code against vulnerabilities. Use when handling user input, authentication, data storage, or external integrations. The non-negotiable security MUSTs live in `.agents\u002Frules\u002Fsecurity-baseline.md`; this skill shows how to apply them, with the project's surfacing and validation-response process.","https:\u002F\u002Fgithub.com\u002Fdsj1984\u002Fmandrel\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcore\u002Fsecurity-and-hardening\u002FSKILL.md",[],[228,229,230,231,232,30,233,234,167,235,210,236,211,170,237,44,238,239,218,197,220,34],"security","hardening","security and hardening","vulnerabilities","storage","authentication","validation","baseline","integrations","process","project","data storage"]