| 1 | --- |
| 2 | name: test |
| 3 | description: Detect the project’s test stack, run the narrowest useful tests, create tests when authorized, and report coverage/gaps honestly. |
| 4 | invocation: model+user |
| 5 | --- |
| 6 | |
| 7 | # Test |
| 8 | |
| 9 | ## When to use |
| 10 | Use when the user wants tests run, added, or improved for a concrete surface. |
| 11 | |
| 12 | ## Non-goals |
| 13 | - Do not invent a test framework the repo does not use. |
| 14 | - Do not claim coverage you did not measure. |
| 15 | |
| 16 | ## Workflow |
| 17 | 1. Detect the repo’s test runner and conventions. |
| 18 | 2. Run the narrowest useful suite for the change. |
| 19 | 3. Add or update tests only when authorized. |
| 20 | 4. Report pass/fail with commands and residual gaps. |
| 21 |