[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74GYAMZCNTGM38HEP5KTHQM":3,"skill-same:01M74GYAMZCNTGM38HEP5KTHQM":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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M74GYAMZCNTGM38HEP5KTHQM","simplify",null,"Review the changed code for reuse, simplification, efficiency, and altitude improvements, and report them (read-only — makes no edits). Takes an optional target — a PR number, branch name, or path.","k3dom\u002Fpi-plugins","k3dom","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F71038454?v=4","01M74GWC5SAC5CNV65X358M0SN","kedom","01M74GWC6JN25YS8YF2PAHAYGG",17,"MIT","https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002Fplugins\u002Fskills\u002Fskills\u002Fsimplify\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: simplify\ndescription:\n  Review the changed code for reuse, simplification, efficiency, and altitude\n  improvements, and report them (read-only — makes no edits). Takes an optional\n  target — a PR number, branch name, or path.\ndisable-model-invocation: true\n---\n\nYou are reviewing the quality of the changed code, not hunting for bugs — review it\nfor reuse, simplification, efficiency, and altitude issues and report what you find.\nThis review is read-only: do NOT edit any files, just surface the opportunities for a\nhuman to act on.\n\n## Phase 0 — Gather the diff\n\nRun `git diff @{upstream}...HEAD` (or `git diff main...HEAD` \u002F `git diff HEAD~1` if\nthere's no upstream) to get the unified diff under review. If there are uncommitted\nchanges, or the range diff is empty, also run `git diff HEAD` and include the\nworking-tree changes in scope. If an argument — a PR number, branch name, or file\npath — was passed to this skill, it appears immediately after these instructions.\nReview that target instead.\n\n## Phase 1 — Review (4 cleanup agents in parallel)\n\nLaunch **4 independent review sub-agents** via the `subagent` tool, all in a single\nmessage so they run concurrently. Pass each agent the diff and one of the four angles\nbelow. Each returns its findings with `file`, `line`, a one-line `summary`, and the\nconcrete cost (what is duplicated, wasted, or harder to maintain).\n\n### Reuse\n\nFlag new code that re-implements something the codebase already has — Grep\nshared\u002Futility modules and files adjacent to the change, and name the existing helper\nto call instead.\n\n### Simplification\n\nFlag unnecessary complexity the diff adds: redundant or derivable state, copy-paste\nwith slight variation, deep nesting, dead code left behind. Name the simpler form\nthat does the same job.\n\n### Efficiency\n\nFlag wasted work the diff introduces: redundant computation or repeated I\u002FO,\nindependent operations run sequentially, blocking work added to startup or hot paths.\nAlso flag long-lived objects built from closures or captured environments — they pin\nthe whole enclosing scope for their lifetime. Prefer a class\u002Fstruct that copies only\nthe fields it needs. Name the cheaper alternative.\n\n### Altitude\n\nCheck that each change is implemented at the right depth, not as a fragile bandaid.\nSpecial cases layered on shared infrastructure are a sign the fix isn't deep enough —\nprefer generalizing the underlying mechanism over adding special cases.\n\n## Phase 2 — Consolidate\n\nWait for all four agents to complete, then dedup findings that point at the same line\nor mechanism, keeping the one with the most concrete cost. Drop anything whose fix\nwould change intended behavior, require changes well outside the reviewed diff, or\nthat you judge to be a false positive. Do NOT edit any files.\n\n## Output\n\nReport the surviving findings as your final message: a markdown table ranked\nmost-impactful first, with these columns:\n\n| #   | Location               | Category | Summary                                                               | Cost                                                                       | Suggestion                                                             |\n| --- | ---------------------- | -------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------- |\n| 1   | `src\u002Fapi\u002Fclient.ts:88` | reuse    | Re-implements retry-with-backoff that `withRetry()` already provides. | Second copy of the backoff policy to keep in sync with `src\u002Flib\u002Fretry.ts`. | Call `withRetry(fn, { attempts: 3 })` instead of the hand-rolled loop. |\n\n- `#` — 1-based rank, matching the impact order\n- `Location` — `` `file:line` `` in backticks, using the file's path as it appears in\n  the diff\n- `Category` — short kebab-case slug for the angle that produced it (`reuse`,\n  `simplification`, `efficiency`, or `altitude`)\n- `Summary` — one matter-of-fact sentence. Don't inflate the issue\n- `Cost` — what is concretely duplicated, wasted, or harder to maintain\n- `Suggestion` — the simpler or cheaper form that does the same job\n\nOne row per finding, and keep each cell to a single line so the table stays readable.\nIf a suggestion needs a code snippet, put it in a short fenced block below the table,\nreferencing the row `#`.\n\nIf nothing is worth changing, skip the table and confirm the code is already clean —\ndo not manufacture findings to have something to say.\n","You are reviewing the quality of the changed code, not hunting for bugs — review it\nfor reuse, simplification, efficiency, and altitude issues and report what you find.\nThis review is read-only: do NOT edit any files, just surface the opportunities for a\nhuman to act on.\n\n## Phase 0 — Gather the diff\n\nRun `git diff @{upstream}...HEAD` (or `git diff main...HEAD` \u002F `git diff HEAD~1` if\nthere's no upstream) to get the unified diff under review. If there are uncommitted\nchanges, or the range diff is empty, also run `git diff HEAD` and include the\nworking-tree changes in scope. If an argument — a PR number, branch name, or file\npath — was passed to this skill, it appears immediately after these instructions.\nReview that target instead.\n\n## Phase 1 — Review (4 cleanup agents in parallel)\n\nLaunch **4 independent review sub-agents** via the `subagent` tool, all in a single\nmessage so they run concurrently. Pass each agent the diff and one of the four angles\nbelow. Each returns its findings with `file`, `line`, a one-line `summary`, and the\nconcrete cost (what is duplicated, wasted, or harder to maintain).\n\n### Reuse\n\nFlag new code that re-implements something the codebase already has — Grep\nshared\u002Futility modules and files adjacent to the change, and name the existing helper\nto call instead.\n\n### Simplification\n\nFlag unnecessary complexity the diff adds: redundant or derivable state, copy-paste\nwith slight variation, deep nesting, dead code left behind. Name the simpler form\nthat does the same job.\n\n### Efficiency\n\nFlag wasted work the diff introduces: redundant computation or repeated I\u002FO,\nindependent operations run sequentially, blocking work added to startup or hot paths.\nAlso flag long-lived objects built from closures or captured environments — they pin\nthe whole enclosing scope for their lifetime. Prefer a class\u002Fstruct that copies only\nthe fields it needs. Name the cheaper alternative.\n\n### Altitude\n\nCheck that each change is implemented at the right depth, not as a fragile bandaid.\nSpecial cases layered on shared infrastructure are a sign the fix isn't deep enough —\nprefer generalizing the underlying mechanism over adding special cases.\n\n## Phase 2 — Consolidate\n\nWait for all four agents to complete, then dedup findings that point at the same line\nor mechanism, keeping the one with the most concrete cost. Drop anything whose fix\nwould change intended behavior, require changes well outside the reviewed diff, or\nthat you judge to be a false positive. Do NOT edit any files.\n\n## Output\n\nReport the surviving findings as your final message: a markdown table ranked\nmost-impactful first, with these columns:\n\n| #   | Location               | Category | Summary                                                               | Cost                                                                       | Suggestion                                                             |\n| --- | ---------------------- | -------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------- |\n| 1   | `src\u002Fapi\u002Fclient.ts:88` | reuse    | Re-implements retry-with-backoff that `withRetry()` already provides. | Second copy of the backoff policy to keep in sync with `src\u002Flib\u002Fretry.ts`. | Call `withRetry(fn, { attempts: 3 })` instead of the hand-rolled loop. |\n\n- `#` — 1-based rank, matching the impact order\n- `Location` — `` `file:line` `` in backticks, using the file's path as it appears in\n  the diff\n- `Category` — short kebab-case slug for the angle that produced it (`reuse`,\n  `simplification`, `efficiency`, or `altitude`)\n- `Summary` — one matter-of-fact sentence. Don't inflate the issue\n- `Cost` — what is concretely duplicated, wasted, or harder to maintain\n- `Suggestion` — the simpler or cheaper form that does the same job\n\nOne row per finding, and keep each cell to a single line so the table stays readable.\nIf a suggestion needs a code snippet, put it in a short fenced block below the table,\nreferencing the row `#`.\n\nIf nothing is worth changing, skip the table and confirm the code is already clean —\ndo not manufacture findings to have something to say.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"master","56f8c9afa547dbc69237016e7936a6112686d730","plugins\u002Fskills\u002Fskills\u002Fsimplify",10,"https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins","https:\u002F\u002Fgithub.com\u002Fk3dom","full time seal enthusiast","2026-11-10 06:18:29",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add k3dom\u002Fpi-plugins --skill simplify",{"tool":39,"command":40},"bunx","bunx skills add k3dom\u002Fpi-plugins --skill simplify",{"tool":42,"command":43},"pnpm","pnpm dlx skills add k3dom\u002Fpi-plugins --skill simplify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002Fplugins\u002Fskills\u002Fskills\u002Fsimplify\u002FSKILL.md",[],[47,54,61,68,75,82],{"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},"01M74GY775PKQQHYW7NKQSMX6M","code-review","Correctness review of a diff, ranked by severity. Takes an optional target — a PR number, branch name, or path.","https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002Fplugins\u002Fskills\u002Fskills\u002Fcode-review\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M74GY67Q14Q4NG37FM3ZKBB8","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002F.agents\u002Frepos\u002Fpi\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M74GY41H0Z2F41AYBWGMTPV4","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002F.agents\u002Frepos\u002Fpi\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M74GY33EAEX04G8KZNP89AHF","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002F.agents\u002Frepos\u002Fpi\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M74GY1H6EHYED8BDR8NQZ0E4","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002F.agents\u002Frepos\u002Fpi\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"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":85,"categories":86,"keywords":87,"publishedAt":19},"01M74GXZM8513ZYXRZCWPK4ZQJ","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fk3dom\u002Fpi-plugins\u002Fblob\u002Fmaster\u002F.agents\u002Frepos\u002Fpi\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[]]