---
name: uphold-invariants
description: Load relevant code quality reference files (architecture, testing, security, type design, etc.) and apply their invariants to the current task. ALWAYS invoke before designing, writing, or editing ANY code.
---

## Your task

1. Read `~/.claude/references/README.md` to understand the invariant framing and tier definitions
2. Determine which reference domains are relevant to the current task (list `~/.claude/references/` if unsure)
3. Load the relevant files
4. Proactively apply the invariants
