[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75D33W31V44FAGCQ8RH7K8B":3,"skill-same:01M75D33W31V44FAGCQ8RH7K8B":48},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M75D33W31V44FAGCQ8RH7K8B","deslop",null,"Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene.","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\u002Fdeslop\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: deslop\ndescription: \"Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene.\"\nversion: 5.1.0\nargument-hint: \"[report|apply] [--scope=all|diff|path] [--thoroughness=quick|normal|deep]\"\n---\n\n# deslop\n\nClean AI slop from code with certainty-based findings and auto-fixes.\n\n## Parse Arguments\n\n```javascript\nconst args = '$ARGUMENTS'.split(' ').filter(Boolean);\nconst mode = args.find(a => ['report', 'apply'].includes(a)) || 'report';\nconst scope = args.find(a => a.startsWith('--scope='))?.split('=')[1] || 'all';\nconst thoroughness = args.find(a => a.startsWith('--thoroughness='))?.split('=')[1] || 'normal';\n```\n\n## Input\n\nArguments: `[report|apply] [--scope=\u003Cpath>|all|diff] [--thoroughness=quick|normal|deep]`\n\n- **Mode**: `report` (default) or `apply`\n- **Scope**: What to scan\n  - `all` (default): Entire codebase\n  - `diff`: Only files changed in current branch\n  - `\u003Cpath>`: Specific directory or file\n- **Thoroughness**: Analysis depth (default: `normal`)\n  - `quick`: Regex patterns only\n  - `normal`: + multi-pass analyzers\n  - `deep`: + CLI tools (jscpd, madge) if available\n\n## Detection Pipeline\n\n### Phase 1: Run Detection Script\n\nThe detection script is at `..\u002F..\u002Fscripts\u002Fdetect.js` relative to this skill.\n\n**Run detection** (use relative path from skill directory):\n```bash\n# Scripts are at plugin root: ..\u002F..\u002Fscripts\u002F from skills\u002Fdeslop\u002F\nnode ..\u002F..\u002Fscripts\u002Fdetect.js . --thoroughness normal --compact --max 50\n```\n\n**For diff scope** (only changed files):\n```bash\nBASE=$(git symbolic-ref refs\u002Fremotes\u002Forigin\u002FHEAD | sed 's@^refs\u002Fremotes\u002Forigin\u002F@@' || echo \"main\")\n# Use newline-separated list to safely handle filenames with special chars\ngit diff --name-only origin\u002F${BASE}..HEAD | \\\n  xargs -d '\\n' node ..\u002F..\u002Fscripts\u002Fdetect.js --thoroughness normal --compact\n```\n\n**Note**: The relative path `..\u002F..\u002Fscripts\u002Fdetect.js` navigates from `skills\u002Fdeslop\u002F` up to the plugin root where `scripts\u002F` lives.\n\n### Phase 2: Repo-Map Enhancement (Optional)\n\nIf repo-map exists, enhance detection with AST-based analysis:\n\n```javascript\n\u002F\u002F Use relative path from skill directory to plugin lib\n\u002F\u002F Path: skills\u002Fdeslop\u002F -> ..\u002F..\u002Flib\u002Frepo-map\nconst repoMap = require('..\u002F..\u002Flib\u002Frepo-map');\n\nif (repoMap.exists(basePath)) {\n  const map = repoMap.load(basePath);\n  const usageIndex = repoMap.buildUsageIndex(map);\n\n  \u002F\u002F Find orphaned infrastructure with HIGH certainty\n  const orphaned = repoMap.findOrphanedInfrastructure(map, usageIndex);\n  for (const item of orphaned) {\n    findings.push({\n      file: item.file,\n      line: item.line,\n      pattern: 'orphaned-infrastructure',\n      message: `${item.name} (${item.type}) is never used`,\n      certainty: 'HIGH',\n      severity: 'high',\n      autoFix: false\n    });\n  }\n\n  \u002F\u002F Find unused exports\n  const unusedExports = repoMap.findUnusedExports(map, usageIndex);\n  for (const item of unusedExports) {\n    findings.push({\n      file: item.file,\n      line: item.line,\n      pattern: 'unused-export',\n      message: `Export '${item.name}' is never imported`,\n      certainty: item.certainty,\n      severity: 'medium',\n      autoFix: false\n    });\n  }\n}\n```\n\n### Phase 3: Aggregate and Prioritize\n\nSort findings by:\n1. **Certainty**: HIGH before MEDIUM before LOW\n2. **Severity**: high before medium before low\n3. **Fix complexity**: auto-fixable before manual\n\n### Phase 4: Return Structured Results\n\nSkill returns structured JSON - does NOT apply fixes (orchestrator handles that).\n\n## Output Format\n\nJSON structure between markers:\n\n```\n=== DESLOP_RESULT ===\n{\n  \"mode\": \"report|apply\",\n  \"scope\": \"all|diff|path\",\n  \"filesScanned\": N,\n  \"findings\": [\n    {\n      \"file\": \"src\u002Fapi.js\",\n      \"line\": 42,\n      \"pattern\": \"debug-statement\",\n      \"message\": \"console.log found\",\n      \"certainty\": \"HIGH\",\n      \"severity\": \"medium\",\n      \"autoFix\": true,\n      \"fixType\": \"remove-line\"\n    }\n  ],\n  \"fixes\": [\n    {\n      \"file\": \"src\u002Fapi.js\",\n      \"line\": 42,\n      \"fixType\": \"remove-line\",\n      \"pattern\": \"debug-statement\"\n    }\n  ],\n  \"summary\": {\n    \"high\": N,\n    \"medium\": N,\n    \"low\": N,\n    \"autoFixable\": N\n  }\n}\n=== END_RESULT ===\n```\n\n## Certainty Levels\n\n| Level | Meaning | Action |\n|-------|---------|--------|\n| **HIGH** | Definitely slop, safe to auto-fix | Auto-fix via simple-fixer |\n| **MEDIUM** | Likely slop, needs verification | Review first |\n| **LOW** | Possible slop, context-dependent | Flag only |\n\n## Pattern Categories\n\n### HIGH Certainty (Auto-Fixable)\n\n- `debug-statement`: console.log, console.debug, print, println!\n- `debug-import`: Unused debug\u002Flogging imports\n- `placeholder-text`: \"Lorem ipsum\", \"TODO: implement\"\n- `empty-catch`: Empty catch blocks without comment\n- `trailing-whitespace`: Trailing whitespace\n- `mixed-indentation`: Mixed tabs\u002Fspaces\n\n### MEDIUM Certainty (Review Required)\n\n- `excessive-comments`: Comment\u002Fcode ratio > 2:1\n- `doc-code-ratio`: JSDoc > 3x function body\n- `stub-function`: Returns placeholder value only\n- `dead-code`: Unreachable after return\u002Fthrow\n- `infrastructure-without-impl`: DB clients created but never used\n\n### LOW Certainty (Flag Only)\n\n- `over-engineering`: File\u002Fexport ratio > 20x\n- `buzzword-inflation`: Claims without evidence\n- `shotgun-surgery`: Files frequently change together\n\n## Fix Types\n\n| Fix Type | Action | Patterns |\n|----------|--------|----------|\n| `remove-line` | Delete line | debug-statement, debug-import |\n| `add-comment` | Add explanation | empty-catch |\n| `remove-block` | Delete code block | stub-function with TODO |\n\n## Error Handling\n\n- **Git not available**: Skip git-dependent checks\n- **Invalid scope**: Return error in JSON\n- **Parse errors**: Skip file, continue scan\n\n## Integration\n\nThis skill is invoked by:\n- `deslop-agent` for `\u002Fdeslop` command\n- `\u002Fnext-task` Phase 8 (pre-review gates) with `scope=diff`\n\nThe orchestrator spawns `simple-fixer` to apply HIGH certainty fixes.\n","# deslop\n\nClean AI slop from code with certainty-based findings and auto-fixes.\n\n## Parse Arguments\n\n```javascript\nconst args = '$ARGUMENTS'.split(' ').filter(Boolean);\nconst mode = args.find(a => ['report', 'apply'].includes(a)) || 'report';\nconst scope = args.find(a => a.startsWith('--scope='))?.split('=')[1] || 'all';\nconst thoroughness = args.find(a => a.startsWith('--thoroughness='))?.split('=')[1] || 'normal';\n```\n\n## Input\n\nArguments: `[report|apply] [--scope=\u003Cpath>|all|diff] [--thoroughness=quick|normal|deep]`\n\n- **Mode**: `report` (default) or `apply`\n- **Scope**: What to scan\n  - `all` (default): Entire codebase\n  - `diff`: Only files changed in current branch\n  - `\u003Cpath>`: Specific directory or file\n- **Thoroughness**: Analysis depth (default: `normal`)\n  - `quick`: Regex patterns only\n  - `normal`: + multi-pass analyzers\n  - `deep`: + CLI tools (jscpd, madge) if available\n\n## Detection Pipeline\n\n### Phase 1: Run Detection Script\n\nThe detection script is at `..\u002F..\u002Fscripts\u002Fdetect.js` relative to this skill.\n\n**Run detection** (use relative path from skill directory):\n```bash\n# Scripts are at plugin root: ..\u002F..\u002Fscripts\u002F from skills\u002Fdeslop\u002F\nnode ..\u002F..\u002Fscripts\u002Fdetect.js . --thoroughness normal --compact --max 50\n```\n\n**For diff scope** (only changed files):\n```bash\nBASE=$(git symbolic-ref refs\u002Fremotes\u002Forigin\u002FHEAD | sed 's@^refs\u002Fremotes\u002Forigin\u002F@@' || echo \"main\")\n# Use newline-separated list to safely handle filenames with special chars\ngit diff --name-only origin\u002F${BASE}..HEAD | \\\n  xargs -d '\\n' node ..\u002F..\u002Fscripts\u002Fdetect.js --thoroughness normal --compact\n```\n\n**Note**: The relative path `..\u002F..\u002Fscripts\u002Fdetect.js` navigates from `skills\u002Fdeslop\u002F` up to the plugin root where `scripts\u002F` lives.\n\n### Phase 2: Repo-Map Enhancement (Optional)\n\nIf repo-map exists, enhance detection with AST-based analysis:\n\n```javascript\n\u002F\u002F Use relative path from skill directory to plugin lib\n\u002F\u002F Path: skills\u002Fdeslop\u002F -> ..\u002F..\u002Flib\u002Frepo-map\nconst repoMap = require('..\u002F..\u002Flib\u002Frepo-map');\n\nif (repoMap.exists(basePath)) {\n  const map = repoMap.load(basePath);\n  const usageIndex = repoMap.buildUsageIndex(map);\n\n  \u002F\u002F Find orphaned infrastructure with HIGH certainty\n  const orphaned = repoMap.findOrphanedInfrastructure(map, usageIndex);\n  for (const item of orphaned) {\n    findings.push({\n      file: item.file,\n      line: item.line,\n      pattern: 'orphaned-infrastructure',\n      message: `${item.name} (${item.type}) is never used`,\n      certainty: 'HIGH',\n      severity: 'high',\n      autoFix: false\n    });\n  }\n\n  \u002F\u002F Find unused exports\n  const unusedExports = repoMap.findUnusedExports(map, usageIndex);\n  for (const item of unusedExports) {\n    findings.push({\n      file: item.file,\n      line: item.line,\n      pattern: 'unused-export',\n      message: `Export '${item.name}' is never imported`,\n      certainty: item.certainty,\n      severity: 'medium',\n      autoFix: false\n    });\n  }\n}\n```\n\n### Phase 3: Aggregate and Prioritize\n\nSort findings by:\n1. **Certainty**: HIGH before MEDIUM before LOW\n2. **Severity**: high before medium before low\n3. **Fix complexity**: auto-fixable before manual\n\n### Phase 4: Return Structured Results\n\nSkill returns structured JSON - does NOT apply fixes (orchestrator handles that).\n\n## Output Format\n\nJSON structure between markers:\n\n```\n=== DESLOP_RESULT ===\n{\n  \"mode\": \"report|apply\",\n  \"scope\": \"all|diff|path\",\n  \"filesScanned\": N,\n  \"findings\": [\n    {\n      \"file\": \"src\u002Fapi.js\",\n      \"line\": 42,\n      \"pattern\": \"debug-statement\",\n      \"message\": \"console.log found\",\n      \"certainty\": \"HIGH\",\n      \"severity\": \"medium\",\n      \"autoFix\": true,\n      \"fixType\": \"remove-line\"\n    }\n  ],\n  \"fixes\": [\n    {\n      \"file\": \"src\u002Fapi.js\",\n      \"line\": 42,\n      \"fixType\": \"remove-line\",\n      \"pattern\": \"debug-statement\"\n    }\n  ],\n  \"summary\": {\n    \"high\": N,\n    \"medium\": N,\n    \"low\": N,\n    \"autoFixable\": N\n  }\n}\n=== END_RESULT ===\n```\n\n## Certainty Levels\n\n| Level | Meaning | Action |\n|-------|---------|--------|\n| **HIGH** | Definitely slop, safe to auto-fix | Auto-fix via simple-fixer |\n| **MEDIUM** | Likely slop, needs verification | Review first |\n| **LOW** | Possible slop, context-dependent | Flag only |\n\n## Pattern Categories\n\n### HIGH Certainty (Auto-Fixable)\n\n- `debug-statement`: console.log, console.debug, print, println!\n- `debug-import`: Unused debug\u002Flogging imports\n- `placeholder-text`: \"Lorem ipsum\", \"TODO: implement\"\n- `empty-catch`: Empty catch blocks without comment\n- `trailing-whitespace`: Trailing whitespace\n- `mixed-indentation`: Mixed tabs\u002Fspaces\n\n### MEDIUM Certainty (Review Required)\n\n- `excessive-comments`: Comment\u002Fcode ratio > 2:1\n- `doc-code-ratio`: JSDoc > 3x function body\n- `stub-function`: Returns placeholder value only\n- `dead-code`: Unreachable after return\u002Fthrow\n- `infrastructure-without-impl`: DB clients created but never used\n\n### LOW Certainty (Flag Only)\n\n- `over-engineering`: File\u002Fexport ratio > 20x\n- `buzzword-inflation`: Claims without evidence\n- `shotgun-surgery`: Files frequently change together\n\n## Fix Types\n\n| Fix Type | Action | Patterns |\n|----------|--------|----------|\n| `remove-line` | Delete line | debug-statement, debug-import |\n| `add-comment` | Add explanation | empty-catch |\n| `remove-block` | Delete code block | stub-function with TODO |\n\n## Error Handling\n\n- **Git not available**: Skip git-dependent checks\n- **Invalid scope**: Return error in JSON\n- **Parse errors**: Skip file, continue scan\n\n## Integration\n\nThis skill is invoked by:\n- `deslop-agent` for `\u002Fdeslop` command\n- `\u002Fnext-task` Phase 8 (pre-review gates) with `scope=diff`\n\nThe orchestrator spawns `simple-fixer` to apply HIGH certainty fixes.\n",{"name":5,"version":23,"description":7,"argument-hint":24},"5.1.0","[report|apply] [--scope=all|diff|path] [--thoroughness=quick|normal|deep]","main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fdeslop",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":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add agisota\u002Fold-one --skill deslop",{"tool":40,"command":41},"bunx","bunx skills add agisota\u002Fold-one --skill deslop",{"tool":43,"command":44},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill deslop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fdeslop\u002FSKILL.md",true,[],[49,56,63,72,79,86],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"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":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"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":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":67,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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",[],[]]