[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X0DNP9T33847VVXQ73TPVZ":3,"skill-same:01M6X0DNP9T33847VVXQ73TPVZ":87},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6X0DNP9T33847VVXQ73TPVZ","code-review-expert",null,"Expert code review of current git changes with a senior engineer lens. Detects SOLID violations, security risks, and proposes actionable improvements.","microsoft\u002FHuabu","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6X0DDX0PRP3DDSC7SC0HNAS",183,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"code review","review","code","expert","code review expert","solid","security","git","engineer","lens","actionable","with","changes","2026-11-10 10:12:30",false,"---\nname: code-review-expert\ndescription: 'Expert code review of current git changes with a senior engineer lens. Detects SOLID violations, security risks, and proposes actionable improvements.'\n---\n\n# Code Review Expert\n\n## Overview\n\nPerform a structured review of the current git changes with focus on SOLID, architecture, removal candidates, and security risks. Default to review-only output unless the user asks to implement changes.\n\n## Severity Levels\n\n| Level  | Name     | Description                                                      | Action                             |\n| ------ | -------- | ---------------------------------------------------------------- | ---------------------------------- |\n| **P0** | Critical | Security vulnerability, data loss risk, correctness bug          | Must block merge                   |\n| **P1** | High     | Logic error, significant SOLID violation, performance regression | Should fix before merge            |\n| **P2** | Medium   | Code smell, maintainability concern, minor SOLID violation       | Fix in this PR or create follow-up |\n| **P3** | Low      | Style, naming, minor suggestion                                  | Optional improvement               |\n\n## Workflow\n\n### 1) Preflight context\n\n- Use `git status -sb`, `git diff --stat`, and `git diff` to scope changes.\n- If needed, use `rg` or `grep` to find related modules, usages, and contracts.\n- Identify entry points, ownership boundaries, and critical paths (auth, payments, data writes, network).\n\n**Edge cases:**\n\n- **No changes**: If `git diff` is empty, inform user and ask if they want to review staged changes or a specific commit range.\n- **Large diff (>500 lines)**: Summarize by file first, then review in batches by module\u002Ffeature area.\n- **Mixed concerns**: Group findings by logical feature, not just file order.\n\n### 2) SOLID + architecture smells\n\n- Load `references\u002Fsolid-checklist.md` for specific prompts.\n- Look for:\n  - **SRP**: Overloaded modules with unrelated responsibilities.\n  - **OCP**: Frequent edits to add behavior instead of extension points.\n  - **LSP**: Subclasses that break expectations or require type checks.\n  - **ISP**: Wide interfaces with unused methods.\n  - **DIP**: High-level logic tied to low-level implementations.\n- When you propose a refactor, explain _why_ it improves cohesion\u002Fcoupling and outline a minimal, safe split.\n- If refactor is non-trivial, propose an incremental plan instead of a large rewrite.\n\n### 3) Removal candidates + iteration plan\n\n- Load `references\u002Fremoval-plan.md` for template.\n- Identify code that is unused, redundant, or feature-flagged off.\n- Distinguish **safe delete now** vs **defer with plan**.\n- Provide a follow-up plan with concrete steps and checkpoints (tests\u002Fmetrics).\n\n### 4) Security and reliability scan\n\n- Load `references\u002Fsecurity-checklist.md` for coverage.\n- Check for:\n  - XSS, injection (SQL\u002FNoSQL\u002Fcommand), SSRF, path traversal\n  - AuthZ\u002FAuthN gaps, missing tenancy checks\n  - Secret leakage or API keys in logs\u002Fenv\u002Ffiles\n  - Rate limits, unbounded loops, CPU\u002Fmemory hotspots\n  - Unsafe deserialization, weak crypto, insecure defaults\n  - **Race conditions**: concurrent access, check-then-act, TOCTOU, missing locks\n- Call out both **exploitability** and **impact**.\n\n### 5) Code quality scan\n\n- Load `references\u002Fcode-quality-checklist.md` for coverage.\n- Check for:\n  - **Error handling**: swallowed exceptions, overly broad catch, missing error handling, async errors\n  - **Performance**: N+1 queries, CPU-intensive ops in hot paths, missing cache, unbounded memory\n  - **Boundary conditions**: null\u002Fundefined handling, empty collections, numeric boundaries, off-by-one\n- Flag issues that may cause silent failures or production incidents.\n\n### 6) Output format\n\nStructure your review as follows:\n\n```markdown\n## Code Review Summary\n\n**Files reviewed**: X files, Y lines changed\n**Overall assessment**: [APPROVE \u002F REQUEST_CHANGES \u002F COMMENT]\n\n---\n\n## Findings\n\n### P0 - Critical\n\n(none or list)\n\n### P1 - High\n\n1. **[file:line]** Brief title\n\n- Description of issue\n- Suggested fix\n\n### P2 - Medium\n\n2. (continue numbering across sections)\n\n- ...\n\n### P3 - Low\n\n...\n\n---\n\n## Removal\u002FIteration Plan\n\n(if applicable)\n\n## Additional Suggestions\n\n(optional improvements, not blocking)\n```\n\n**Inline comments**: Use this format for file-specific findings:\n\n```\n::code-comment{file=\"path\u002Fto\u002Ffile.ts\" line=\"42\" severity=\"P1\"}\nDescription of the issue and suggested fix.\n::\n```\n\n**Clean review**: If no issues found, explicitly state:\n\n- What was checked\n- Any areas not covered (e.g., \"Did not verify database migrations\")\n- Residual risks or recommended follow-up tests\n\n### 7) Next steps confirmation\n\nAfter presenting findings, ask user how to proceed:\n\n```markdown\n---\n\n## Next Steps\n\nI found X issues (P0: _, P1: _, P2: _, P3: _).\n\n**How would you like to proceed?**\n\n1. **Fix all** - I'll implement all suggested fixes\n2. **Fix P0\u002FP1 only** - Address critical and high priority issues\n3. **Fix specific items** - Tell me which issues to fix\n4. **No changes** - Review complete, no implementation needed\n\nPlease choose an option or provide specific instructions.\n```\n\n**Important**: Do NOT implement any changes until user explicitly confirms. This is a review-first workflow.\n\n## Resources\n\n### references\u002F\n\n| File                        | Purpose                                             |\n| --------------------------- | --------------------------------------------------- |\n| `solid-checklist.md`        | SOLID smell prompts and refactor heuristics         |\n| `security-checklist.md`     | Web\u002Fapp security and runtime risk checklist         |\n| `code-quality-checklist.md` | Error handling, performance, boundary conditions    |\n| `removal-plan.md`           | Template for deletion candidates and follow-up plan |\n","# Code Review Expert\n\n## Overview\n\nPerform a structured review of the current git changes with focus on SOLID, architecture, removal candidates, and security risks. Default to review-only output unless the user asks to implement changes.\n\n## Severity Levels\n\n| Level  | Name     | Description                                                      | Action                             |\n| ------ | -------- | ---------------------------------------------------------------- | ---------------------------------- |\n| **P0** | Critical | Security vulnerability, data loss risk, correctness bug          | Must block merge                   |\n| **P1** | High     | Logic error, significant SOLID violation, performance regression | Should fix before merge            |\n| **P2** | Medium   | Code smell, maintainability concern, minor SOLID violation       | Fix in this PR or create follow-up |\n| **P3** | Low      | Style, naming, minor suggestion                                  | Optional improvement               |\n\n## Workflow\n\n### 1) Preflight context\n\n- Use `git status -sb`, `git diff --stat`, and `git diff` to scope changes.\n- If needed, use `rg` or `grep` to find related modules, usages, and contracts.\n- Identify entry points, ownership boundaries, and critical paths (auth, payments, data writes, network).\n\n**Edge cases:**\n\n- **No changes**: If `git diff` is empty, inform user and ask if they want to review staged changes or a specific commit range.\n- **Large diff (>500 lines)**: Summarize by file first, then review in batches by module\u002Ffeature area.\n- **Mixed concerns**: Group findings by logical feature, not just file order.\n\n### 2) SOLID + architecture smells\n\n- Load `references\u002Fsolid-checklist.md` for specific prompts.\n- Look for:\n  - **SRP**: Overloaded modules with unrelated responsibilities.\n  - **OCP**: Frequent edits to add behavior instead of extension points.\n  - **LSP**: Subclasses that break expectations or require type checks.\n  - **ISP**: Wide interfaces with unused methods.\n  - **DIP**: High-level logic tied to low-level implementations.\n- When you propose a refactor, explain _why_ it improves cohesion\u002Fcoupling and outline a minimal, safe split.\n- If refactor is non-trivial, propose an incremental plan instead of a large rewrite.\n\n### 3) Removal candidates + iteration plan\n\n- Load `references\u002Fremoval-plan.md` for template.\n- Identify code that is unused, redundant, or feature-flagged off.\n- Distinguish **safe delete now** vs **defer with plan**.\n- Provide a follow-up plan with concrete steps and checkpoints (tests\u002Fmetrics).\n\n### 4) Security and reliability scan\n\n- Load `references\u002Fsecurity-checklist.md` for coverage.\n- Check for:\n  - XSS, injection (SQL\u002FNoSQL\u002Fcommand), SSRF, path traversal\n  - AuthZ\u002FAuthN gaps, missing tenancy checks\n  - Secret leakage or API keys in logs\u002Fenv\u002Ffiles\n  - Rate limits, unbounded loops, CPU\u002Fmemory hotspots\n  - Unsafe deserialization, weak crypto, insecure defaults\n  - **Race conditions**: concurrent access, check-then-act, TOCTOU, missing locks\n- Call out both **exploitability** and **impact**.\n\n### 5) Code quality scan\n\n- Load `references\u002Fcode-quality-checklist.md` for coverage.\n- Check for:\n  - **Error handling**: swallowed exceptions, overly broad catch, missing error handling, async errors\n  - **Performance**: N+1 queries, CPU-intensive ops in hot paths, missing cache, unbounded memory\n  - **Boundary conditions**: null\u002Fundefined handling, empty collections, numeric boundaries, off-by-one\n- Flag issues that may cause silent failures or production incidents.\n\n### 6) Output format\n\nStructure your review as follows:\n\n```markdown\n## Code Review Summary\n\n**Files reviewed**: X files, Y lines changed\n**Overall assessment**: [APPROVE \u002F REQUEST_CHANGES \u002F COMMENT]\n\n---\n\n## Findings\n\n### P0 - Critical\n\n(none or list)\n\n### P1 - High\n\n1. **[file:line]** Brief title\n\n- Description of issue\n- Suggested fix\n\n### P2 - Medium\n\n2. (continue numbering across sections)\n\n- ...\n\n### P3 - Low\n\n...\n\n---\n\n## Removal\u002FIteration Plan\n\n(if applicable)\n\n## Additional Suggestions\n\n(optional improvements, not blocking)\n```\n\n**Inline comments**: Use this format for file-specific findings:\n\n```\n::code-comment{file=\"path\u002Fto\u002Ffile.ts\" line=\"42\" severity=\"P1\"}\nDescription of the issue and suggested fix.\n::\n```\n\n**Clean review**: If no issues found, explicitly state:\n\n- What was checked\n- Any areas not covered (e.g., \"Did not verify database migrations\")\n- Residual risks or recommended follow-up tests\n\n### 7) Next steps confirmation\n\nAfter presenting findings, ask user how to proceed:\n\n```markdown\n---\n\n## Next Steps\n\nI found X issues (P0: _, P1: _, P2: _, P3: _).\n\n**How would you like to proceed?**\n\n1. **Fix all** - I'll implement all suggested fixes\n2. **Fix P0\u002FP1 only** - Address critical and high priority issues\n3. **Fix specific items** - Tell me which issues to fix\n4. **No changes** - Review complete, no implementation needed\n\nPlease choose an option or provide specific instructions.\n```\n\n**Important**: Do NOT implement any changes until user explicitly confirms. This is a review-first workflow.\n\n## Resources\n\n### references\u002F\n\n| File                        | Purpose                                             |\n| --------------------------- | --------------------------------------------------- |\n| `solid-checklist.md`        | SOLID smell prompts and refactor heuristics         |\n| `security-checklist.md`     | Web\u002Fapp security and runtime risk checklist         |\n| `code-quality-checklist.md` | Error handling, performance, boundary conditions    |\n| `removal-plan.md`           | Template for deletion candidates and follow-up plan |\n",{"name":5,"description":7},"main","14822a92c9739f08579ddf2426c56e84909b4ab1",".agents\u002Fskills\u002Fcode-review-expert",26,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu","https:\u002F\u002Fmicrosoft.github.io\u002FHuabu\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 09:40:52",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add microsoft\u002FHuabu --skill code-review-expert",{"tool":53,"command":54},"bunx","bunx skills add microsoft\u002FHuabu --skill code-review-expert",{"tool":56,"command":57},"pnpm","pnpm dlx skills add microsoft\u002FHuabu --skill code-review-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002FSKILL.md",true,[61,67,71,75,79,83],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"agents\u002Fagent.yaml","REFERENCE","参考文档",422,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002Fagents\u002Fagent.yaml",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"README.md",2501,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002FREADME.md",{"path":72,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fcode-quality-checklist.md",4638,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002Freferences\u002Fcode-quality-checklist.md",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fremoval-plan.md",2326,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002Freferences\u002Fremoval-plan.md",{"path":80,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fsecurity-checklist.md",4426,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002Freferences\u002Fsecurity-checklist.md",{"path":84,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fsolid-checklist.md",3025,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review-expert\u002Freferences\u002Fsolid-checklist.md",[88,96,103,110,116,125],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":95},"01M7B9PZ6G3GS0C1746D3EH2PP","paper-scout-setup","Install a Paper Scout into a blank Huabu Space. Use when asked to set up a research-idea and related-work discovery Space. Do not use to run a literature search, review one paper, or overwrite an existing Space.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002Fspace-kits\u002Fpaper-scout-setup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":95},"01M7B9PT51SDKGC1R49THGEV2T","paper-reviewer-setup","Install a Paper Reviewer into a blank Huabu Space. Use when asked to set up a paper-reading and bilingual review Space. Do not use to review a paper, search for literature, or overwrite an existing Space.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002Fspace-kits\u002Fpaper-reviewer-setup\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":95},"01M7B9PNTHEWQGN2A8A68J9J83","issue-tracker-setup","Install an Issue Tracker into a blank Huabu Space from this cloned Kit, or validate its configuration table and create the Coordinator. Use when asked to initialize or finish configuring an Issue Tracker Space. Do not use to investigate or fix repository issues, run the installed Coordinator, or overwrite a non-empty Space.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002Fspace-kits\u002Fissue-tracker-setup\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":6,"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":95},"01M7B9PKYV0DMGB1MZ99JD4HER","hackmd","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002Fapps\u002Fserver\u002Fsrc\u002Fservices\u002Fhackmd\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":32},"01M6X0GC24XV5DQ6NB454JTJQG","web-search","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002Fapps\u002Fserver\u002Fsrc\u002Fservices\u002Fweb-search\u002FSKILL.md",[],[122,123,124],"web","web search","search",{"skillNo":126,"name":127,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":32},"01M6X0GA59Q0BTYZ2SZYFDR0RC","image-gen","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FHuabu\u002Fblob\u002Fmain\u002Fapps\u002Fserver\u002Fsrc\u002Fservices\u002Fimage-gen\u002FSKILL.md",[],[131,132],"image","image gen"]