performance-audit-featurelisted
Install: claude install-skill smirnovalex-qa/qa-skills
# Feature-scoped performance audit
For the-platform project: a microservices CRM platform — FastAPI + asyncpg +
PostgreSQL + Redis + RabbitMQ backend services, a React/Vite/TS frontend
(the-frontend), Docker/Kubernetes/Helm infrastructure, load testing with k6
in `load-testing/`.
This is the focused version of the full repository audit (see the
`performance-audit-full` skill if the task is the whole repository rather
than a single feature). The measurement principles are the same, but the
scope, findings, and report are strictly limited to the code that belongs to
this feature and to what it touches.
## INPUT
Feature: `$ARGUMENTS`
The prompt is universal in input format. Depending on what is passed, first
reconstruct the feature's scope:
**A. Directory/branch/diff** (e.g.
`the-frontend/src/features/leads-import` or "diff between dev and the
feature/PROJ-XXXX branch"):
- Determine the affected files via `git diff --stat` against the base branch
(main/dev), or read the whole directory contents if it is a self-contained
module.
- Determine which services/packages those files touch (services/*,
the-frontend, libs/*) — that is the scope of PASS 2 below.
**B. Requirements document** (path to a .md/.txt/design doc, etc.):
- Read the document in full, write out the described use cases and the
expected endpoints/screens/background processes.
- Find the code implementing those use cases in the repository (grep by the
endpoint/route/component names and the names from th