git-subtree-dir: aiui git-subtree-mainline:0c4826f8ccgit-subtree-split:e30ac1d106
858 B
858 B
name, description, allowed-tools
| name | description | allowed-tools |
|---|---|---|
| check | Run all quality checks (typecheck, lint, test) and auto-fix errors | Bash(*), Read, Edit, Glob, Grep, Agent |
Run all quality checks for the AIUI project and fix any issues found. Execute in order:
- TypeScript: Run
pnpm typecheck. If errors found, read the failing files and fix the type errors. - Lint: Run
pnpm lint. If fixable errors, runpnpm lint --fixfirst, then fix remaining manually. - Tests: Run
pnpm --filter @aiui/app test -- --run. For each failure:- Read the test file and the source file it tests
- Determine if the test is wrong (outdated assertion) or the source has a bug
- Fix whichever is incorrect
- Report a summary: pass/fail counts, what was fixed.
Important: Do NOT change test expectations just to make them pass — understand WHY they fail first.