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


