Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

investigate-feed-query-perf

Sterne18
Forks2
Aktualisiert22. Juli 2026 um 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

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly