Critical Rules — Development agent for Claude Code
Check tldr-swinton invariants before changing imports, outputs, compatibility surfaces, or tests.
How to install Critical Rules
Installs to ~/.claude/agents/mistakeknot-tldr-swinton-critical-rules.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/mistakeknot/tldr-swinton/HEAD/agents/critical-rules.md -o ~/.claude/agents/mistakeknot-tldr-swinton-critical-rules.md Restart Claude Code, or start a new session, for it to be picked up.
What Critical Rules does
name: tldrs-critical-rules description: Check tldr-swinton invariants before changing imports, outputs, compatibility surfaces, or tests.
Critical Rules
Import Convention
All internal imports MUST use relative imports:
# CORRECT
from .hybrid_extractor import HybridExtractor
from .ast_extractor import FunctionInfo
# WRONG - imports from old llm-tldr package
from tldr.hybrid_extractor import HybridExtractor
Language Field Required
When creating `FunctionInfo` fo
Alternatives in Development
- Gitnexus Synthesis Critic — GitNexus final review synthesis critic 45.8k ★
- Ir Correctness Reviewer — Reviews Slang IR pass changes for correctness, SSA invariants, and type system integrity 5.6k ★
- Tend — Tend the Allium garden 3.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Related Projects
Check downstream projects and synchronization requirements before changing public tldr-swinton formats or capa
Domain Logic Auditor
Independently validate specialized domain logic and critical calculations against intended rules, invariants,
MCP Server
Reference the tldr-swinton MCP surface when changing tools, schemas, costs, or server behavior.
Rephraser
Rephrases plain user statements into structured intent JSON. Surfaces a clarifying question only when absolute
Verifier Opus
Independent verification of a completed change — does the diff actually do what the plan said, do build/tests/
Honesty Auditor
Reviews a change for the product-critical honesty rules — provenance, confidence, layer labels, scope denomina
Related Skills
Critical Thinking
A Claude skill for end-of-session critical thinking reviews. Surfaces unverified claims, missing perspectives,
Whyrule
Claude isn't ignoring your CLAUDE.md — it never got it. Finds instructions that never load, imports that resol
Smoke Check
Fast MCP tool connectivity check. Tests 10 tools across protoLabs Studio and external integrations, outputs a