Approved catalog listing
SKILL #4284
skillshunter.net
Home / Software & Development / Principle Boundary Discipline
Listing Approved Approved on: December 2, 2026

Principle Boundary Discipline

Apply validation, type narrowing, and error handling only at system boundaries such as CLI args, config files, and external APIs. Keep internal logic pure and free from framework dependencies.

Rate this skill

No ratings yet

Editor's Note

Ensure that validation occurs only at system boundaries and that internal logic remains free of framework dependencies. Prepare by identifying where data crosses system boundaries and extract pure functions for the shell to call.

When to Use It

  • Validating CLI arguments before passing them to internal logic
  • Parsing external API responses into domain-specific types
  • Handling errors in config file parsing without involving business logic
  • Ensuring internal functions are pure and framework-agnostic

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md
---
name: principle-boundary-discipline
description: When wiring validation or error handling, guard only at system boundaries.
disable-model-invocation: true
---

# 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 API. 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.

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.