Agent Skills
› wibus-wee/see
› principle-subtract-before-you-add
principle-subtract-before-you-add
GitHub指导在代码重构或新增功能前,优先移除冗余和过时路径以简化系统。适用于涉及结构优化、重写或删除死代码的开发任务,强调基于实际证据决策并权衡约束。
Trigger Scenarios
代码重构前
新增功能前
系统架构优化
Install
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.
Version History
- b47adae Current 2026-11-26 00:11


