Agent Skills
› codewhale-hq/Codewhale
› simplify
simplify
GitHub在确认行为后,通过小步骤重构代码以降低复杂度并提升清晰度,同时保持原有功能正确性,严禁删除安全检查或混合行为变更。
Trigger Scenarios
用户要求简化代码结构
需要降低代码复杂度
行为已明确后的清理工作
Install
npx skills add codewhale-hq/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
- 8225f75 Current 2026-11-02 21:25


