Diagnose and fix a slow Postgres query in the builders-stack — read its EXPLAIN plan, find the missing index or the ORM N+1, and confirm the fix. Use when a page or endpoint is slow, a query times out, or pg_stat_statements shows a hot query. Pairs with design-a-schema for the index itself.
$npx -y skills add lonormaly/builders-stack --skill optimize-a-queryInstalls into the current project.
Run `npx skills use "https://github.com/lonormaly/builders-stack" --skill "lonormaly/builders-stack/optimize-a-query"` 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/lonormaly/builders-stack" that are relevant to the current task. Run `npx skills add "https://github.com/lonormaly/builders-stack"` and select the relevant skills, then follow their instructions.