[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DRTEWJZA350QKRK33M8B3":3,"skill-same:01M75DRTEWJZA350QKRK33M8B3":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75DRTEWJZA350QKRK33M8B3","fix-errors",null,"Fix compilation errors, linting issues, and test failures in the warp Rust codebase. Covers presubmit checks, WASM-specific errors, and running specific tests. Use when the user hits build errors, clippy or fmt failures, test failures, or needs to run or interpret presubmit before a PR.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Ffix-errors\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: fix-errors\ndescription: Fix compilation errors, linting issues, and test failures in the warp Rust codebase. Covers presubmit checks, WASM-specific errors, and running specific tests. Use when the user hits build errors, clippy or fmt failures, test failures, or needs to run or interpret presubmit before a PR.\n---\n\n# fix-errors\n\nFix compilation errors, linting issues, and test failures in the warp Rust codebase.\n\n## Overview\n\nThis skill helps resolve common issues encountered during development, including:\n- Compilation errors (unused imports, type mismatches, etc.)\n- Linting failures (clippy warnings)\n- Formatting violations\n- WASM-specific errors\n- Test failures\n\nBefore opening or updating a pull request, all presubmit checks must pass.\n\n## Presubmit Checks\n\nRun all presubmit checks at once:\n\n```bash\n.\u002Fscript\u002Fpresubmit\n```\n\nThis runs formatting, linting, and all tests. If it passes, you're ready to open a PR.\n\n### Individual Checks\n\nRun checks separately when debugging specific issues:\n\n**Rust formatting:**\n```bash\ncargo fmt -- --check\n```\n\n**Clippy (full workspace):**\n```bash\ncargo clippy --workspace --exclude warp_completer --all-targets --all-features --tests -- -D warnings\ncargo clippy -p warp_completer --all-targets --tests -- -D warnings\n```\n\n**WASM Clippy:**\n```bash\ncargo clippy --target wasm32-unknown-unknown --profile release-wasm-debug_assertions --no-deps\n```\n\n**Objective-C\u002FC\u002FC++ formatting:**\n```bash\n.\u002Fscript\u002Frun-clang-format.py -r --extensions 'c,h,cpp,m' .\u002Fcrates\u002Fwarpui\u002Fsrc\u002F .\u002Fapp\u002Fsrc\u002F\n```\n\n**All tests:**\n```bash\ncargo nextest run --no-fail-fast --workspace --exclude command-signatures-v2\ncargo nextest run -p warp_completer --features v2\n```\n\n**Doc tests:**\n```bash\ncargo test --doc\n```\n\n## Running Specific Tests\n\n**Single package:**\n```bash\ncargo nextest run -p \u003Cpackage_name>\n```\n\n**Filter by test name:**\n```bash\ncargo nextest run -E 'test(\u003Csubstring>)'\n```\n\n**Specific package with filter:**\n```bash\ncargo nextest run -p \u003Cpackage_name> -E 'test(\u003Csubstring>)'\n```\n\n**With output (no capture):**\n```bash\ncargo nextest run -p \u003Cpackage> --nocapture\n```\n\n## Common Error Types\n\n### Unused Imports\nRemove unused `use` statements identified by the compiler.\n\n### Unused Constants\nRemove constants that are defined but never used.\n\n### Unknown Imports\nAdd the correct `use` statement for undefined types. Search the codebase to find the correct module path.\n\n### Type Mismatches\nUpdate function calls to pass arguments of the correct type. Common fixes:\n- Use `.as_str()` instead of `.clone()` when a `&str` is expected\n- Use `&value` when a reference is needed\n- Use `.to_string()` when `String` is expected but `&str` is provided\n\n### Struct Field Changes\nWhen a struct adds\u002Fremoves fields, update all places where it's constructed or destructured:\n- Struct initialization\n- Pattern matching (`match`, `if let`)\n- Destructuring assignments\n\n### Function Signature Changes\nWhen a function adds a new parameter, update all call sites to provide the new argument:\n- For `bool` params: pass `true` or `false` based on context\n- For `Option\u003CT>` params: pass `None` as default or `Some(value)` if needed\n\n### Enum Variant Changes\nWhen adding a new enum variant, update exhaustive `match` statements:\n- Add a new match arm with appropriate handling\n- Mirror the implementation pattern of similar variants\n\n### Incorrect Trait Implementation\nFix trait implementations that return the wrong type or don't satisfy trait bounds.\n\n### WASM-Specific Errors\n\nWASM builds (`wasm32-unknown-unknown` target) don't support filesystem operations. Code that uses filesystem APIs must be gated behind the `local_fs` feature flag.\n\n**Common WASM errors:**\n- Dead code warnings for code only used in non-WASM builds\n- Unused code that's only relevant when `local_fs` is available\n- Tests that require filesystem access\n\n**Fixes:**\n\n**Gate tests behind `local_fs`:**\n```rust\n#[test]\n#[cfg(feature = \"local_fs\")]\nfn test_find_git_repo_with_worktree() {\n    \u002F\u002F Test that uses filesystem operations\n}\n```\n\n**Conditionally allow dead code for types only used when `local_fs` is enabled:**\n```rust\n#[cfg_attr(not(feature = \"local_fs\"), allow(dead_code))]\n#[derive(Clone, EnumDiscriminants, Serialize)]\npub enum ExampleType {\n    \u002F\u002F Variants only used when local_fs is enabled\n    Variant1,\n    Variant2,\n    Variant3,\n}\n```\n\nWASM errors are discovered by running:\n\n```bash\ncargo clippy --target wasm32-unknown-unknown --profile release-wasm-debug_assertions --no-deps\n```\n\n## Best Practices\n\n**Before fixing:**\n- Read the full error message to understand the root cause\n- Check if multiple errors are related (fixing one may resolve others)\n- For trait\u002Ftype errors, verify you understand the expected vs actual types\n- For WASM errors, check if code needs to be gated behind `local_fs`\n\n**When fixing:**\n- Fix one error type at a time when there are multiple issues\n- Run `cargo check` frequently to verify fixes\n- For WASM errors, run WASM clippy to verify the fix\n- For complex changes, run relevant tests after fixing\n\n**After fixing:**\n- Always run `cargo fmt` and `cargo clippy` before pushing\n- Run the full presubmit script before opening or updating a PR. Use the `create-pr` skill for more detailed instructions\n- Verify tests pass in the areas you modified\n","# fix-errors\n\nFix compilation errors, linting issues, and test failures in the warp Rust codebase.\n\n## Overview\n\nThis skill helps resolve common issues encountered during development, including:\n- Compilation errors (unused imports, type mismatches, etc.)\n- Linting failures (clippy warnings)\n- Formatting violations\n- WASM-specific errors\n- Test failures\n\nBefore opening or updating a pull request, all presubmit checks must pass.\n\n## Presubmit Checks\n\nRun all presubmit checks at once:\n\n```bash\n.\u002Fscript\u002Fpresubmit\n```\n\nThis runs formatting, linting, and all tests. If it passes, you're ready to open a PR.\n\n### Individual Checks\n\nRun checks separately when debugging specific issues:\n\n**Rust formatting:**\n```bash\ncargo fmt -- --check\n```\n\n**Clippy (full workspace):**\n```bash\ncargo clippy --workspace --exclude warp_completer --all-targets --all-features --tests -- -D warnings\ncargo clippy -p warp_completer --all-targets --tests -- -D warnings\n```\n\n**WASM Clippy:**\n```bash\ncargo clippy --target wasm32-unknown-unknown --profile release-wasm-debug_assertions --no-deps\n```\n\n**Objective-C\u002FC\u002FC++ formatting:**\n```bash\n.\u002Fscript\u002Frun-clang-format.py -r --extensions 'c,h,cpp,m' .\u002Fcrates\u002Fwarpui\u002Fsrc\u002F .\u002Fapp\u002Fsrc\u002F\n```\n\n**All tests:**\n```bash\ncargo nextest run --no-fail-fast --workspace --exclude command-signatures-v2\ncargo nextest run -p warp_completer --features v2\n```\n\n**Doc tests:**\n```bash\ncargo test --doc\n```\n\n## Running Specific Tests\n\n**Single package:**\n```bash\ncargo nextest run -p \u003Cpackage_name>\n```\n\n**Filter by test name:**\n```bash\ncargo nextest run -E 'test(\u003Csubstring>)'\n```\n\n**Specific package with filter:**\n```bash\ncargo nextest run -p \u003Cpackage_name> -E 'test(\u003Csubstring>)'\n```\n\n**With output (no capture):**\n```bash\ncargo nextest run -p \u003Cpackage> --nocapture\n```\n\n## Common Error Types\n\n### Unused Imports\nRemove unused `use` statements identified by the compiler.\n\n### Unused Constants\nRemove constants that are defined but never used.\n\n### Unknown Imports\nAdd the correct `use` statement for undefined types. Search the codebase to find the correct module path.\n\n### Type Mismatches\nUpdate function calls to pass arguments of the correct type. Common fixes:\n- Use `.as_str()` instead of `.clone()` when a `&str` is expected\n- Use `&value` when a reference is needed\n- Use `.to_string()` when `String` is expected but `&str` is provided\n\n### Struct Field Changes\nWhen a struct adds\u002Fremoves fields, update all places where it's constructed or destructured:\n- Struct initialization\n- Pattern matching (`match`, `if let`)\n- Destructuring assignments\n\n### Function Signature Changes\nWhen a function adds a new parameter, update all call sites to provide the new argument:\n- For `bool` params: pass `true` or `false` based on context\n- For `Option\u003CT>` params: pass `None` as default or `Some(value)` if needed\n\n### Enum Variant Changes\nWhen adding a new enum variant, update exhaustive `match` statements:\n- Add a new match arm with appropriate handling\n- Mirror the implementation pattern of similar variants\n\n### Incorrect Trait Implementation\nFix trait implementations that return the wrong type or don't satisfy trait bounds.\n\n### WASM-Specific Errors\n\nWASM builds (`wasm32-unknown-unknown` target) don't support filesystem operations. Code that uses filesystem APIs must be gated behind the `local_fs` feature flag.\n\n**Common WASM errors:**\n- Dead code warnings for code only used in non-WASM builds\n- Unused code that's only relevant when `local_fs` is available\n- Tests that require filesystem access\n\n**Fixes:**\n\n**Gate tests behind `local_fs`:**\n```rust\n#[test]\n#[cfg(feature = \"local_fs\")]\nfn test_find_git_repo_with_worktree() {\n    \u002F\u002F Test that uses filesystem operations\n}\n```\n\n**Conditionally allow dead code for types only used when `local_fs` is enabled:**\n```rust\n#[cfg_attr(not(feature = \"local_fs\"), allow(dead_code))]\n#[derive(Clone, EnumDiscriminants, Serialize)]\npub enum ExampleType {\n    \u002F\u002F Variants only used when local_fs is enabled\n    Variant1,\n    Variant2,\n    Variant3,\n}\n```\n\nWASM errors are discovered by running:\n\n```bash\ncargo clippy --target wasm32-unknown-unknown --profile release-wasm-debug_assertions --no-deps\n```\n\n## Best Practices\n\n**Before fixing:**\n- Read the full error message to understand the root cause\n- Check if multiple errors are related (fixing one may resolve others)\n- For trait\u002Ftype errors, verify you understand the expected vs actual types\n- For WASM errors, check if code needs to be gated behind `local_fs`\n\n**When fixing:**\n- Fix one error type at a time when there are multiple issues\n- Run `cargo check` frequently to verify fixes\n- For WASM errors, run WASM clippy to verify the fix\n- For complex changes, run relevant tests after fixing\n\n**After fixing:**\n- Always run `cargo fmt` and `cargo clippy` before pushing\n- Run the full presubmit script before opening or updating a PR. Use the `create-pr` skill for more detailed instructions\n- Verify tests pass in the areas you modified\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Ffix-errors",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill fix-errors",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill fix-errors",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill fix-errors","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Ffix-errors\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]