<< All versions

Skill v1.0.3

currentAutomated scan100/100
backnotprop/pstack/principle-boundary-discipline

1 files

──Details
PublishedNovember 21, 2026 at 02:59 AM
Content Hashsha256:c02c26cca3906bfd...
Git SHA427e37b2903f
Bump Typepatch
Compare with v1.0.2
──Files
Files (1 file, 940 B)
SKILL.md940 Bactive
SKILL.md · 14 lines · 940 B

name: principle-boundary-discipline description: "Apply when wiring validation, error handling, or framework adapters. Concentrate guards at system boundaries (CLI, config, network, external APIs); trust internal types and keep business logic in pure functions." disable-model-invocation: true metadata: version: "1.0.3"


Boundary Discipline

Validate, narrow types, and handle errors where data crosses a system boundary (CLI args, config files, external APIs, network). Inside, trust the types: no re-validation and no redundant nil checks. Parse raw data into domain types at the boundary, and keep transport and framework types out of the public surface. Business logic lives in pure functions with no framework dependencies. The shell that calls them is thin.

Two tests. Is this data crossing a boundary right now? If not, the validation is redundant. Can this be a pure function the shell just calls? If yes, extract it.

← v1.0.2All versions