structural-integrity
Installation
SKILL.md
Structural Integrity Standards
Core Philosophy
Every conditional branch, loop, and exception handler must justify its existence by mapping to a specific functional requirement. Over-abstraction that obscures business logic is as harmful as duplication.
1. Single Source of Truth
Types
- Define each type/interface in one canonical file — all consumers import from that file
- Use
Pick<T, K>orOmit<T, K>to create partial views instead of declaring local re-definitions - Never create
FooLikeor local interface copies of an existing type