[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C5H8M2N0RN2XMQ0SZA3ZVF":3,"skill-same:01M6C5H8M2N0RN2XMQ0SZA3ZVF":111},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":57,"linkOnly":58,"markdownContent":59,"markdownBody":60,"frontMatter":61,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":17,"ownerHtmlUrl":72,"ownerBlogUrl":17,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6C5H8M2N0RN2XMQ0SZA3ZVF","code-dead-code","死代码检测与清理","Detect dead code, unused exports, unreachable branches, and orphaned files. Use when reducing maintenance burden, cleaning up after refactors, or auditing codebase health.","检测死代码、未使用的导出、不可达分支和孤立文件。适用于减轻维护负担、重构后清理或审计代码库健康状况。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fcode-quality-plugin\u002Fskills\u002Fcode-dead-code\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CBEPE1MJTS9ARYEK7J8BH4","代码解析与结构分析","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56],"code","dead code","code dead code","2026","directory","when","unreachable","unused","for","path","sonnet","knip","cargo","branches","files","maintenance","up","codebase health","use","fix","read","grep","tool","prune","Bash","health","2026-11-10 10:12:30",false,"---\nname: code-dead-code\ndescription: Detect dead code, unused exports, unreachable branches, and orphaned files. Use when reducing maintenance burden, cleaning up after refactors, or auditing codebase health.\nargs: \"[PATH] [--tool \u003Cknip|vulture|machete>] [--fix]\"\nargument-hint: path or directory to scan for dead code\nallowed-tools: Bash(npx knip *), Bash(vulture *), Bash(cargo machete *), Bash(npx ts-prune *), Read, Grep, Glob, TodoWrite\nmodel: sonnet\ncreated: 2026-04-10\nmodified: 2026-05-04\nreviewed: 2026-04-10\n---\n\n# \u002Fcode:dead-code\n\nDetect and report dead code across languages.\n\n## When to Use This Skill\n\n| Use this skill when... | Use something else when... |\n|---|---|\n| Cleaning up after a major refactor | Setting up dead code tooling → \u002Fconfigure:dead-code |\n| Auditing codebase for unused exports | Looking for duplicated code → \u002Fcode:dry-consolidation |\n| Reducing bundle size by removing dead code | Looking for anti-patterns → \u002Fcode:antipatterns |\n| Pre-merge cleanup of feature branches | Need full code review → \u002Fcode:review |\n\n## Context\n\n- Package files: !`find . -maxdepth 1 \\( -name \"package.json\" -o -name \"pyproject.toml\" -o -name \"Cargo.toml\" \\) -type f`\n- Knip config: !`find . -maxdepth 1 \\( -name \"knip.json\" -o -name \"knip.jsonc\" -o -name \".knip.json\" \\) -type f`\n\n## Parameters\n\n- `$1`: Path to scan (defaults to current directory)\n- `--tool`: Force specific tool (knip, vulture, machete)\n- `--fix`: Automatically remove detected dead code where safe\n\n## Execution\n\nExecute this dead code detection workflow:\n\n### Step 1: Detect project type and available tools\n\nCheck which languages are present and which dead code tools are available:\n- JavaScript\u002FTypeScript: Check for knip or ts-prune\n- Python: Check for vulture\n- Rust: Check for cargo-machete\n\nIf no tool is available, report which tool to install and suggest `\u002Fconfigure:dead-code` to set up the project.\n\n### Step 2: Run dead code detection\n\n**JavaScript\u002FTypeScript (Knip):**\n```bash\nnpx knip --reporter compact\n```\n\nIf Knip is not configured:\n```bash\nnpx knip --reporter compact --include files,exports,dependencies\n```\n\n**Python (Vulture):**\n```bash\nvulture ${1:-.} --min-confidence 80\n```\n\n**Rust (cargo-machete):**\n```bash\ncargo machete\n```\n\n### Step 3: Categorize findings\n\nGroup results by severity:\n\n| Category | Severity | Action |\n|---|---|---|\n| Unused dependencies | High | Remove from package manifest |\n| Unused exports | Medium | Remove export, check downstream |\n| Unused files | Medium | Delete after confirming no dynamic imports |\n| Unused variables\u002Ffunctions | Low | Remove if truly dead |\n\n### Step 4: Apply fixes (if --fix)\n\nIf `--fix` flag is set:\n1. Remove unused dependencies: update package.json\u002Fpyproject.toml\u002FCargo.toml\n2. Remove unused exports (only if no external consumers)\n3. Delete orphaned files (confirm no dynamic imports\u002Frequires reference them)\n4. Run project tests to verify nothing broke\n\nIf `--fix` is not set, present a summary report with actionable items.\n\n### Step 5: Report results\n\nPrint summary:\n```\nDead Code Report\n================\nUnused files: N\nUnused exports: N\nUnused dependencies: N\nTotal dead code: N items\n\nTop items to remove:\n- [file:export] reason\n```\n\n## Post-Actions\n\n- If many unused dependencies found → suggest `npm prune` or equivalent\n- If no dead code tool configured → suggest `\u002Fconfigure:dead-code`\n- If fixes applied → suggest running tests with `\u002Ftest:run`\n\n## Agentic Optimizations\n\n| Context | Command |\n|---|---|\n| Quick JS\u002FTS scan | `npx knip --reporter compact --include files,exports` |\n| Python scan | `vulture . --min-confidence 80` |\n| Rust scan | `cargo machete` |\n| CI mode | `npx knip --reporter json` |\n| Exports only | `npx knip --include exports --reporter compact` |\n","# \u002Fcode:dead-code\n\nDetect and report dead code across languages.\n\n## When to Use This Skill\n\n| Use this skill when... | Use something else when... |\n|---|---|\n| Cleaning up after a major refactor | Setting up dead code tooling → \u002Fconfigure:dead-code |\n| Auditing codebase for unused exports | Looking for duplicated code → \u002Fcode:dry-consolidation |\n| Reducing bundle size by removing dead code | Looking for anti-patterns → \u002Fcode:antipatterns |\n| Pre-merge cleanup of feature branches | Need full code review → \u002Fcode:review |\n\n## Context\n\n- Package files: !`find . -maxdepth 1 \\( -name \"package.json\" -o -name \"pyproject.toml\" -o -name \"Cargo.toml\" \\) -type f`\n- Knip config: !`find . -maxdepth 1 \\( -name \"knip.json\" -o -name \"knip.jsonc\" -o -name \".knip.json\" \\) -type f`\n\n## Parameters\n\n- `$1`: Path to scan (defaults to current directory)\n- `--tool`: Force specific tool (knip, vulture, machete)\n- `--fix`: Automatically remove detected dead code where safe\n\n## Execution\n\nExecute this dead code detection workflow:\n\n### Step 1: Detect project type and available tools\n\nCheck which languages are present and which dead code tools are available:\n- JavaScript\u002FTypeScript: Check for knip or ts-prune\n- Python: Check for vulture\n- Rust: Check for cargo-machete\n\nIf no tool is available, report which tool to install and suggest `\u002Fconfigure:dead-code` to set up the project.\n\n### Step 2: Run dead code detection\n\n**JavaScript\u002FTypeScript (Knip):**\n```bash\nnpx knip --reporter compact\n```\n\nIf Knip is not configured:\n```bash\nnpx knip --reporter compact --include files,exports,dependencies\n```\n\n**Python (Vulture):**\n```bash\nvulture ${1:-.} --min-confidence 80\n```\n\n**Rust (cargo-machete):**\n```bash\ncargo machete\n```\n\n### Step 3: Categorize findings\n\nGroup results by severity:\n\n| Category | Severity | Action |\n|---|---|---|\n| Unused dependencies | High | Remove from package manifest |\n| Unused exports | Medium | Remove export, check downstream |\n| Unused files | Medium | Delete after confirming no dynamic imports |\n| Unused variables\u002Ffunctions | Low | Remove if truly dead |\n\n### Step 4: Apply fixes (if --fix)\n\nIf `--fix` flag is set:\n1. Remove unused dependencies: update package.json\u002Fpyproject.toml\u002FCargo.toml\n2. Remove unused exports (only if no external consumers)\n3. Delete orphaned files (confirm no dynamic imports\u002Frequires reference them)\n4. Run project tests to verify nothing broke\n\nIf `--fix` is not set, present a summary report with actionable items.\n\n### Step 5: Report results\n\nPrint summary:\n```\nDead Code Report\n================\nUnused files: N\nUnused exports: N\nUnused dependencies: N\nTotal dead code: N items\n\nTop items to remove:\n- [file:export] reason\n```\n\n## Post-Actions\n\n- If many unused dependencies found → suggest `npm prune` or equivalent\n- If no dead code tool configured → suggest `\u002Fconfigure:dead-code`\n- If fixes applied → suggest running tests with `\u002Ftest:run`\n\n## Agentic Optimizations\n\n| Context | Command |\n|---|---|\n| Quick JS\u002FTS scan | `npx knip --reporter compact --include files,exports` |\n| Python scan | `vulture . --min-confidence 80` |\n| Rust scan | `cargo machete` |\n| CI mode | `npx knip --reporter json` |\n| Exports only | `npx knip --include exports --reporter compact` |\n",{"args":62,"name":5,"model":41,"created":63,"modified":64,"reviewed":63,"description":7,"allowed-tools":65,"argument-hint":66},"[PATH] [--tool \u003Cknip|vulture|machete>] [--fix]",1775779200000,1777852800000,"Bash(npx knip *), Bash(vulture *), Bash(cargo machete *), Bash(npx ts-prune *), Read, Grep, Glob, TodoWrite","path or directory to scan for dead code","main","bdd0582f1a2ba53d21061835bfd72d45f2f954f4","code-quality-plugin\u002Fskills\u002Fcode-dead-code",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add laurigates\u002Fclaude-plugins --skill code-dead-code",{"tool":81,"command":82},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill code-dead-code",{"tool":84,"command":85},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill code-dead-code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fcode-quality-plugin\u002Fskills\u002Fcode-dead-code\u002FSKILL.md",true,[89,95,99,103,107],{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"domain.md","REFERENCE","参考文档",2045,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-setup-matt-pocock-skills\u002Fdomain.md",{"path":96,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":97,"sourceHtmlUrl":98},"issue-tracker-github.md",2471,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-setup-matt-pocock-skills\u002Fissue-tracker-github.md",{"path":100,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":101,"sourceHtmlUrl":102},"issue-tracker-gitlab.md",2517,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-setup-matt-pocock-skills\u002Fissue-tracker-gitlab.md",{"path":104,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":105,"sourceHtmlUrl":106},"issue-tracker-local.md",838,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-setup-matt-pocock-skills\u002Fissue-tracker-local.md",{"path":108,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":109,"sourceHtmlUrl":110},"triage-labels.md",1045,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-setup-matt-pocock-skills\u002Ftriage-labels.md",[112,120,142,163,179,201],{"skillNo":113,"name":114,"nameZh":17,"description":115,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":119},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":121,"name":122,"nameZh":17,"description":123,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":57},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[127,128,129,130,131,132,133,134,135,136,49,36,55,137,138,139,140,141,34,51],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"skillNo":143,"name":144,"nameZh":17,"description":145,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":57},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[130,149,150,151,152,153,36,55,154,155,156,34,51,157,158,159,160,161,162,49],"kitty session persistence","session","persistence","false","snapshots","uname","reboot","terminal","write","edit","snapshot","macos","sessions","restore",{"skillNo":164,"name":165,"nameZh":17,"description":166,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":57},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[170,171,130,172,173,132,174,175,133,176,177,49,36,178,55,138,139,156,34,51],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":180,"name":181,"nameZh":17,"description":182,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":57},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[186,187,188,189,190,191,192,193,45,194,49,36,55,195,137,196,197,198,199,200],"docs reference check","check","reference check","reference","docs","links","python3","repo","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":202,"name":203,"nameZh":204,"description":205,"descriptionZh":206,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":207,"categories":208,"keywords":215,"publishedAt":57},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[209,212],{"categoryNo":210,"categoryName":211,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":213,"categoryName":214,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[216,217,218,219,192,220,51,221,158,222,223,224,49,55,137,225,226,36,227,228,229,141,34],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]