adding-ty-diagnostics
Guides developers through adding or updating diagnostics and lint rules in the ty type checker, covering concise error messaging, subdiagnostics, snapshot and mdtests testing, and regenerating schemas
What it does
Use when a user says "add a ty rule", "add a ty diagnostic", "write this new ty diagnostic", "change a ty error message", "review ty diagnostics", or asks to add, update, or review ty checks, diagnostic messages, subdiagnostics, or concise output behavior.
Quality judgment
The document provides comprehensive, well-organized guidance for adding and modifying ty diagnostics. It covers error message conciseness, subdiagnostics usage, testing strategies, rule declaration patterns, and version management. The instructions are specific and actionable, though the testing guidance could be slightly more explicit about edge cases.