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


