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


