Skip to content
Back to skills

Principle Boundary Discipline

ASecurity

When wiring validation or error handling, guard only at system boundaries.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsrustshellapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add jueyi6/empstack --skill principle-boundary-discipline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Principle Boundary Discipline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Principle Boundary Discipline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jueyi6-principle-boundary-discipline/badge)](https://www.skillsdirectory.com/skills/jueyi6-principle-boundary-discipline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.