Skip to content
Back to skills

Principle Boundary Discipline

ASecurity

Apply when wiring validation, auth/JWT checks, external API/HTML ingestion, or framework adapters. Concentrate guards at system boundaries; trust internal types and keep core logic pure.

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentsrustapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add watt-mind/factory --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/watt-mind-principle-boundary-discipline/badge)](https://www.skillsdirectory.com/skills/watt-mind-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: "Apply when wiring validation, auth/JWT checks, external API/HTML ingestion, or framework adapters. Concentrate guards at system boundaries; trust internal types and keep core logic pure."
disable-model-invocation: true
---

# Boundary Discipline

Concentrate parsing, validation, and defensive guards at system boundaries (CLI args, config files, HTTP/JWT inputs, external APIs, scraped HTML, and database reads).

- **Parse once at the edge:** Convert untrusted external payloads into validated internal types at the boundary, then keep core business logic pure and free of defensive null-checks for impossible states.
- **Fail closed at boundaries:** Reject malformed inputs, missing auth, or unexpected schemas explicitly at the boundary rather than letting partial data leak inward.
- **Respect module boundaries:** Keep transport/proxy layers decoupled from offline ingest/analysis internals.

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.