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


