principle-boundary-discipline
Apply when wiring data ingestion, parsing raw files, validating input schemas, or connecting to databases, APIs, and notebooks.
Skill by hidenobunagai
Chalk Labs
Need help deploying principle-boundary-discipline?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hidenobunagai-principle-boundary-discipline-a305eb
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/principle-boundary-discipline
What's inside
- Skill name
principle-boundary-discipline- Description
- Apply when wiring data ingestion, parsing raw files, validating input schemas, or connecting to databases, APIs, and notebooks. Check data once at the boundary, convert it to typed frames, and keep transforms as pure functions the shell calls.
- License
- MIT
- Instructions
- 19 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Boundary Discipline Place schema checks, type narrowing, and error handling at system boundaries: file reads, warehouse queries, API responses, CLI arguments, config files, and parameters passed into a notebook. Inside the pipeline, trust the typed frames. Business logic lives in pure functions over Polars frames. The shell (the script entry point or the notebook cell that calls them) stays thin. Scattered checks make a pipeline noisy and give a false sense of safety. Logic stuck in notebook cells cannot be tested without running the whole notebook. - At boundaries, validate the schema, dtypes, and expected ranges, and fail loudly with the offending column or row. Parse raw columns into domain types (dates, categories, currency units) once, at this point. - Inside the system, use typed frames. Do not re-check the same schema in every function. Do not repeat a null check deep in a chain when the loader already enforced it. - Across the boundary, expose domain names (`active_customers`, `order_date`), not raw source column names or a vendor's wire format. - Keep the general mechanism (a reader, a cast helper) inside. Keep the special policy (which rows count as a valid order) at the edge. - Put input schema assertions in one loader function, not in every analysis cell. - Metric definitions, cohort rules, and cleaning rules are pure functions that take a frame and return a frame or a value. A tiny hand-made frame can test them, with no database and no notebook. - Plots and reports call those functions. They do not recompute the metric. Ask two questions. "Is this data crossing a system boundary right now?" If not, the validation is redundant. "Can this be a pure function over a frame that the shell calls?" If yes, extract it. You skipped this when a metric definition lives inside a notebook cell that also reads the source, or when the same schema check appears in three files.
From hidenobunagai/astack, MIT.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 23, 2026 (1 month ago)
- Last release
- Oct 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hidenobunagai/astack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get principle-boundary-discipline running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
principle-boundary-discipline skill. Agent Mart. https://agentmart.dev/skills/hidenobunagai-principle-boundary-discipline-a305eb (last updated 2026-10-24)