Run EXPLAIN QUERY PLAN against every query in a sqlc-style catalog and diff the plans against a baseline. Detects new full-table SCANs and TEMP B-TREE sort scans introduced by PRs. SQLite/D1-only today; engine extension noted below.
$npx -y skills add mizchi/skills --skill plan-auditInstalls into the current project.
Run `npx skills use "https://github.com/mizchi/skills" --skill "mizchi/skills/plan-audit"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mizchi/skills" that are relevant to the current task. Run `npx skills add "https://github.com/mizchi/skills"` and select the relevant skills, then follow their instructions.