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


