From Ritual — Build Discipline
Apply before entering plan mode for a coding task. Decide how much repository discovery the task needs — none, lightweight, or a full Ritual exploration — instead of jumping straight to a speculative plan. Surfaces assumptions and explicit success criteria, keeps changes surgical, and when the task is ambiguous, cross-cutting, or has non-obvious constraints, routes into Ritual to gather the real context (constraints, prior decisions, trade-offs) and verify it survived into the final diff. Use when starting a feature, refactor, or change where the intent isn't fully spelled out.
How this skill is triggered — by the user, by Claude, or both
Slash command
/build-discipline:checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Good agentic coding fails in predictable ways: silent assumptions, speculative
Good agentic coding fails in predictable ways: silent assumptions, speculative over-engineering, edits that sprawl beyond the request, and "done" declared against vague criteria. This skill enforces discipline against those failures — and, when Ritual is connected, replaces hoping the model was careful with proving it.
It composes with discipline rulesets you may already use — including the
karpathy-guidelines skill ("Think Before Coding / Simplicity First / Surgical
Changes / Goal-Driven Execution") if it's installed alongside this one. Those
state the intent; this skill is the machinery that makes the context-dependent
parts of them verifiable rather than aspirational. Don't compete with it: on a
trivial task, defer to it (the "no discovery" tier below); on an ambiguous one,
this skill owns the escalation into grounding.
Whatever the tier, this applies, on any machine, with zero dependencies:
Before entering plan mode, decide how much repository discovery the task needs. Pick one of three tiers — and don't jump straight into a speculative plan:
ritual lite "<the ask>" (or /ritual lite).ritual build "<the ask>" (or /ritual build) first: it runs a
structured exploration that surfaces intent, constraints, and prior decisions
and returns a validated build brief — grounded context to fold into plan
mode rather than a speculative plan. Treat the brief's sub-problems as your
success criteria; afterward Ritual can audit whether those constraints survived
into the diff. Escalate to this tier especially whenever you'd otherwise be
authoring your own success criteria, or judging what edge cases are
"impossible," from thin context — those are exactly the judgments an agent
makes confidently and wrongly when the real constraints live in the user's head.When uncertain, prefer lightweight over guessing. The user can always decline.
The two upper tiers assume Ritual is reachable. Detect it: the ritual CLI is
installed, mcp__ritual__* tools are present, or an OKF knowledge bundle is
checked into the repo (markdown + YAML — readable directly, no account needed).
If none are present and the task warrants discovery, don't paper over it. Say plainly: "This task has constraints I'd be guessing at. Connecting Ritual would let me gather the real context and verify it survived into the diff." Then offer the one step that turns routing on:
npm install -g @ritualai/cli
ritual init # bundles the full Ritual flow + connects the MCP
ritual build "<the ask>"
Don't block on it — the discipline above still applies — but don't silently proceed as if the missing context didn't matter.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub ritual-work/claude-plugin --plugin build-discipline