[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78C151714X4Z3VQW5F23FZW":3,"skill-same:01M78C151714X4Z3VQW5F23FZW":115},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M78C151714X4Z3VQW5F23FZW","simplify-code",null,"Use when the user asks to \"simplify this code\", \"remove the fluff\", or \"clean up this over-engineered module\", or wants working code that is bloated, duplicated, over-abstracted, or dependency-heavy reduced without changing behavior.","adriancodes\u002Fskills","adriancodes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F940414?v=4","01M6NJ91CRRXPC6RRKWM4CVEGJ","Adrian Martin","01M78BV1DGXZ4VG3VVC30VH0MC",1,"MIT","https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: simplify-code\ndescription: >\n  Use when the user asks to \"simplify this code\", \"remove the fluff\",\n  or \"clean up this over-engineered module\", or wants working code that\n  is bloated, duplicated, over-abstracted, or dependency-heavy reduced\n  without changing behavior.\nlicense: MIT\nmetadata:\n  category: Quality\n  summary: Condenses scoped code by deleting unjustified concepts while preserving maintainability and observable contracts.\n---\n\n# Simplify Code\n\nDelete unjustified concepts while preserving observable behavior. Prefer a direct implementation over fewer characters.\n\n## Scope\n\nUse for explicit requests to simplify working code, remove duplication, or eliminate shallow wrappers and speculative abstractions.\n\nSimplification authorizes local edits and meaningful verification within the requested scope. Preserve public APIs, persisted formats, errors, and meaningful performance characteristics unless the user authorizes their change.\n\nUse `diagnose`, when installed, for unknown failures; otherwise establish the cause first. Use `review-code`, when installed, for read-only assessment. Handle new behavior through the project's implementation workflow. Broad architectural redesign needs a separate scope.\n\n## Workflow\n\n1. **Pin the contracts.** Read repository instructions, the requested code, callers, tests, and current diff. Preserve user-authored work. Identify exports, outputs, error behavior, mutation, and persistence that callers rely on.\n\n   When behavior tests are absent, disclose the gap. Characterize the relevant behavior before editing using existing tools. Add local checks when they meaningfully protect this cleanup. Honor an explicit no-test or no-write restriction; use inline probes where allowed.\n\n   Ask before installing tooling, crossing scope, or selecting an ambiguous behavior contract. Continue unaffected cleanup while a separate decision is pending.\n\n   Done when the cleanup has a known boundary and a preservation check or explicit evidence limit.\n\n2. **Find deletions that earn their keep.** Check references and runtime paths before removing code. Target dead paths, duplicate behavior, pass-through wrappers, single-use machinery, and obsolete supporting artifacts.\n\n   Keep abstractions that own an invariant or isolate actual variation. Reject changes that hide behavior, obscure names, or relocate complexity.\n\n   Done when each proposed removal has evidence beyond line count.\n\n3. **Apply the reduction.** Delete dead code, inline shallow indirection, collapse equivalent branches, and reuse existing primitives. Remove newly unused artifacts only within the authorized scope.\n\n   Keep error order, side effects, return shapes, and boundary values intact. Ask before an unrequested contract change. For generated output, change its source or generator instead.\n\n   Done when the scoped reduction is coherent and no reference dangles.\n\n4. **Prove preservation.** Run the same characterization checks after editing. Run existing focused tests and affected type, lint, build, or integration checks. Inspect the diff for contract drift and unrelated changes.\n\n   Separate tested behavior from static reasoning. Name missing evidence instead of claiming full preservation from inspection.\n\n   Done when checks pass and each material contract has evidence or a named limitation.\n\n## Example\n\nA factory constructs a one-use class whose only method normalizes an email and checks a list. After confirming no caller imports the class or factory, preserve the public function and replace the machinery with:\n\n```js\nimport assert from \"node:assert\u002Fstrict\";\n\nexport function isBlockedEmail(email, blockedEmails) {\n  const normalize = value => String(value).trim().toLowerCase();\n  const blocked = new Set(blockedEmails.map(normalize));\n  return blocked.has(normalize(email));\n}\n\nassert.equal(isBlockedEmail(\" X@Example.com \", [\"x@example.com\"]), true);\nassert.equal(isBlockedEmail(\"y@example.com\", [\"x@example.com\"]), false);\n```\n\nRun the checks before and after the change. Preserve any additional mutation or performance contract revealed by callers; this example is not permission to change it.\n\n## Verification\n\nReport the concrete reduction, changed files, executed checks, and evidence limits. Every edit must preserve the authorized contracts and reduce concepts without making the result harder to read.\n\nDelete before abstracting. Stop where further reduction would change a contract or reduce clarity.\n","# Simplify Code\n\nDelete unjustified concepts while preserving observable behavior. Prefer a direct implementation over fewer characters.\n\n## Scope\n\nUse for explicit requests to simplify working code, remove duplication, or eliminate shallow wrappers and speculative abstractions.\n\nSimplification authorizes local edits and meaningful verification within the requested scope. Preserve public APIs, persisted formats, errors, and meaningful performance characteristics unless the user authorizes their change.\n\nUse `diagnose`, when installed, for unknown failures; otherwise establish the cause first. Use `review-code`, when installed, for read-only assessment. Handle new behavior through the project's implementation workflow. Broad architectural redesign needs a separate scope.\n\n## Workflow\n\n1. **Pin the contracts.** Read repository instructions, the requested code, callers, tests, and current diff. Preserve user-authored work. Identify exports, outputs, error behavior, mutation, and persistence that callers rely on.\n\n   When behavior tests are absent, disclose the gap. Characterize the relevant behavior before editing using existing tools. Add local checks when they meaningfully protect this cleanup. Honor an explicit no-test or no-write restriction; use inline probes where allowed.\n\n   Ask before installing tooling, crossing scope, or selecting an ambiguous behavior contract. Continue unaffected cleanup while a separate decision is pending.\n\n   Done when the cleanup has a known boundary and a preservation check or explicit evidence limit.\n\n2. **Find deletions that earn their keep.** Check references and runtime paths before removing code. Target dead paths, duplicate behavior, pass-through wrappers, single-use machinery, and obsolete supporting artifacts.\n\n   Keep abstractions that own an invariant or isolate actual variation. Reject changes that hide behavior, obscure names, or relocate complexity.\n\n   Done when each proposed removal has evidence beyond line count.\n\n3. **Apply the reduction.** Delete dead code, inline shallow indirection, collapse equivalent branches, and reuse existing primitives. Remove newly unused artifacts only within the authorized scope.\n\n   Keep error order, side effects, return shapes, and boundary values intact. Ask before an unrequested contract change. For generated output, change its source or generator instead.\n\n   Done when the scoped reduction is coherent and no reference dangles.\n\n4. **Prove preservation.** Run the same characterization checks after editing. Run existing focused tests and affected type, lint, build, or integration checks. Inspect the diff for contract drift and unrelated changes.\n\n   Separate tested behavior from static reasoning. Name missing evidence instead of claiming full preservation from inspection.\n\n   Done when checks pass and each material contract has evidence or a named limitation.\n\n## Example\n\nA factory constructs a one-use class whose only method normalizes an email and checks a list. After confirming no caller imports the class or factory, preserve the public function and replace the machinery with:\n\n```js\nimport assert from \"node:assert\u002Fstrict\";\n\nexport function isBlockedEmail(email, blockedEmails) {\n  const normalize = value => String(value).trim().toLowerCase();\n  const blocked = new Set(blockedEmails.map(normalize));\n  return blocked.has(normalize(email));\n}\n\nassert.equal(isBlockedEmail(\" X@Example.com \", [\"x@example.com\"]), true);\nassert.equal(isBlockedEmail(\"y@example.com\", [\"x@example.com\"]), false);\n```\n\nRun the checks before and after the change. Preserve any additional mutation or performance contract revealed by callers; this example is not permission to change it.\n\n## Verification\n\nReport the concrete reduction, changed files, executed checks, and evidence limits. Every edit must preserve the authorized contracts and reduce concepts without making the result harder to read.\n\nDelete before abstracting. Stop where further reduction would change a contract or reduce clarity.\n",{"name":5,"license":15,"metadata":24,"description":27},{"summary":25,"category":26},"Condenses scoped code by deleting unjustified concepts while preserving maintainability and observable contracts.","Quality","Use when the user asks to \"simplify this code\", \"remove the fluff\", or \"clean up this over-engineered module\", or wants working code that is bloated, duplicated, over-abstracted, or dependency-heavy reduced without changing behavior.\n","main","9a3fe345285b86c3071deb2ecb302dff99a855b8","skills\u002Fsimplify-code",0,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills","https:\u002F\u002Fgithub.com\u002Fadriancodes","2026-11-12 06:06:49",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add adriancodes\u002Fskills --skill simplify-code",{"tool":41,"command":42},"bunx","bunx skills add adriancodes\u002Fskills --skill simplify-code",{"tool":44,"command":45},"pnpm","pnpm dlx skills add adriancodes\u002Fskills --skill simplify-code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002FSKILL.md",true,[49,55,61,67,71,75,79,83,87,91,95,99,103,107,111],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"evals\u002Fcases.jsonl","OTHER","其他",2818,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Fcases.jsonl",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"evals\u002Fcheck-candidate.mjs","SCRIPT","脚本",1747,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Fcheck-candidate.mjs",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"evals\u002Ffixtures\u002Flegacy-flags\u002Fpackage.json","REFERENCE","参考文档",18,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ffixtures\u002Flegacy-flags\u002Fpackage.json",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"evals\u002Ffixtures\u002Flegacy-flags\u002FREADME.md",330,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ffixtures\u002Flegacy-flags\u002FREADME.md",{"path":72,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":73,"sourceHtmlUrl":74},"evals\u002Ffixtures\u002Flegacy-flags\u002Fsrc\u002Flegacy-flags.js",675,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ffixtures\u002Flegacy-flags\u002Fsrc\u002Flegacy-flags.js",{"path":76,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":77,"sourceHtmlUrl":78},"evals\u002Ffixtures\u002Forder-summary\u002Fpackage.json",51,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ffixtures\u002Forder-summary\u002Fpackage.json",{"path":80,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":81,"sourceHtmlUrl":82},"evals\u002Ffixtures\u002Forder-summary\u002FREADME.md",434,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ffixtures\u002Forder-summary\u002FREADME.md",{"path":84,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":85,"sourceHtmlUrl":86},"evals\u002Ffixtures\u002Forder-summary\u002Fsrc\u002Forder-summary.js",1532,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ffixtures\u002Forder-summary\u002Fsrc\u002Forder-summary.js",{"path":88,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":89,"sourceHtmlUrl":90},"evals\u002Ffixtures\u002Forder-summary\u002Ftest\u002Forder-summary.test.js",1214,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ffixtures\u002Forder-summary\u002Ftest\u002Forder-summary.test.js",{"path":92,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":93,"sourceHtmlUrl":94},"evals\u002Fopportunity.md",2169,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Fopportunity.md",{"path":96,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":97,"sourceHtmlUrl":98},"evals\u002Fresults\u002FREADME.md",2779,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Fresults\u002FREADME.md",{"path":100,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":101,"sourceHtmlUrl":102},"evals\u002Fresults\u002Ftier2-2026-08-01.md",5681,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Fresults\u002Ftier2-2026-08-01.md",{"path":104,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":105,"sourceHtmlUrl":106},"evals\u002Fretired-cases.jsonl",1061,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Fretired-cases.jsonl",{"path":108,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":109,"sourceHtmlUrl":110},"evals\u002Fskill-brief.md",2836,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Fskill-brief.md",{"path":112,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":113,"sourceHtmlUrl":114},"evals\u002Ftrigger-cases.jsonl",492,"https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsimplify-code\u002Fevals\u002Ftrigger-cases.jsonl",[116,123,130,137,144,151],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M78C1QNZAXX06QMDJ8R65TTV","write-agent-instructions","Make the smallest evidence-backed change to persistent project instructions and test downstream behavior.","https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-agent-instructions\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M78C1K3QVP67S0TRERZ5YNGB","verify-work","Use when a finished, runnable artifact (a script, config, parser, prompt, or CLI, not a diff under review) must survive hostile input before shipping: the user asks to \"verify this script\", \"find the loopholes\", \"test this properly against bad input\", or asks \"is this ready to ship\" about one. Also when a shipped artifact failed on an input nobody tried, or when verification so far is a happy-path smoke test.","https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fverify-work\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M78C1DDYDEQ7H1HNW84VW1V3","understand-codebase","Use when the user asks to \"understand this codebase\", \"how does this feature work in this repo?\", \"trace this feature through the code\", or needs onboarding, an architecture explanation, or answers about unfamiliar code. Also use for read-only code-path questions before a change.","https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Funderstand-codebase\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M78C18C6TG62PY1PQBGCSKXR","tdd","Use when writing or changing production behavior: implementing a feature, fixing a bug whose cause is already known, or altering stored, transformed, migrated, serialized, or externally transmitted data. Also use when a user says \"use TDD\", \"test first\", or \"red-green-refactor\", and when code is being written before a failing test. For a failure whose cause is unknown, diagnose first.","https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":19},"01M78C127TPYNJBX0B4BCF7246","review-session","Review an agent session for evidence-backed friction and the smallest measurable remedies.","https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Freview-session\u002FSKILL.md",[],[],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"01M78C0XJK1YEAQWV7NA2GYBRE","review-code","Use when a user asks to \"review this branch\", \"review this PR\", \"review my changes\", or \"review since main\". Also use when asked whether a branch, PR, or diff is ready to merge or ship, and for work-in-progress diffs, staged changes, suspected regressions in a patch, or checking implementation against a specification.","https:\u002F\u002Fgithub.com\u002Fadriancodes\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Freview-code\u002FSKILL.md",[],[]]