Quality Gates Purpose Automatic quality validation at every stage of development — from individual file edits to full deployments. Quality gates catch errors early when they're cheapest to fix. PostToolUse Hooks The most powerful quality gate: automatic validation every time a file is edited or created. How It Works 1. Agent uses or to modify a file 2. PostToolUse hook fires automatically 3. Validation script detects the file type and runs the appropriate checker 4. Output is shown to the agent immediately 5. Agent sees errors and can fix them in the same session Setting Up The plugin include…