[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JKQJH3KF1YNNP2ASWCQN0W":3,"skill-same:01M6JKQJH3KF1YNNP2ASWCQN0W":63},{"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":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M6JKQJH3KF1YNNP2ASWCQN0W","knip",null,"Run knip to find and remove unused files, dependencies, and exports. Use for cleaning up dead code and unused dependencies.","LongLeo287\u002FOmniClaw","LongLeo287","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141803367?v=4","01M6JK75C62VCNZKR5BRZ386YV","LongLeo","01M6JK75GQ78TSP1ZPXNKK3MCH",9,"MIT","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fagent_config\u002Fskills\u002Fknip\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28],"run","code","dead code","find","remove","use","up","files","dependencies","for","2026-11-10 10:12:30",false,"---\nname: knip\ndescription: Run knip to find and remove unused files, dependencies, and exports. Use for cleaning up dead code and unused dependencies.\n---\n\n# Knip Code Cleanup\n\nRun knip to find and remove unused files, dependencies, and exports from this codebase.\n\n## Setup\n\n1. Check if knip is available:\n   - Run `npx knip --version` to test\n   - If it fails or is very slow, check if `knip` is in package.json devDependencies\n   - If not installed locally, install with `npm install -D knip` (or pnpm\u002Fyarn\u002Fbun equivalent based on lockfile present)\n\n2. Knip does NOT remove unused imports\u002Fvariables inside files — that's a linter's job. Knip finds unused files, dependencies, and exports across the project.\n\n## Workflow\n\nAlways follow this configuration-first workflow. Even for simple \"run knip\" or \"clean up codebase\" prompts, configure knip properly before acting on reported issues.\n\n### Step 1: Understand the project\n\n- Check what frameworks and tools the project uses (look at package.json)\n- Check if a knip config exists (`knip.json`, `knip.jsonc`, or `knip` key in package.json)\n- If a config exists, review it for improvements (see Configuration Best Practices below)\n\n### Step 2: Run knip and read configuration hints first\n\n```bash\nnpx knip\n```\n\nFocus on **configuration hints** before anything else. These appear at the top of the output and suggest config adjustments to reduce false positives.\n\n### Step 3: Address hints by adjusting knip.json\n\nFix configuration hints before addressing reported issues. Common adjustments:\n- Enable\u002Fdisable plugins for detected frameworks\n- Add entry patterns for non-standard entry points\n- Configure workspace settings for monorepos\n\n### Step 4: Repeat steps 2-3\n\nRe-run knip after each config change. Repeat until configuration hints are resolved and false positives are minimized.\n\n### Step 5: Address actual issues\n\nOnce the configuration is settled, work through reported issues. Prioritize in this order:\n\n1. **Unused files** — address these first (\"inbox zero\" approach removes the most noise)\n2. **Unused dependencies** — remove from package.json\n3. **Unused devDependencies** — remove from package.json\n4. **Unused exports** — remove or mark as internal\n5. **Unused types** — remove, or configure `ignoreExportsUsedInFile` (see below)\n\n### Step 6: Re-run and repeat\n\nRe-run knip after each batch of fixes. Removing unused files often exposes newly-unused exports and dependencies.\n\n## Configuration Best Practices\n\nWhen reviewing or creating a knip config, follow these rules:\n\n- **Never use `ignore` patterns** — `ignore` hides real issues and should almost never be used. Always prefer specific solutions. Other `ignore*` options (like `ignoreDependencies`, `ignoreExportsUsedInFile`) are fine because they target specific issue types.\n- **Many unused exported types?** Add `ignoreExportsUsedInFile: { interface: true, type: true }` — this handles the common case of types only used in the same file. Prefer this over broader ignore options.\n- **Remove redundant patterns** — Knip already respects `.gitignore`, so ignoring `node_modules`, `dist`, `build`, `.git` is redundant.\n- **Remove entry patterns covered by defaults** — Auto-detected plugins already add standard entry points. Don't duplicate them.\n- **Config files showing as unused** (e.g. `vite.config.ts`) — Enable or disable the corresponding plugin explicitly rather than ignoring the file.\n- **Dependencies matching Node.js builtins** (e.g. `buffer`, `process`) — Add to `ignoreDependencies`.\n- **Unresolved imports from path aliases** — Add `paths` to knip config (uses tsconfig.json semantics).\n\n## Production Mode\n\nUse `--production` to focus on production code only:\n\n```bash\nnpx knip --production\n```\n\nThis excludes test files, config files, and other non-production entry points. Do NOT use `project` or `ignore` patterns to exclude test files — use `--production` instead.\n\n## Cleanup Confidence Levels\n\n### Auto-delete (high confidence):\n- Unused exports that are clearly internal (not part of public API)\n- Unused type exports\n- Unused dependencies (remove from package.json)\n- Unused files that are clearly orphaned (not entry points, not config files)\n\n### Ask first (needs clarification):\n- Files that might be entry points or dynamically imported\n- Exports that might be part of a public API (index.ts, lib exports)\n- Dependencies that might be used via CLI or peer dependencies\n- Anything in paths like `src\u002Findex`, `lib\u002F`, or files with \"public\" or \"api\" in the name\n\nUse the AskUserQuestion tool to clarify before deleting these.\n\n## Auto-fix\n\nOnce configuration is settled and you're confident in the results:\n\n```bash\n# Auto-fix safe changes (removes unused exports and dependencies)\nnpx knip --fix\n\n# Auto-fix including file deletion\nnpx knip --fix --allow-remove-files\n```\n\nOnly use `--fix` after the configuration-first workflow is complete.\n\n## Error Handling\n\nIf knip exits with code 2 (unexpected error like \"error loading file\"):\n- Check if a config file exists — if not, create `knip.json` in the project root\n- Check for known issues at knip.dev\n- Review the configuration reference for syntax\u002Foption errors\n- Run knip again after fixes\n\n## Common Commands\n\n```bash\n# Basic run\nnpx knip\n\n# Production only (excludes test\u002Fconfig entry points)\nnpx knip --production\n\n# Auto-fix what's safe\nnpx knip --fix\n\n# Auto-fix including file deletion\nnpx knip --fix --allow-remove-files\n\n# JSON output for parsing\nnpx knip --reporter json\n```\n\n## Notes\n\n- Watch for monorepo setups — may need `--workspace` flag\n- Some frameworks need plugins enabled in config\n- Knip does not handle unused imports\u002Fvariables inside files — use ESLint or Biome for that\n","# Knip Code Cleanup\n\nRun knip to find and remove unused files, dependencies, and exports from this codebase.\n\n## Setup\n\n1. Check if knip is available:\n   - Run `npx knip --version` to test\n   - If it fails or is very slow, check if `knip` is in package.json devDependencies\n   - If not installed locally, install with `npm install -D knip` (or pnpm\u002Fyarn\u002Fbun equivalent based on lockfile present)\n\n2. Knip does NOT remove unused imports\u002Fvariables inside files — that's a linter's job. Knip finds unused files, dependencies, and exports across the project.\n\n## Workflow\n\nAlways follow this configuration-first workflow. Even for simple \"run knip\" or \"clean up codebase\" prompts, configure knip properly before acting on reported issues.\n\n### Step 1: Understand the project\n\n- Check what frameworks and tools the project uses (look at package.json)\n- Check if a knip config exists (`knip.json`, `knip.jsonc`, or `knip` key in package.json)\n- If a config exists, review it for improvements (see Configuration Best Practices below)\n\n### Step 2: Run knip and read configuration hints first\n\n```bash\nnpx knip\n```\n\nFocus on **configuration hints** before anything else. These appear at the top of the output and suggest config adjustments to reduce false positives.\n\n### Step 3: Address hints by adjusting knip.json\n\nFix configuration hints before addressing reported issues. Common adjustments:\n- Enable\u002Fdisable plugins for detected frameworks\n- Add entry patterns for non-standard entry points\n- Configure workspace settings for monorepos\n\n### Step 4: Repeat steps 2-3\n\nRe-run knip after each config change. Repeat until configuration hints are resolved and false positives are minimized.\n\n### Step 5: Address actual issues\n\nOnce the configuration is settled, work through reported issues. Prioritize in this order:\n\n1. **Unused files** — address these first (\"inbox zero\" approach removes the most noise)\n2. **Unused dependencies** — remove from package.json\n3. **Unused devDependencies** — remove from package.json\n4. **Unused exports** — remove or mark as internal\n5. **Unused types** — remove, or configure `ignoreExportsUsedInFile` (see below)\n\n### Step 6: Re-run and repeat\n\nRe-run knip after each batch of fixes. Removing unused files often exposes newly-unused exports and dependencies.\n\n## Configuration Best Practices\n\nWhen reviewing or creating a knip config, follow these rules:\n\n- **Never use `ignore` patterns** — `ignore` hides real issues and should almost never be used. Always prefer specific solutions. Other `ignore*` options (like `ignoreDependencies`, `ignoreExportsUsedInFile`) are fine because they target specific issue types.\n- **Many unused exported types?** Add `ignoreExportsUsedInFile: { interface: true, type: true }` — this handles the common case of types only used in the same file. Prefer this over broader ignore options.\n- **Remove redundant patterns** — Knip already respects `.gitignore`, so ignoring `node_modules`, `dist`, `build`, `.git` is redundant.\n- **Remove entry patterns covered by defaults** — Auto-detected plugins already add standard entry points. Don't duplicate them.\n- **Config files showing as unused** (e.g. `vite.config.ts`) — Enable or disable the corresponding plugin explicitly rather than ignoring the file.\n- **Dependencies matching Node.js builtins** (e.g. `buffer`, `process`) — Add to `ignoreDependencies`.\n- **Unresolved imports from path aliases** — Add `paths` to knip config (uses tsconfig.json semantics).\n\n## Production Mode\n\nUse `--production` to focus on production code only:\n\n```bash\nnpx knip --production\n```\n\nThis excludes test files, config files, and other non-production entry points. Do NOT use `project` or `ignore` patterns to exclude test files — use `--production` instead.\n\n## Cleanup Confidence Levels\n\n### Auto-delete (high confidence):\n- Unused exports that are clearly internal (not part of public API)\n- Unused type exports\n- Unused dependencies (remove from package.json)\n- Unused files that are clearly orphaned (not entry points, not config files)\n\n### Ask first (needs clarification):\n- Files that might be entry points or dynamically imported\n- Exports that might be part of a public API (index.ts, lib exports)\n- Dependencies that might be used via CLI or peer dependencies\n- Anything in paths like `src\u002Findex`, `lib\u002F`, or files with \"public\" or \"api\" in the name\n\nUse the AskUserQuestion tool to clarify before deleting these.\n\n## Auto-fix\n\nOnce configuration is settled and you're confident in the results:\n\n```bash\n# Auto-fix safe changes (removes unused exports and dependencies)\nnpx knip --fix\n\n# Auto-fix including file deletion\nnpx knip --fix --allow-remove-files\n```\n\nOnly use `--fix` after the configuration-first workflow is complete.\n\n## Error Handling\n\nIf knip exits with code 2 (unexpected error like \"error loading file\"):\n- Check if a config file exists — if not, create `knip.json` in the project root\n- Check for known issues at knip.dev\n- Review the configuration reference for syntax\u002Foption errors\n- Run knip again after fixes\n\n## Common Commands\n\n```bash\n# Basic run\nnpx knip\n\n# Production only (excludes test\u002Fconfig entry points)\nnpx knip --production\n\n# Auto-fix what's safe\nnpx knip --fix\n\n# Auto-fix including file deletion\nnpx knip --fix --allow-remove-files\n\n# JSON output for parsing\nnpx knip --reporter json\n```\n\n## Notes\n\n- Watch for monorepo setups — may need `--workspace` flag\n- Some frameworks need plugins enabled in config\n- Knip does not handle unused imports\u002Fvariables inside files — use ESLint or Biome for that\n",{"name":5,"description":7},"main","c173cdffe08e788a99b91928a831b476b8434838","ecosystem\u002Fskills\u002Fagent_config\u002Fskills\u002Fknip",0,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw","https:\u002F\u002Fportfolio-longleo.vercel.app\u002Flabs\u002Fomniclaw.html","https:\u002F\u002Fgithub.com\u002FLongLeo287","https:\u002F\u002Fwww.facebook.com\u002FResourceRookie2023","2026-11-14 08:48:28",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add LongLeo287\u002FOmniClaw --skill knip",{"tool":49,"command":50},"bunx","bunx skills add LongLeo287\u002FOmniClaw --skill knip",{"tool":52,"command":53},"pnpm","pnpm dlx skills add LongLeo287\u002FOmniClaw --skill knip","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fagent_config\u002Fskills\u002Fknip\u002FSKILL.md",true,[57],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"_DIR_IDENTITY.md","REFERENCE","参考文档",293,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fagent_config\u002Fskills\u002Fknip\u002F_DIR_IDENTITY.md",[64,91,111,135,150,173],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":29},"01M6JR0KQP4MHT32TN40D9CBFX","UI-UX Pro Max","Advanced UI\u002FUX analysis and generation skills with data-driven patterns. Python scripts (core.py, search.py) for systematic UI pattern extraction, design system generation, and component search from curated data sources.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fui_components\u002Fui_ux_pro_max\u002FSKILL.md",[],[71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],"ux","ui","ui ux pro max","max","pro","ui ux","design","component","search","analysis","team","rd","ui-ux","active","systematic","scripts","pattern extraction","sources","advanced","data-driven",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":29},"01M6JR0EF5AEQHP2FSTB57H05P","shadcn-ui","Expert guidance for integrating and building applications with shadcn\u002Fui components, including component discovery, installation, customization, and best practices.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fui_components\u002Fshadcn_ui\u002FSKILL.md",[],[98,72,99,100,78,101,102,103,104,81,105,106,107,84,108,109,110,28],"shadcn","shadcn ui","components","core","best practices","applications","discovery","customization","guidance","expert","installation","ui components","with",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":29},"01M6JR08F51BEN17RHFYX65WVE","zustand_store_ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fzustand_store_ts\u002FSKILL.md",[],[118,119,120,121,122,123,124,125,126,127,128,129,24,130,131,132,110,133,134],"zustand store ts","zustand","store","typescript","microsoft","react","create","state management","state","react state management","management","global","patterns","separation","middleware","action","implementing",{"skillNo":136,"name":119,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":29},"01M6JR00TDMVAFFCZXZ04AN7Q7","Zustand state management guide. Use when working with store code (src\u002Fstore\u002F**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fzustand\u002FSKILL.md",[],[119,141,125,20,126,142,143,128,144,24,145,146,147,120,110,148,149,133,134],"development","actions","src","guide","implementation","zustand state","triggers","questions","zustand state management",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":29},"01M6JQZSWV4KWJP112G6XHEP44","youtube_summarizer","Automatically fetch YouTube video transcripts, generate structured summaries, and send full transcripts to messaging platforms. Detects YouTube URLs and provides metadata, key insights, and downloadable transcripts.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fyoutube_summarizer\u002FSKILL.md",[],[157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172],"youtube","youtube summarizer","summarizer","generate","metadata","messaging","Video","fetch","telegram","transcription","summarization","structured","full","insights","transcripts","summaries",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":29},"01M6JQZN3QJB6B77JGKJD62DQT","youtube_clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fyoutube_clipper\u002FSKILL.md",[],[157,180,181,163,182,183,184,185,186,187,188,189,190,191,192,193,194],"clipper","youtube clipper","Bash","下载","视频","生成","关键词","翻译","read","write","clip","总结","工具","文案","sonnet"]