Principle Boundary Discipline
Concentrates validation and error handling at system boundaries while keeping business logic in pure functions.
- CCM score
- 61 of 100
- skills.sh installs
- 13.3K
- GitHub stars
- 5.5K
- last updated
- Nov 30, 2026
Own this skill? Claim it
What it does
- Covers CLI arguments, config files, external APIs, and network data, where raw input is parsed into domain types
- Trusts internal types inside the system, so re-validation and redundant nil checks are avoided
- Keeps transport and framework types out of the public surface, with a thin shell calling framework-free logic
- Designed for wiring validation, error handling, or framework adapters in code that has clear input edges
Install
$ npx -y skills add backnotprop/pstack --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/backnotprop/pstack
- Category
- CLI & Terminal
- First seen
- Nov 30, 2026
More from backnotprop/pstack
All 44- Principle Exhaust The Design Space13.3K
- Principle Never Block On The Human13.2K
- Automate Me13.2K
- Principle Foundational Thinking13.2K
- Principle Attack The Premise13.2K
- Principle Sequence Verifiable Units13.2K
- Principle Outcome Oriented Execution13.2K
- Principle Separate Before Serializing Shared State13.2K
- Principle Experience First13.2K
- Make Bot Ui12.8K
- Correct12.5K
- Principle Explain The Number12.3K
- How14.1K
- Why13.9K
- Arena13.9K
- Principle Fix Root Causes13.8K
- Interrogate13.7K
- Blast Radius13.7K
- Poteto Mode13.7K
- Architect13.6K
- Create Verification Skill13.6K
- Typescript Best Practices13.5K
- No Comments13.5K
- Setup Pstack13.5K
Similar to Principle Boundary Discipline
More CLI & Terminalshellcheck-configurationwshobson/agents12.3K installsMaster ShellCheck static analysis configuration and usage for shell script quality. Use when setting up linting infrastructure, fixing code issues, or ensuring
cargo-workspace-managementgetcargohq/cargo-skills12K installsManage workspace users, API tokens, folders, roles, and submit reports to workspace management using the Cargo CLI. Use when the user wants to invite or manage
terminal-opsaffaan-m/ecc10.7K installsEvidence-first repo execution workflow for ECC. Use when the user wants a command run, a repo checked, a CI failure debugged, or a narrow fix pushed with exact
cmuxmanaflow-ai/cmux10.3K installsEnd-user control of cmux topology and routing (windows, workspaces, panes/surfaces, focus, moves, reorder, identify, trigger flash). Use when automation needs d
image-manipulation-image-magickgithub/awesome-copilot9.8K installsProcess and manipulate images using ImageMagick. Supports resizing, format conversion, batch processing, and retrieving image metadata. Use when working with im
printing-pressmvanhorn/cli-printing-press8.1K installsSet up a new integration, connector, or CLI binding for any API. Wrap or generate a ship-ready Go CLI from an OpenAPI, HAR, or Postman spec via the lean researc