skills/precision-discipline/SKILL.md
Reusable behavioral constraint layer for precision execution work. Prevents performative reasoning depth, lazy approximation, and skipped verification. Uses cognition-mcp checkpoint chain (same mechanism as /deepthink escape hatch detection). Apply when a command or workflow requires measurable precision -- STL replication, layout measurement, print settings verification, dimension-critical work.
npx skillsauth add adilkalam/orca precision-disciplineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
RULE: Every derived value cites its source. Every step produces its artifact. Every output gets measured.
Apply when a command or workflow flag activates precision mode:
/design --stl (STL geometry replication)Do NOT apply to creative exploration, brainstorming, or research. Those use different constraint patterns.
After EACH step in a precision workflow, answer these 4 questions before proceeding:
If ANY answer exposes an escape hatch: STOP. Go back. Produce the actual artifact.
Do not narrate the self-check. Do not write "I checked and all 4 passed." Either the artifact exists or it doesn't.
Use cognition-mcp checkpoint calls to track precision constraints. Same mechanism as /deepthink, with execution-specific constraint types.
| Type | Meaning | Resolves when | |------|---------|---------------| | EVIDENCE | Must produce this artifact before proceeding | Artifact exists in output | | VERIFY | Must measure output against reference | Comparison tool call completed with results shown | | FORBIDDEN | Cannot do this at all | Never resolves -- permanent constraint | | UNKNOWN | Gap that cannot be filled from available data | User provides the value, or explicitly accepted as unknown |
After each step, call checkpoint with constraints:
{
operation: "checkpoint",
sessionId: "<sessionId>",
content: {
phase: "<STEP_NAME>",
summary: "<what was produced, not what was learned>",
addConstraints: [
{ type: "EVIDENCE", text: "<artifact the next step must produce>" },
{ type: "VERIFY", text: "<what must be measured before done>" },
{ type: "FORBIDDEN", text: "<specific lazy shortcut to block>" }
],
resolveConstraints: ["<IDs of constraints satisfied by this step's artifact>"],
gateCheck: {
escapeHatchCheck: [true, true, true, true],
artifactProduced: true,
notes: "<what the artifact contains>"
}
}
}
Read protocolState from response:
blocked: true -> artifact missing or VERIFY constraint unresolved. Cannot proceed.gateStatus: "SOFT_FAIL" -> artifact exists but escape hatch detected. Fix before proceeding.gateStatus: "PASS" -> proceed to next step.These phrases are escape hatches. If you catch yourself writing one, you have skipped work.
| Phrase | Why it's an escape hatch | Write instead |
|--------|-------------------------|---------------|
| "approximately X" | Disguises imprecision as caution | Exact value: 3.0mm (X: 89.0 - 86.0, Z=-23.8) |
| "based on the analysis" | Cites nothing specific | Cite the field: area_mm2: 1050.0 from cross_section[3] |
| "should be correct" | Performs confidence without evidence | Show the comparison: reference: 178.0, generated: 178.0, delta: 0.0 |
| "I've verified" | Narrative claim without tool call | Show the tool call and its output |
| "looks right/good" | Visual assertion without measurement | Measurement comparison table |
| "close enough" | Undefined tolerance | Exact delta + defined threshold: delta: 0.3mm < tolerance: 0.5mm |
| "consistent with" | Vague agreement claim | Show both values side by side |
| "as expected" | Assumes rather than checks | Show actual vs expected with delta |
Each step in a precision workflow declares its artifact BEFORE execution. The artifact is a specific output format that requires data to fill -- not narrative.
An artifact is valid when:
An artifact is invalid when:
Every derived value must include:
WRONG: "Wall thickness is 3mm"
WRONG: "Wall thickness = 3mm (from analysis)"
WRONG: "Wall thickness = 3mm (measured)"
RIGHT: "Wall thickness = 3.0mm (outer X=89.0, inner X=86.0, Z=-23.8 slice)"
RIGHT: "Area = 1050.0 mm2 (cross_section[3].polygons[0].area_mm2)"
When a precision workflow includes a verification step:
This prevents infinite fix-verify loops while ensuring the agent actually attempts correction.
Commands activate precision discipline by:
precision-discipline applies to this mode in their flag sectionThe discipline layer provides the behavioral mechanism. The command provides the domain steps and artifact definitions.
Step 1 ANALYZE -> artifact: "full analyze_stl output"
checkpoint: addConstraints [EVIDENCE: "dimension table with source coordinates"]
escape hatch check
Step 2 EXTRACT -> artifact: "dimension table (Dimension | Value | Source Coordinate | Source Slice)"
checkpoint: resolveConstraints [dimension table], addConstraints [EVIDENCE: "feature transition list"]
escape hatch check
Step 3 COMPARE -> artifact: "feature transition table (Z Height | Feature | Magnitude | Type)"
checkpoint: resolveConstraints [feature transition list], addConstraints [VERIFY: "generated STL comparison"]
escape hatch check
Step 4 WRITE -> artifact: "OpenSCAD code with dimension citations in comments"
checkpoint: addConstraints [VERIFY: "analyze_stl on generated STL"]
escape hatch check (question 2 is critical here -- every dimension must have a source comment)
Step 5 VERIFY -> artifact: "comparison table (Dimension | Reference | Generated | Delta)"
tool call gate: analyze_stl MUST be called on the generated STL file
checkpoint: resolveConstraints [generated STL comparison]
3-iteration cap on fix loops
content-media
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
development
Web UI quality rules: interactions, forms, loading, animations, layout, content, performance, accessibility, design. Apply to all web UI work. Adapted from Vercel Design Guidelines.
testing
MANDATORY protocol enforcing knowledge check before EVERY response - prevents explaining systems without reading docs, claiming without verification, and ignoring auto-loaded context
testing
Typography hierarchy and spacing scale fallbacks. Yields to project design-dna when present.