Feature Audit
Check every feature of an app end to end and get a pass/broken/partial table with evidence.
- Version
- 1.0.0
- Last updated
- Category
- QA
- Works in
- Claude Code, Codex, Cursor, T3 Code
- Requires
- python3>=3.8
- Repository
- dxbh0517/skill-feature-audit
Install
npx skills add dxbh0517/skill-feature-auditFinds the skill folder in the repo and installs it for the agents it detects.
Say this
- audit the app
- check everything works
- what's broken
- re-evaluate all the features
- make sure each feature is working as intended
Or call it by name where your agent has slash commands: /feature-audit.
SKILL.md
name | feature-audit |
|---|---|
description | Check that every feature of an app works end to end — inventories routes, API handlers, jobs, and database tables, tests each feature in the browser or against the API, and returns a pass/broken/partial table with evidence, fixing small breaks along the way. Use when the user says "re-evaluate all the features", "make sure each feature is working as intended", "audit the app", "check everything works", "what's broken", or reports that several features silently stopped working ("no recommendations", "suggestions not visible anywhere", "stats page no longer loads"). Not for reviewing a diff or PR (code review), one known bug in a single feature (debug it directly), layout checks across screen sizes (responsive-qa), visual polish (design-pass), security or SEO audits, or writing a test suite. |
Feature audit
The goal is a trustworthy answer to "does everything work?", not a code review. Every row in the result has evidence: a screenshot, a response, or a query result.
Harness notes
| Need | T3 Code | Claude Code | Codex / Cursor / other |
|---|---|---|---|
| Browser | preview_* tools | Playwright (npx playwright) or the harness browser | same |
| Parallel areas | delegate_task (mode:"async") | Agent tool (subagent) | signalbox delegate if installed, else one area after another |
| Ask the user | question tool | AskUserQuestion | plain question, then stop |
0. Where the audit file lives
Default: the harness scratchpad, else
${TMPDIR:-/tmp}/feature-audit/<repo>-<YYYYmmdd-HHMM>/feature-audit.md.
Write docs/feature-audit.md in the repo only when the user asks to keep it.
Before starting, look for a previous audit (docs/feature-audit.md, or the
newest ${TMPDIR:-/tmp}/feature-audit/<repo>-*/) to diff against.
1. Inventory
python3 <this skill>/scripts/inventory.py [app_dir] # Markdown
python3 <this skill>/scripts/inventory.py [app_dir] --json > "$OUT/inventory.json"
python3 <this skill>/scripts/inventory.py [app_dir] --diff <previous inventory.json or feature-audit.md>It lists page routes and API endpoints (Next.js app and pages routers,
Astro, SvelteKit, Remix/React Router file routes, Express/Hono/Fastify/
FastAPI/NestJS handlers found by pattern), cron and background jobs
(vercel.json crons, queue workers), and database tables (Prisma models,
SQL CREATE TABLE, Drizzle tables). --diff adds a table of what was added,
removed, or changed methods since the previous audit; check added and
removed items first.
Group the output into features a user would name ("barcode scan",
"recommendations", "admin: upgrade user", "price alerts"), not files. Add
features from the README, nav, settings pages, and admin tools that the
scanner cannot see. Write the audit file with one row per feature: name,
entry point, data it needs, roles that can use it. Paste the inventory
Markdown under ## Inventory at the end and save inventory.json beside
it, so a later audit can --diff against either.
2. Plan the checks
For each feature pick the cheapest check that proves it works for a real user:
- UI flow: open the page in the browser, perform the action, confirm the visible result. Use a test account; ask for one if login is needed and none exists.
- API: call the endpoint with realistic input; check status and shape.
- Data: read-only SQL to confirm the feature has data to show (recommendations need rows; a stats page needs aggregates). Empty data is a finding, not a pass.
- Jobs: last run time and result from logs or the jobs table.
- Roles: an admin-only action must fail for a normal user.
Never write to production data to test. Use preview/staging or a local database. Ask before testing anything that sends email, charges money, or posts publicly. Never paste secrets or tokens into the audit file.
3. Run
Large apps: split by area (auth, core, admin, billing, integrations) and run areas in parallel with subagents (see Harness notes). Give each child its inventory rows and the rules above; children are read-only except for the audit file. Without subagents, run the areas one after another.
Status per feature:
- pass — works with evidence.
- broken — errors, wrong result, or the UI never appears.
- partial — works for some inputs, roles, or screen sizes.
- no data — code works but nothing to show (missing job, empty table, unlinked external IDs).
- untested — could not test; say why.
4. Fix
Default: fix small breaks (one or two files, clear cause) during the
audit, re-test, and mark them fixed. List larger ones with cause and a
suggested fix, and ask which to take on. If the user said "fix everything",
fix all of them, one commit per feature. For UI fixes, check phone and
desktop widths (responsive-qa if installed); hand off to ship if
installed and the user wants it merged.
5. Report
The table first, worst status first:
| Feature | Status | Evidence | Cause / fix |
|---|
Then: what changed since the last audit (from --diff), what was fixed,
what needs a decision, and what could not be tested. Give the audit file's
path. Keep it updated so a later audit can diff against it.
Files
Changelog
[1.0.0] - 2026-11-28
Added
- Standalone repo layout (
skills/feature-audit/),skill.json, trigger evals, CI. inventory.py --diff <previous inventory.json or feature-audit.md>lists added, removed, and method-changed routes, jobs, and tables since the last audit.- Fixture tests for Next.js (app and pages routers), Astro, SvelteKit, Remix/React Router, Express/Hono/Fastify, Vercel crons, queue workers, Prisma, SQL, and Drizzle.
Changed
- The audit file defaults to the scratchpad or
${TMPDIR:-/tmp}/feature-audit/<repo>-<stamp>/;docs/feature-audit.mdonly when asked. - Harness-neutral: subagent, browser, and ask-user steps work in T3 Code, Claude Code, Codex, and Cursor; signalbox is optional.
Fixed
- Remix folder and flat routes, resource routes; SvelteKit duplicate pages; Next.js re-exported handlers; pages/api method detection; Fastify routes; merged methods per path; axios client calls no longer reported as endpoints; schema-qualified SQL tables; Web Workers and test files no longer counted; Astro endpoint labelling.