Skip to main content
Run any Skill in Manus
with one click

investigate-feed-query-perf

Stars18
Forks2
UpdatedJuly 22, 2026 at 07:05

Playbook for investigating a slow read-model query in the standard-reader feed (home / latest / discover / tag / search). Covers finding the slow span in Honeycomb, reproducing against prod-scale Neon data, running and reading EXPLAIN ANALYZE, the known regression patterns (correlated cutoff subquery, inlined aggregation across a join), the fix templates, and how to verify. Use when a feed/home/latest query "feels slow", a perf budget is blown, or a Honeycomb p95/p99 tail needs explaining. Pairs with the gated EXPLAIN benchmark at `src/server/reader/queries.explain.test.ts` (`pnpm perf:explain`).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly