[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6WZJ86WK7N6M4DD1FC6HH41":3,"skill-same:01M6WZJ86WK7N6M4DD1FC6HH41":69},{"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":23,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6WZJ86WK7N6M4DD1FC6HH41","review",null,"Run a principle-based code review on the current branch. Use when the user asks for a review, or at mandatory review checkpoints (after planning, after implementation before PR).","microsoft\u002Fverona","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6WZHTA01TB3YK5SZM938MTG",3742,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",[5,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"code review","pr","run","code","planning","branch","user","use","implementation","base","checkpoints","at","for","when","2026-11-10 10:12:30",false,"---\nname: review\ndescription: Run a principle-based code review on the current branch. Use when the user asks for a review, or at mandatory review checkpoints (after planning, after implementation before PR).\nargument-hint: [base-branch]\n---\n\n# Principle Review\n\nYou are a fresh-context code reviewer for the Verona compiler (verona-bc).\nYour job is to deliver a two-part review: general correctness + principle-by-principle evaluation.\n\n## Setup\n\n1. Read `~\u002F.claude\u002FCLAUDE.md` for global principles and workflow rules.\n2. Read `CLAUDE.md` (project root) for Verona-specific conventions.\n3. Read all documentation in `vc\u002Fdocs\u002F` that is relevant to the changed files.\n\n## Identify changes\n\nDetermine the base branch. If `$ARGUMENTS` provides one, use it. Otherwise default to `main`.\n\n```bash\ngit diff --name-only $(git merge-base HEAD $0) HEAD\n```\n\nRead **every changed file in full** (not just the diff). Also read supporting files needed for verification — if a changed file calls a function, read the function's definition.\n\n## Build and test\n\n```bash\ncd build && ninja install 2>&1 | tail -20\n```\n\n```bash\ncd build && ctest --output-on-failure -j$(nproc) 2>&1 | tail -40\n```\n\nIf the build fails or tests fail, report those as findings.\n\n## Part 1: General Correctness Review\n\nCheck for:\n- Logic errors, off-by-one, null\u002Fempty checks\n- Resource leaks, use-after-move\n- Missing error handling\n- Dead code or unreachable paths\n- Incomplete implementations (TODOs, stubs)\n- Test coverage gaps — are new code paths tested?\n- Documentation accuracy — do comments match the code?\n\n## Part 2: Principle-by-Principle Review\n\nGo through each principle from `~\u002F.claude\u002FCLAUDE.md` systematically. For each one that is relevant to the changes, state:\n- The principle name\n- Whether the code complies or violates\n- If violated: the specific file, line, and what needs to change\n\n### Key principles to check (non-exhaustive):\n\n**C++ Style:**\n- C++20 features used appropriately\n- `snake_case` functions\u002Fvariables, `PascalCase` types\u002Ftokens\n- Allman braces\n- No `goto`\n- `#pragma once`, correct include ordering\n\n**Trieste Patterns:**\n- Named WF accessors (`n \u002F ChildToken`) over positional indexing\n- `clone()` shared nodes before multi-insertion\n- `Node n = Token` for construction (not `auto n = Token`)\n- Error nodes via `err()` helper\n- WF declarations match actual output\n\n**Architecture:**\n- Small composable passes (not monolithic)\n- Layered dependencies respected\n\n**Testing & Robustness:**\n- Liberal use of `assert()`\n- Test conventions: self-contained, no `use \"_builtin\"`, bitmask exit codes\n- Golden file format: `exit_code.txt` has no trailing newline\n\n**Verona Style:**\n- No explicit type annotations when inference suffices\n- `(obj.field)(args)` for apply on field access\n- `Type(args)` constructor sugar\n\n## Factual Accuracy Requirement\n\nVerify every factual claim by reading the actual code. Do NOT summarize from memory or inference. If you're unsure about something, read the file again.\n\n## Deliverable\n\nReport findings as a numbered list. For each finding:\n1. Severity: **must-fix**, **should-fix**, or **nit**\n2. File and line reference\n3. What's wrong and what the fix should be\n4. Which principle applies (for Part 2 findings)\n\nIf no issues are found, state \"Clean review — no findings.\"\n","# Principle Review\n\nYou are a fresh-context code reviewer for the Verona compiler (verona-bc).\nYour job is to deliver a two-part review: general correctness + principle-by-principle evaluation.\n\n## Setup\n\n1. Read `~\u002F.claude\u002FCLAUDE.md` for global principles and workflow rules.\n2. Read `CLAUDE.md` (project root) for Verona-specific conventions.\n3. Read all documentation in `vc\u002Fdocs\u002F` that is relevant to the changed files.\n\n## Identify changes\n\nDetermine the base branch. If `$ARGUMENTS` provides one, use it. Otherwise default to `main`.\n\n```bash\ngit diff --name-only $(git merge-base HEAD $0) HEAD\n```\n\nRead **every changed file in full** (not just the diff). Also read supporting files needed for verification — if a changed file calls a function, read the function's definition.\n\n## Build and test\n\n```bash\ncd build && ninja install 2>&1 | tail -20\n```\n\n```bash\ncd build && ctest --output-on-failure -j$(nproc) 2>&1 | tail -40\n```\n\nIf the build fails or tests fail, report those as findings.\n\n## Part 1: General Correctness Review\n\nCheck for:\n- Logic errors, off-by-one, null\u002Fempty checks\n- Resource leaks, use-after-move\n- Missing error handling\n- Dead code or unreachable paths\n- Incomplete implementations (TODOs, stubs)\n- Test coverage gaps — are new code paths tested?\n- Documentation accuracy — do comments match the code?\n\n## Part 2: Principle-by-Principle Review\n\nGo through each principle from `~\u002F.claude\u002FCLAUDE.md` systematically. For each one that is relevant to the changes, state:\n- The principle name\n- Whether the code complies or violates\n- If violated: the specific file, line, and what needs to change\n\n### Key principles to check (non-exhaustive):\n\n**C++ Style:**\n- C++20 features used appropriately\n- `snake_case` functions\u002Fvariables, `PascalCase` types\u002Ftokens\n- Allman braces\n- No `goto`\n- `#pragma once`, correct include ordering\n\n**Trieste Patterns:**\n- Named WF accessors (`n \u002F ChildToken`) over positional indexing\n- `clone()` shared nodes before multi-insertion\n- `Node n = Token` for construction (not `auto n = Token`)\n- Error nodes via `err()` helper\n- WF declarations match actual output\n\n**Architecture:**\n- Small composable passes (not monolithic)\n- Layered dependencies respected\n\n**Testing & Robustness:**\n- Liberal use of `assert()`\n- Test conventions: self-contained, no `use \"_builtin\"`, bitmask exit codes\n- Golden file format: `exit_code.txt` has no trailing newline\n\n**Verona Style:**\n- No explicit type annotations when inference suffices\n- `(obj.field)(args)` for apply on field access\n- `Type(args)` constructor sugar\n\n## Factual Accuracy Requirement\n\nVerify every factual claim by reading the actual code. Do NOT summarize from memory or inference. If you're unsure about something, read the file again.\n\n## Deliverable\n\nReport findings as a numbered list. For each finding:\n1. Severity: **must-fix**, **should-fix**, or **nit**\n2. File and line reference\n3. What's wrong and what the fix should be\n4. Which principle applies (for Part 2 findings)\n\nIf no issues are found, state \"Clean review — no findings.\"\n",{"name":5,"description":7,"argument-hint":43},[44],"base-branch","main","e9256534317bd40707e7e78ba022b8bcd0eb6577",".agents\u002Fskills\u002Freview",173,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona","https:\u002F\u002Fmicrosoft.github.io\u002Fverona\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-13 21:03:28",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add microsoft\u002Fverona --skill review",{"tool":61,"command":62},"bunx","bunx skills add microsoft\u002Fverona --skill review",{"tool":64,"command":65},"pnpm","pnpm dlx skills add microsoft\u002Fverona --skill review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",true,[],[70,93,111,127,143,164],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":38},"01M6WZM7JFY7GMHE7YTCC4K0ZS","verona-type-inference","Verona compiler type inference model — bidirectional refinement, per-function inference, lambda\u002Fcontext propagation, algebraic and structural typing, generics, and debugging. Use when changing or debugging `vc\u002Fpasses\u002Finfer.cc` or investigating type inference failures.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fverona-type-inference\u002FSKILL.md",[],[77,78,79,80,37,81,82,83,84,85,86,87,31,88,89,90,91,92],"verona type inference","type","inference","cc","vc","refinement","typing","infer","false","propagation","structural","context","model","lambda","compiler","debugging",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"01M6WZM48VF2FFX61WFYTD5XVJ","verona-conventions","Verona compiler coding conventions, C++ style, trieste patterns, and project structure. Applies when writing or reviewing Verona compiler code.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fverona-conventions\u002FSKILL.md",[],[100,101,102,85,103,104,105,106,107,91,27,108,109,37,110],"verona conventions","conventions","writing","project","c++","structure","patterns","coding","project structure","style","coding conventions",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":38},"01M6WZM0Z3CTQG1ZRV9V2DZX9W","verona-coding","Patterns, pitfalls, and idioms for writing Verona source code (.v files). Use when writing library code, _builtin types, or user programs.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fverona-coding\u002FSKILL.md",[],[118,107,37,119,120,36,121,122,106,123,124,125,31,30,126,27,102],"verona coding","source code","source","pitfalls","types","builtin","files","idioms","library",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":38},"01M6WZKWW9ZCQ1EXZYR4GZ00YF","vbci-memory","Verona interpreter (vbci) memory management model — regions, reference counting, write barriers, dragging, cowns, and finalization. Use when working on or debugging vbci runtime memory management code.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvbci-memory\u002FSKILL.md",[],[134,135,136,37,137,138,139,140,31,141,142,89,27,92],"vbci memory","memory","runtime","counting","interpreter","memory management","reference","management","write",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M6WZKP04VZBWRZ2449FBRDNY","testsuite","Verona compiler test suite infrastructure — running tests, updating golden files, verifying pass completeness, checking error codes. Use when debugging test failures, regenerating golden files, or understanding the test framework.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftestsuite\u002FSKILL.md",[],[145,31,37,150,151,152,153,154,155,156,124,157,158,91,159,160,92,161,162,163],"error codes","suite","codes","error","golden","completeness","tests","test suite","running","running tests","framework","infrastructure","test framework","test",{"skillNo":165,"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":166,"categories":167,"keywords":169,"publishedAt":38},"01M6WZKGQY812K6W0R89Y7HD9T","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fverona\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview\u002FSKILL.md",[168],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[5,28,29,24,25,26,27,37,36,35,30,31,34,32,33]]