preflight
Installation
SKILL.md
Preflight
Run this before creating a PR to catch common issues in changed files.
Instructions
- Run
git diff main --name-onlyto get list of changed files - For each changed file, run the checks below
- Report issues with
file:linereferences - Group by category for readability
Checks
TypeScript Strict
- No
anytypes - find proper type or useunknown - No
@ts-ignoreor@ts-expect-errorwithout explanation - Local interfaces use
PropsnotComponentNameProps - Type check passes (use
make typesif available, elsepnpm tsc --noEmit)