[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FE66HS3DTV2YV9N6NNDG4G":3,"skill-same:01M7FE66HS3DTV2YV9N6NNDG4G":46},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7FE66HS3DTV2YV9N6NNDG4G","code-review",null,"Use when reviewing code — a diff, a merge request, a file, a directory, or a feature. Produces structured code-review findings, filters out false positives and nitpicks, and prints a concise verdict report. Trigger when the user asks to review a diff, review an MR, or check code for bugs, security issues, or rule violations.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fcode-review\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: code-review\ndescription: Use when reviewing code — a diff, a merge request, a file, a directory, or a feature. Produces structured code-review findings, filters out false positives and nitpicks, and prints a concise verdict report. Trigger when the user asks to review a diff, review an MR, or check code for bugs, security issues, or rule violations.\n---\n\n# Code Review\n\nThree-stage method: produce findings, filter them, report verdict.\n\nStages 1 and 2 are internal reasoning. Never print them. Only the Stage 3 report reaches the user.\n\n## Review target\n\n- User named a target (file, directory, feature, commit range, MR) → review that.\n- No target named → review current diff (uncommitted changes, or the branch diff against the main branch).\n\nRead the code with workspace tools. When code is supplied inline in the prompt, review what is supplied and read further files only for context.\n\n## Stage 1 — Reviewer\n\nReview target. Collect findings.\n\n### Review algorithm (follow this order)\n\n1. Read project rules — MANDATORY. Read every instruction file covering the reviewed code: root AGENTS.md plus nested ones in the touched directories, and any docs they point to. Project rules override skill rules on conflict\n2. Load skills — MANDATORY. Load workspace skills matching the reviewed stack and area (framework, language, UI text, testing). Read their rule files via workspace tools, never from memory\n3. Big picture — scan the whole change set for cross-file context\n4. Analyze change — split core change vs plumbing. Core design wrong → focus there\n5. Full-file context — check the change makes sense: imports used, removed items not referenced, control flow correct\n6. API compatibility — check callers match changes\n7. Apply skill rules — check violations from this change only, not pre-existing code\n8. Apply project rules — check violations of AGENTS.md\n9. Deduplicate — skip findings already covered by existing review comments\n10. Verify relevance — each finding must fit actual code context (file type, framework, stack), not generic rule mismatch\n11. Verify against source — re-read the cited lines. Drop findings referencing code, symbols, imports, or behavior that does not exist in the file. Never describe code from memory or assumption\n12. Check the fix — proposed fix must be the smallest change that solves the problem. Drop or rewrite fixes that add abstractions, layers, options, or generalization the problem does not need\n13. Keep — only confidence >= 80, reviewed code only, no linter catches or nitpicks. Fix line says WHAT to fix in 1 sentence, not HOW\n\n### Focus on\n\n- Data loss, security holes (XSS, injection, secrets in code)\n- Runtime crashes, unhandled errors, null\u002Fundefined access\n- Broken core logic, wrong conditions, off-by-one errors\n- Race conditions, missing await, wrong async handling\n- API contract violations, wrong types passed between components\n- Functions whose behavior contradicts their name or return type\n- Stub or placeholder implementations merged without TODO\u002FFIXME markers\n- Public functions where invalid but plausible input gives silently wrong results instead of error\n- Unreachable code paths or dead branches caused by change\n- New exports or public API surface not consumed anywhere\n- Obvious performance pitfalls: O(n²) or worse in loops over collections, sync blocking in async paths, missing pagination on unbounded queries, repeated expensive operations that should be cached or batched\n- Hardcoded values that clearly should be configurable or computed (e.g., hardcoded URLs, credentials, environment-specific paths, magic numbers used as thresholds or limits) — flag as suggestion unless marked TODO\n- Functions that claim operation by name but have trivial implementation that does not do it (e.g., `isFileExists` returning constant without checking filesystem, `sendEmail` with empty body) — flag unless marked TODO\n- Misused dependencies — components, functions, composables or utilities called with wrong arguments, wrong types, ignored return values, missing required props\u002Foptions, or invoked in way that violates their contract (when signature visible in provided context)\n- Reinvented shared utilities — new logic that duplicates existing shared helper\u002Fcomponent\u002Fcomposable from project (e.g., hand-rolled deep clone, date formatter, query builder, or validator) when equivalent visible in provided context; flag and point to existing one to reuse\n\n### Do NOT check\n\nCode style, naming, missing comments, test coverage, performance micro-optimizations.\n\n### Finding fields\n\nTrack per finding, in your head, not printed at this stage:\n\n- file and line\n- title: short, one line\n- problem: what is wrong\n- fix: what to fix, one sentence\n- severity: critical (confidence 90-100) = data loss, security, crash, broken logic. suggestion (confidence 80-89) = everything else\n- source: which rule triggered the finding. One of `skill:\u003Cskill-name>\u002F\u003Crule-name>`, `repository-rules` (AGENTS.md), `general` (Focus on section)\n\nSource priority when a finding matches several categories: repository-rules > skill > general. Use the highest-priority source that applies.\n\n## Stage 2 — Filter\n\nAct as senior code review editor. Filter findings list. Keep ONLY ones that are:\n\n1. **Real issues** — not false positives, not nitpicks, not style preferences\n2. **Actionable** — developer clearly understands what to fix\n3. **High confidence** — you agree with finding after review\n4. **Critical severity** — NEVER drop findings with severity \"critical\". May adjust description but must keep in output. Believe critical finding is false positive → downgrade severity to \"suggestion\" instead of removing.\n\nRemove findings that are:\n\n- Hallucinated — cited line, symbol, or behavior not present in the actual code\n- Overengineered fixes — solution heavier than the problem (new abstraction, config, or layer where a local change is enough)\n- Duplicates or overlapping with other findings\n- Too vague or speculative\n- About pre-existing code patterns (not from this change)\n- Nitpicks disguised as suggestions\n- False positives from incomplete context\n\nFor each kept finding, may adjust confidence, severity, or description.\n\nThen pick a verdict: approve, request_changes, or comment.\n\nVerdict rules:\n\n- approve: no findings kept\n- request_changes: at least one critical finding\n- comment: only suggestions\n\n## Stage 3 — Console report\n\nDo NOT edit, write, or fix any code. This skill only reviews and reports.\n\nPrint the kept findings as plain text for a human reading a terminal. No preamble, no closing summary, no extra commentary, only the report below.\n\nFormat:\n\n```\nVerdict: \u003Cverdict> (\u003CN> critical, \u003CM> suggestions)\nReviewed: \u003Cwhat was reviewed>, \u003CK> files\n\nCRITICAL\n  \u003Cfile>:\u003Cline>  \u003Ctitle>  [\u003Csource>]\n    \u003Cproblem>\n    Fix: \u003Cfix>\n\nSUGGESTIONS\n  \u003Cfile>:\u003Cline>  \u003Ctitle>  [\u003Csource>]\n    \u003Cproblem>\n    Fix: \u003Cfix>\n```\n\nExample:\n\n```\nVerdict: request_changes (1 critical, 1 suggestion)\nReviewed: uncommitted changes, 3 files\n\nCRITICAL\n  apps\u002Fapi\u002Fsrc\u002Fplanner\u002Fissues.ts:118  Transaction never committed\n    The early return on a validation error leaves the transaction open, so the connection leaks.\n    Fix: commit or roll back before returning.\n    [general]\n\nSUGGESTIONS\n  apps\u002Fweb\u002Fsrc\u002Ffeatures\u002Fboard\u002FColumn.tsx:64  Board key hardcoded\n    \"IAP\" is written inline instead of coming from props.\n    Fix: take the key from the project prop.\n    [repository-rules]\n```\n\nRules:\n\n- Critical findings first, then suggestions. Omit an empty section.\n- No findings at all: print only `Verdict: approve (no issues found)` plus the `Reviewed:` line.\n- One line per field. Problem and fix stay one sentence each. No paragraphs, no tables, no JSON.\n- Source tag in brackets so the reader knows whether it came from project rules, a skill, or built-in checks.\n- Sort findings inside a section by file, then by line.\n","# Code Review\n\nThree-stage method: produce findings, filter them, report verdict.\n\nStages 1 and 2 are internal reasoning. Never print them. Only the Stage 3 report reaches the user.\n\n## Review target\n\n- User named a target (file, directory, feature, commit range, MR) → review that.\n- No target named → review current diff (uncommitted changes, or the branch diff against the main branch).\n\nRead the code with workspace tools. When code is supplied inline in the prompt, review what is supplied and read further files only for context.\n\n## Stage 1 — Reviewer\n\nReview target. Collect findings.\n\n### Review algorithm (follow this order)\n\n1. Read project rules — MANDATORY. Read every instruction file covering the reviewed code: root AGENTS.md plus nested ones in the touched directories, and any docs they point to. Project rules override skill rules on conflict\n2. Load skills — MANDATORY. Load workspace skills matching the reviewed stack and area (framework, language, UI text, testing). Read their rule files via workspace tools, never from memory\n3. Big picture — scan the whole change set for cross-file context\n4. Analyze change — split core change vs plumbing. Core design wrong → focus there\n5. Full-file context — check the change makes sense: imports used, removed items not referenced, control flow correct\n6. API compatibility — check callers match changes\n7. Apply skill rules — check violations from this change only, not pre-existing code\n8. Apply project rules — check violations of AGENTS.md\n9. Deduplicate — skip findings already covered by existing review comments\n10. Verify relevance — each finding must fit actual code context (file type, framework, stack), not generic rule mismatch\n11. Verify against source — re-read the cited lines. Drop findings referencing code, symbols, imports, or behavior that does not exist in the file. Never describe code from memory or assumption\n12. Check the fix — proposed fix must be the smallest change that solves the problem. Drop or rewrite fixes that add abstractions, layers, options, or generalization the problem does not need\n13. Keep — only confidence >= 80, reviewed code only, no linter catches or nitpicks. Fix line says WHAT to fix in 1 sentence, not HOW\n\n### Focus on\n\n- Data loss, security holes (XSS, injection, secrets in code)\n- Runtime crashes, unhandled errors, null\u002Fundefined access\n- Broken core logic, wrong conditions, off-by-one errors\n- Race conditions, missing await, wrong async handling\n- API contract violations, wrong types passed between components\n- Functions whose behavior contradicts their name or return type\n- Stub or placeholder implementations merged without TODO\u002FFIXME markers\n- Public functions where invalid but plausible input gives silently wrong results instead of error\n- Unreachable code paths or dead branches caused by change\n- New exports or public API surface not consumed anywhere\n- Obvious performance pitfalls: O(n²) or worse in loops over collections, sync blocking in async paths, missing pagination on unbounded queries, repeated expensive operations that should be cached or batched\n- Hardcoded values that clearly should be configurable or computed (e.g., hardcoded URLs, credentials, environment-specific paths, magic numbers used as thresholds or limits) — flag as suggestion unless marked TODO\n- Functions that claim operation by name but have trivial implementation that does not do it (e.g., `isFileExists` returning constant without checking filesystem, `sendEmail` with empty body) — flag unless marked TODO\n- Misused dependencies — components, functions, composables or utilities called with wrong arguments, wrong types, ignored return values, missing required props\u002Foptions, or invoked in way that violates their contract (when signature visible in provided context)\n- Reinvented shared utilities — new logic that duplicates existing shared helper\u002Fcomponent\u002Fcomposable from project (e.g., hand-rolled deep clone, date formatter, query builder, or validator) when equivalent visible in provided context; flag and point to existing one to reuse\n\n### Do NOT check\n\nCode style, naming, missing comments, test coverage, performance micro-optimizations.\n\n### Finding fields\n\nTrack per finding, in your head, not printed at this stage:\n\n- file and line\n- title: short, one line\n- problem: what is wrong\n- fix: what to fix, one sentence\n- severity: critical (confidence 90-100) = data loss, security, crash, broken logic. suggestion (confidence 80-89) = everything else\n- source: which rule triggered the finding. One of `skill:\u003Cskill-name>\u002F\u003Crule-name>`, `repository-rules` (AGENTS.md), `general` (Focus on section)\n\nSource priority when a finding matches several categories: repository-rules > skill > general. Use the highest-priority source that applies.\n\n## Stage 2 — Filter\n\nAct as senior code review editor. Filter findings list. Keep ONLY ones that are:\n\n1. **Real issues** — not false positives, not nitpicks, not style preferences\n2. **Actionable** — developer clearly understands what to fix\n3. **High confidence** — you agree with finding after review\n4. **Critical severity** — NEVER drop findings with severity \"critical\". May adjust description but must keep in output. Believe critical finding is false positive → downgrade severity to \"suggestion\" instead of removing.\n\nRemove findings that are:\n\n- Hallucinated — cited line, symbol, or behavior not present in the actual code\n- Overengineered fixes — solution heavier than the problem (new abstraction, config, or layer where a local change is enough)\n- Duplicates or overlapping with other findings\n- Too vague or speculative\n- About pre-existing code patterns (not from this change)\n- Nitpicks disguised as suggestions\n- False positives from incomplete context\n\nFor each kept finding, may adjust confidence, severity, or description.\n\nThen pick a verdict: approve, request_changes, or comment.\n\nVerdict rules:\n\n- approve: no findings kept\n- request_changes: at least one critical finding\n- comment: only suggestions\n\n## Stage 3 — Console report\n\nDo NOT edit, write, or fix any code. This skill only reviews and reports.\n\nPrint the kept findings as plain text for a human reading a terminal. No preamble, no closing summary, no extra commentary, only the report below.\n\nFormat:\n\n```\nVerdict: \u003Cverdict> (\u003CN> critical, \u003CM> suggestions)\nReviewed: \u003Cwhat was reviewed>, \u003CK> files\n\nCRITICAL\n  \u003Cfile>:\u003Cline>  \u003Ctitle>  [\u003Csource>]\n    \u003Cproblem>\n    Fix: \u003Cfix>\n\nSUGGESTIONS\n  \u003Cfile>:\u003Cline>  \u003Ctitle>  [\u003Csource>]\n    \u003Cproblem>\n    Fix: \u003Cfix>\n```\n\nExample:\n\n```\nVerdict: request_changes (1 critical, 1 suggestion)\nReviewed: uncommitted changes, 3 files\n\nCRITICAL\n  apps\u002Fapi\u002Fsrc\u002Fplanner\u002Fissues.ts:118  Transaction never committed\n    The early return on a validation error leaves the transaction open, so the connection leaks.\n    Fix: commit or roll back before returning.\n    [general]\n\nSUGGESTIONS\n  apps\u002Fweb\u002Fsrc\u002Ffeatures\u002Fboard\u002FColumn.tsx:64  Board key hardcoded\n    \"IAP\" is written inline instead of coming from props.\n    Fix: take the key from the project prop.\n    [repository-rules]\n```\n\nRules:\n\n- Critical findings first, then suggestions. Omit an empty section.\n- No findings at all: print only `Verdict: approve (no issues found)` plus the `Reviewed:` line.\n- One line per field. Problem and fix stay one sentence each. No paragraphs, no tables, no JSON.\n- Source tag in brackets so the reader knows whether it came from project rules, a skill, or built-in checks.\n- Sort findings inside a section by file, then by line.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","07-后端与架构\u002Fcode-review",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill code-review",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill code-review",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fcode-review\u002FSKILL.md",true,[],[47,54,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]