[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C6C77RAMKFFXQ051B4J0YH":3,"skill-same:01M6C6C77RAMKFFXQ051B4J0YH":75},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6C6C77RAMKFFXQ051B4J0YH","cargo-machete",null,"cargo-machete: detect unused Rust dependencies. Use when auditing Cargo.toml, optimizing build times, or cleaning up dependency bloat.","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",59,"MIT","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Frust-plugin\u002Fskills\u002Fcargo-machete\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"cargo machete","cargo","dependencies","2026","when","unused","bloat","2025","detect","false","toml","rust","wed","build","up","dependency","use","read","grep","Bash","2026-11-10 10:12:30",false,"---\ncreated: 2025-12-16\nmodified: 2026-11-04\nreviewed: 2025-12-16\nname: cargo-machete\ndescription: \"cargo-machete: detect unused Rust dependencies. Use when auditing Cargo.toml, optimizing build times, or cleaning up dependency bloat.\"\nuser-invocable: false\nallowed-tools: Bash, Read, Grep, Glob\n---\n\n# cargo-machete - Unused Dependency Detection\n\nDetect and remove unused dependencies in Rust projects using cargo-machete.\n\n## When to Use This Skill\n\n| Use this skill when... | Use X instead when... |\n|------------------------|----------------------|\n| Auditing for unused dependencies | Checking for outdated deps -- use `cargo outdated` |\n| Cleaning up Cargo.toml | Auditing security vulnerabilities -- use `cargo audit` |\n| Optimizing build times by removing bloat | Checking license compliance -- use `cargo deny` |\n| Verifying deps in CI | Need nightly-accurate analysis -- use `cargo +nightly udeps` |\n\n## Context\n\n- Cargo.toml: !`find . -maxdepth 1 -name 'Cargo.toml'`\n- Workspace: !`find . -maxdepth 1 -name 'Cargo.toml' -exec grep -q '\\[workspace\\]' {} +`\n- cargo-machete installed: !`cargo machete --version`\n- Machete config: !`find . -maxdepth 1 -name '.cargo-machete.toml'`\n- Workspace members: !`find . -maxdepth 1 -name 'Cargo.toml' -exec grep -A 20 '^\\[workspace\\]' {} +`\n\n## Execution\n\nExecute this unused dependency analysis:\n\n### Step 1: Verify installation\n\nCheck if cargo-machete is installed (see [Context](#context)). If not installed, install it:\n\n```bash\ncargo install cargo-machete\n```\n\n### Step 2: Run dependency analysis\n\nRun cargo-machete with metadata for detailed output:\n\n```bash\n# Single crate\ncargo machete --with-metadata\n\n# Workspace (if Context shows workspace)\ncargo machete --workspace --with-metadata\n```\n\n### Step 3: Evaluate results\n\nReview the output and classify each finding:\n\n| Finding | Action |\n|---------|--------|\n| Genuinely unused dependency | Remove with `--fix` or manually |\n| Proc-macro dependency (e.g., serde derive) | Add `machete:ignore` comment |\n| Build.rs-only dependency | Move to `[build-dependencies]` |\n| Re-exported dependency | Add `machete:ignore` comment with explanation |\n\n### Step 4: Apply fixes\n\nFor confirmed unused dependencies, auto-remove them:\n\n```bash\ncargo machete --fix\n```\n\nFor false positives, add ignore annotations in `Cargo.toml`:\n\n```toml\nserde = \"1.0\"  # machete:ignore - used via derive macro\n```\n\nOr create `.cargo-machete.toml` for project-wide ignores:\n\n```toml\n[ignore]\ndependencies = [\"serde\", \"log\"]\n```\n\n### Step 5: Verify build\n\nAfter removing dependencies, confirm everything still compiles:\n\n```bash\ncargo check --all-targets\ncargo test --no-run\n```\n\n## False Positive Handling\n\n| Scenario | Solution |\n|----------|----------|\n| Proc-macro deps (e.g., serde derive) | `machete:ignore` comment |\n| Build.rs-only deps | Move to `[build-dependencies]` |\n| Re-exported deps | `machete:ignore` comment with explanation |\n| Example\u002Fbench-only deps | Verify in `[dev-dependencies]` |\n\n## Comparison with cargo-udeps\n\n| Feature | cargo-machete | cargo-udeps |\n|---------|---------------|-------------|\n| Accuracy | Good | Excellent |\n| Speed | Very fast | Slower |\n| Rust version | Stable | Requires nightly |\n| False positives | Some | Fewer |\n\nUse cargo-machete for fast CI checks. Use cargo-udeps for thorough audits:\n\n```bash\ncargo +nightly udeps --workspace --all-features\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Quick check | `cargo machete` |\n| Detailed check | `cargo machete --with-metadata` |\n| Workspace check | `cargo machete --workspace --with-metadata` |\n| Auto-fix | `cargo machete --fix` |\n| Verify after fix | `cargo check --all-targets` |\n| Accurate check (nightly) | `cargo +nightly udeps --workspace` |\n\n## Quick Reference\n\n| Flag | Description |\n|------|-------------|\n| `--with-metadata` | Show detailed output with versions and locations |\n| `--fix` | Auto-remove unused dependencies from Cargo.toml |\n| `--workspace` | Check all workspace members |\n| `-p \u003Ccrate>` | Check specific workspace member |\n| `--exclude \u003Ccrate>` | Exclude specific workspace member |\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| Proc macro flagged as unused | Add `machete:ignore` comment in Cargo.toml |\n| Build.rs dep flagged | Move to `[build-dependencies]` |\n| Re-exported dep flagged | Add `machete:ignore` with explanation |\n| Need more accuracy | Use `cargo +nightly udeps` |\n\nFor CI integration patterns, configuration file examples, pre-commit setup, and Makefile integration, see [REFERENCE.md](REFERENCE.md).\n","# cargo-machete - Unused Dependency Detection\n\nDetect and remove unused dependencies in Rust projects using cargo-machete.\n\n## When to Use This Skill\n\n| Use this skill when... | Use X instead when... |\n|------------------------|----------------------|\n| Auditing for unused dependencies | Checking for outdated deps -- use `cargo outdated` |\n| Cleaning up Cargo.toml | Auditing security vulnerabilities -- use `cargo audit` |\n| Optimizing build times by removing bloat | Checking license compliance -- use `cargo deny` |\n| Verifying deps in CI | Need nightly-accurate analysis -- use `cargo +nightly udeps` |\n\n## Context\n\n- Cargo.toml: !`find . -maxdepth 1 -name 'Cargo.toml'`\n- Workspace: !`find . -maxdepth 1 -name 'Cargo.toml' -exec grep -q '\\[workspace\\]' {} +`\n- cargo-machete installed: !`cargo machete --version`\n- Machete config: !`find . -maxdepth 1 -name '.cargo-machete.toml'`\n- Workspace members: !`find . -maxdepth 1 -name 'Cargo.toml' -exec grep -A 20 '^\\[workspace\\]' {} +`\n\n## Execution\n\nExecute this unused dependency analysis:\n\n### Step 1: Verify installation\n\nCheck if cargo-machete is installed (see [Context](#context)). If not installed, install it:\n\n```bash\ncargo install cargo-machete\n```\n\n### Step 2: Run dependency analysis\n\nRun cargo-machete with metadata for detailed output:\n\n```bash\n# Single crate\ncargo machete --with-metadata\n\n# Workspace (if Context shows workspace)\ncargo machete --workspace --with-metadata\n```\n\n### Step 3: Evaluate results\n\nReview the output and classify each finding:\n\n| Finding | Action |\n|---------|--------|\n| Genuinely unused dependency | Remove with `--fix` or manually |\n| Proc-macro dependency (e.g., serde derive) | Add `machete:ignore` comment |\n| Build.rs-only dependency | Move to `[build-dependencies]` |\n| Re-exported dependency | Add `machete:ignore` comment with explanation |\n\n### Step 4: Apply fixes\n\nFor confirmed unused dependencies, auto-remove them:\n\n```bash\ncargo machete --fix\n```\n\nFor false positives, add ignore annotations in `Cargo.toml`:\n\n```toml\nserde = \"1.0\"  # machete:ignore - used via derive macro\n```\n\nOr create `.cargo-machete.toml` for project-wide ignores:\n\n```toml\n[ignore]\ndependencies = [\"serde\", \"log\"]\n```\n\n### Step 5: Verify build\n\nAfter removing dependencies, confirm everything still compiles:\n\n```bash\ncargo check --all-targets\ncargo test --no-run\n```\n\n## False Positive Handling\n\n| Scenario | Solution |\n|----------|----------|\n| Proc-macro deps (e.g., serde derive) | `machete:ignore` comment |\n| Build.rs-only deps | Move to `[build-dependencies]` |\n| Re-exported deps | `machete:ignore` comment with explanation |\n| Example\u002Fbench-only deps | Verify in `[dev-dependencies]` |\n\n## Comparison with cargo-udeps\n\n| Feature | cargo-machete | cargo-udeps |\n|---------|---------------|-------------|\n| Accuracy | Good | Excellent |\n| Speed | Very fast | Slower |\n| Rust version | Stable | Requires nightly |\n| False positives | Some | Fewer |\n\nUse cargo-machete for fast CI checks. Use cargo-udeps for thorough audits:\n\n```bash\ncargo +nightly udeps --workspace --all-features\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Quick check | `cargo machete` |\n| Detailed check | `cargo machete --with-metadata` |\n| Workspace check | `cargo machete --workspace --with-metadata` |\n| Auto-fix | `cargo machete --fix` |\n| Verify after fix | `cargo check --all-targets` |\n| Accurate check (nightly) | `cargo +nightly udeps --workspace` |\n\n## Quick Reference\n\n| Flag | Description |\n|------|-------------|\n| `--with-metadata` | Show detailed output with versions and locations |\n| `--fix` | Auto-remove unused dependencies from Cargo.toml |\n| `--workspace` | Check all workspace members |\n| `-p \u003Ccrate>` | Check specific workspace member |\n| `--exclude \u003Ccrate>` | Exclude specific workspace member |\n\n## Troubleshooting\n\n| Problem | Solution |\n|---------|----------|\n| Proc macro flagged as unused | Add `machete:ignore` comment in Cargo.toml |\n| Build.rs dep flagged | Move to `[build-dependencies]` |\n| Re-exported dep flagged | Add `machete:ignore` with explanation |\n| Need more accuracy | Use `cargo +nightly udeps` |\n\nFor CI integration patterns, configuration file examples, pre-commit setup, and Makefile integration, see [REFERENCE.md](REFERENCE.md).\n",{"name":5,"created":44,"modified":45,"reviewed":44,"description":7,"allowed-tools":46,"user-invocable":40},1765843200000,1793750400000,"Bash, Read, Grep, Glob","main","9d783554148f9c8a9c55a486b480760d3da673e6","rust-plugin\u002Fskills\u002Fcargo-machete",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-12 03:43:32",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add laurigates\u002Fclaude-plugins --skill cargo-machete",{"tool":61,"command":62},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill cargo-machete",{"tool":64,"command":65},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill cargo-machete","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Frust-plugin\u002Fskills\u002Fcargo-machete\u002FSKILL.md",true,[69],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"REFERENCE.md","REFERENCE","参考文档",4742,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Frust-plugin\u002Fskills\u002Fcargo-machete\u002FREFERENCE.md",[76,103,123,139,162,192],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":87,"publishedAt":39},"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",[82],{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",[88,89,90,91,92,93,94,95,96,97,35,23,38,98,99,100,101,102,22,36],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"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":39},"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",[],[91,110,111,112,28,113,23,38,114,115,116,22,36,117,118,119,120,121,122,35],"kitty session persistence","session","persistence","snapshots","uname","reboot","terminal","write","edit","snapshot","macos","sessions","restore",{"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":39},"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",[],[130,131,91,132,133,93,134,135,94,136,137,35,23,138,38,99,100,116,22,36],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":39},"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",[],[146,147,148,149,150,151,152,153,154,155,35,23,38,156,98,157,158,159,160,161],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":177,"publishedAt":39},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","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.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[168,171,172],{"categoryNo":169,"categoryName":170,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":83,"categoryName":84,"taxonomyType":85,"taxonomyTypeDesc":86},{"categoryNo":173,"categoryName":174,"taxonomyType":175,"taxonomyTypeDesc":176},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[178,179,180,181,152,182,36,183,118,184,185,186,35,38,98,187,188,23,189,190,191,102,22],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":201,"publishedAt":39},"01M6C6NABWW1X58KJJM4F6GQMQ","youtube-studio-share","Share a private YouTube video with a whole Google Workspace organization by scripting YouTube Studio in the browser. Use when a video must be org-only.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-studio-share\u002FSKILL.md",[198],{"categoryNo":199,"categoryName":200,"taxonomyType":85,"taxonomyTypeDesc":86},"01JBSEEDCAT000000000000023","Skill与智能体开发",[202,203,204,205,180,181,206,207,208,209,210,36,211,212,213,214,35,215,23,100,216,22],"youtube studio share","share","youtube studio","studio","browser","javascript","scripting","google workspace","workspace","tool","google","only","MCP","chrome","organization"]