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


