Agent Skills
› wibus-wee/see
› principle-subtract-before-you-add
principle-subtract-before-you-add
GitHub指导在添加、重写或重构前先移除冗余和过时路径的决策原则,通过简化现有系统来优化变更。
触发场景
代码重构前
功能添加前
结构重写前
安装
npx skills add wibus-wee/see --skill principle-subtract-before-you-add -g -y
SKILL.md
Frontmatter
{
"name": "principle-subtract-before-you-add",
"description": "Remove dead weight and obsolete paths first; build on the simpler remaining system. Use when before an addition, rewrite, or structural refactor."
}
Subtract Before You Add
Trigger
Before an addition, rewrite, or structural refactor.
Rule
Remove dead weight and obsolete paths first; build on the simpler remaining system.
Application
- Name the concrete decision this principle changes.
- Apply the rule to that decision, not as a decorative citation.
- Prefer evidence from the current repository/runtime over generic preference.
- If the principle conflicts with an explicit user constraint, keep the constraint and state the tradeoff.
版本历史
- b47adae 当前 2026-11-26 00:11


