
Principle Boundary Discipline
Parse raw input into domain types at system boundaries and keep business logic in pure functions.
- CCM score
- 58 of 100
- skills.sh installs
- 6K
- GitHub stars
- 19.4K
- last updated
- Nov 25, 2026
Own this skill? Claim it
What it does
- Covers guard placement at system boundaries: CLI args, config files, external APIs, and network data
- Requires parsing raw data into domain types at the boundary, with no re-validation or redundant nil checks inside
- Keeps transport and framework types out of the public surface, with business logic in framework-free pure functions
- Designed for code that wires validation, error handling, or framework adapters around a thin calling shell
Install
$ npx -y skills add cursor/plugins --skill principle-boundary-discipline -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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.
Details
- Repository
- github.com/cursor/plugins
- Category
- CLI & Terminal
- First seen
- Nov 25, 2026
More from cursor/plugins
All 93- Interrogate6K
- Principle Laziness Protocol5.9K
- Principle Redesign From First Principles5.9K
- Principle Build The Lever5.8K
- Principle Subtract Before You Add5.8K
- Principle Foundational Thinking5.8K
- Principle Minimize Reader Load5.8K
- Poteto Mode5.8K
- Principle Make Operations Idempotent5.7K
- Principle Exhaust The Design Space5.7K
- Principle Experience First5.7K
- Principle Separate Before Serializing Shared State5.7K
- Show Me Your Work5.7K
- Principle Model The Domain5.7K
- Principle Never Block On The Human5.7K
- Principle Migrate Callers Then Delete Legacy Apis5.6K
- Maintain Verification Skill5.6K
- Principle Outcome Oriented Execution5.6K
- Principle Sequence Verifiable Units5.6K
- Figure It Out5.3K
- Setup Pstack5.3K
- Reflect5.2K
- Bro5K
- Automate Me4.9K
Similar to Principle Boundary Discipline
More CLI & Terminal
tmuxopenclaw/openclaw5.9K installstmux
dx-org-switchforcedotcom/sf-skills5.9K installsSwitches the active Salesforce org (default target-org) using the Salesforce CLI. Use whenever someone wants to change which org CLI commands run against — whet
dx-org-permission-set-assignforcedotcom/sf-skills5.9K installsALWAYS USE THIS SKILL to assign permission sets to org users. Assign one or more permission sets to org users using the sf org assign permset command. TRIGGER w
cx-clicoralogix/cx-cli5.4K installsThis skill should be used whenever the user runs any cx command, uses the cx CLI, Coralogix CLI, or mentions cx in the context of Coralogix observability. This
cli-developerjeffallan/claude-skills5.3K installsUse when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars an
cmux-socket-policymanaflow-ai/cmux5K installsSocket command threading and focus policy for cmux CLI/socket work. Use when adding or changing socket commands, CLI commands, telemetry commands, focus/select/