Agent Skills
› wibus-wee/see
› principle-boundary-discipline
principle-boundary-discipline
GitHub指导在解析、框架、网络等边界处进行数据验证与标准化,确保内部不变量可信,使业务逻辑保持纯净。适用于处理用户输入或外部交互时的架构决策。
触发场景
处理用户输入时
解析外部数据时
涉及网络或存储交互时
安装
npx skills add wibus-wee/see --skill principle-boundary-discipline -g -y
SKILL.md
Frontmatter
{
"name": "principle-boundary-discipline",
"description": "Validate and normalize at boundaries, trust internal invariants, and keep business logic free of adapter noise. Use when at parsing, framework, process, network, storage, or user-input boundaries."
}
Boundary Discipline
Trigger
At parsing, framework, process, network, storage, or user-input boundaries.
Rule
Validate and normalize at boundaries, trust internal invariants, and keep business logic free of adapter noise.
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:10


