Skip to content
TryRaisins / Software engineer TryRaisins

Hot-path audit

Reads the code paths that run on every request and prices the cost hiding in ordinary code: serialized I/O, whole rows and JSONB documents fetched for a few fields, repeated URL parsing and regex construction, hot keys trapped in large JSONB, and state that is really an undocumented state machine.

yeknal-hot-path-audit1 filePlan and buildReview and test

When to use it

  • Something feels slow and you suspect the code path rather than the screen.
  • You are about to touch durable state and want the implicit state machine named first.
  • A query loads a whole row or a large document to read two fields.
  • You want the micro-optimizations rejected out loud instead of argued about later.

It does not produce the before and after numbers, and it does not diagnose a broken feature. Use App performance when the claim needs a measurement, and Troubleshoot when something does not work.

A practical example

You ask

“Audit the checkout request path and tell me what is structurally expensive.”


Your agent does

It records a baseline, prices each finding by call site and frequency, splits the three genuinely unordered calls, projects two over-wide queries, and lists the regex hoists it rejected as noise.

What gets installed

A single instruction file, SKILL.md, which the agent reads when the skill applies.

  • SKILL.md13,440 bytes

File list with SHA-256 hashes

Credit and license

Written for this catalog.