ClaudeKit reads your ~/.claude/sessions directory and turns yesterday's four-hour bug hunt into a Twitter thread, blog post, or newsletter — for indie devs who already build in public.
pg.totalCount per request in prod for 60s?
pg.totalCount = 412 on a single /users request. only 41 rows returned.
user.team in your serializer. Check UserSerializer#team.
await db.team.findFirst(...) inline in the serializer.
findMany with include: {'{ team: true }'}. That collapses 412 round-trips into 1.
pg.totalCount logging on the route. one request to /users → 412 queries. for 41 rows. there it is.UserSerializer#team was doing await db.team.findFirst(...) inline — once per user. invisible until you measure.findMany({'{ include: { team: true } }'}). 412 round-trips collapse into 1. 3.2s → 94ms.