bloat-detector
关于
This Claude Skill detects codebase bloat by progressively analyzing dead code, duplication, complexity, and documentation issues. It's ideal for quarterly maintenance, pre-release cleanup, or before refactoring when you have sufficient context. Avoid using it during active feature development or when fixing time-sensitive bugs.
快速安装
Claude Code
推荐npx skills add majiayu000/claude-skill-registry -a claude-code/plugin add https://github.com/majiayu000/claude-skill-registrygit clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/bloat-detector在 Claude Code 中复制并粘贴此命令以安装该技能
GitHub 仓库
Frequently asked questions
What is the bloat-detector skill?
bloat-detector is a Claude Skill by majiayu000. Skills package instructions and resources that Claude loads on demand, so Claude can perform bloat-detector-related tasks without extra prompting.
How do I install bloat-detector?
Use the install commands on this page: add bloat-detector to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does bloat-detector belong to?
bloat-detector is in the conservation category, tagged bloat, cleanup, static-analysis, technical-debt and optimization.
Is bloat-detector free to use?
Yes. bloat-detector is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
相关推荐技能
这个Skill在上下文使用量接近80%时自动触发,将剩余工作无缝交接给一个新的子代理继续执行,实现了无需手动`/clear`的自动上下文管理。它特别适用于处理长任务时保持工作流连续性,通过子代理的新鲜上下文窗口来突破原有上下文限制。关键特性包括自动阈值检测、会话状态检查点和渐进式加载,让开发者无需中断工作就能处理大量内容。
Bloat-detector 是一个用于系统化检测代码库膨胀的 Claude Skill,它能通过渐进式分析识别死代码、重复代码、复杂度问题和文档膨胀。它最适合在季度维护、发布前清理或重构前等上下文充足的非紧急场景中使用。该工具包含快速扫描、Git历史分析和静态分析集成等模块,帮助开发者有效管理技术债务。
clear-context 是一个自动管理上下文长度的技能,当任务执行接近上下文窗口80%容量时,它会自动将剩余工作委托给一个新的子代理继续执行。这实现了无需手动 /clear 的自动上下文清理,特别适合处理长耗时任务。关键优势在于通过子代理继承工作流状态,实现无缝的任务延续而不中断工作流程。
该Skill用于在上下文使用量接近窗口50%时,通过MECW原则主动优化和管理上下文。它适用于需要分解复杂多步骤任务、进行工作流拆分的高上下文压力场景。开发者应在开始复杂操作前主动检查并触发此技能,但不要在简单单步任务或已使用MCP代码执行工具链时使用。
