Agent Skills
› Hmbown/CodeWhale
› simplify
simplify
GitHub在确认行为后,通过小步验证的方式简化代码复杂度,提升清晰度。严格保持原有行为不变,将清理工作与正确性修复分离,避免删除必要的安全检查或引入破坏性重构。
Trigger Scenarios
用户希望降低代码复杂度
需要提高代码可读性和清晰度
已完成功能开发需进行代码清理
Install
npx skills add Hmbown/CodeWhale --skill simplify -g -y
SKILL.md
Frontmatter
{
"name": "simplify",
"invocation": "model+user",
"description": "Improve clarity and reduce needless complexity after behavior is understood; preserve behavior and keep cleanup separate from correctness fixes."
}
Simplify
When to use
Use after behavior is understood and the user wants clarity or less complexity.
Non-goals
- Do not mix cleanup with speculative refactors that change behavior.
- Do not “simplify” by deleting necessary safety checks.
Workflow
- Confirm current behavior with tests or reproduction.
- Reduce complexity in small, reviewable steps.
- Keep behavior-preserving verification green.
Version History
- b0e4926 Current 2026-07-24 17:43


