Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →通用防御性编码规范,适用于跨语言代码修改中的最小改动、真实边界处理、定向验证,以及约束假想风险驱动的过度兜底或抽象;不负责语言细节、正式 review 或结构化 debug。
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-13 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-04 | ✓→✓ | = Same ✓ | -17% | 0% |
| case-05 | ✓→✓ | = Same ✓ | -33% | 0% |
| case-06 | ✓→✓ | = Same ✓ | -41% | 0% |
| case-07 | ✓→✓ | = Same ✓ | -31% | 0% |
在修改现有代码、配置或脚本时,优先使用本技能控制改动范围、决策方式和验证深度。
不要用于:
references/change-boundary.mdreferences/verification.mdreferences/decision-principles.mdOther measured skills in the registry, with their headline benchmark lift.