Install any skill in seconds. Free to start, no credit card required.
Get Started Free →doccker/cc-size-check
Review changed code for reuse, quality, and efficiency, then fix any issues found. Also scans project files for size limit violations.
Passed 16 of 20 test cases with the skill, and 7 of 20 without it.
and 9 more in the full report
10 fixed8 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
The size audit found 3 oversized Go files and 2 CSS extraction suggestions. Before applying any refactoring edits to disk, what interaction step must occur?
| Checked | Without skill | With skill |
|---|---|---|
| Prompts the user with explicit options before applying any code fixes. | Missed | Passed |
| Aborts automated code modifications if the user chooses to skip. | Missed | Passed |
The instructions your model reads when the skill loads.
用户执行 $cc-size-check 或 $size-check 或描述"简化代码"、"检查文件大小"时触发。
审查变更代码的复用性、质量和效率,修复发现的问题。
| 检查项 | 说明 |
|---|---|
| 重复代码 | 提取公共方法/组件 |
| 过度抽象 | 简化不必要的设计模式 |
| 冗余逻辑 | 合并可简化的条件分支 |
| 未使用代码 | 删除死代码、无用 import |
| 语言 | 上限 | 拆分方式 |
|---|---|---|
| Java | 300 | Service 拆分职责、提取 Helper/Converter |
| Go | 400 | 按功能拆分同包文件 |
| Vue | 200 | 提取子组件、composables |
| TSX/JSX | 200 | 提取子组件 |
| TypeScript/JS | 300 | 提取工具函数、常量、类型 |
| Python | 300 | 按职责拆分模块 |
全项目扫描模式(用户未指定文件时):
test cases passed, vs 7 / 20 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.