Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).
-
Performance
Add caching to expensive database reads
Introduces a cache layer with sensible TTLs and invalidation hooks for your most frequently hit queries.
-
Security
Add CSRF protection to my forms and mutations
Adds anti-CSRF tokens or SameSite defenses to every state-changing form and endpoint.
-
Database
Add a periodic data integrity audit
Runs scheduled consistency checks (orphans, bad states, drift) so data problems surface before users find them.
-
Database
Add database-level validation and constraints
Adds NOT NULL, CHECK constraints, and correct column types so bad data can't be written no matter what the app does.
-
Deployment
Add feature flags so risky changes can ship dark
Ship code behind a switch so you can release, roll out gradually, and kill features without redeploying.
-
Database
Add foreign keys and decide delete behavior
Enforces relationships at the database level and makes deletes cascade, restrict, or null out deliberately.
-
Deployment
Add real health and readiness checks
Give your host and monitors an honest signal for 'am I actually up and able to serve traffic'.
-
Database
Add the indexes my queries actually need
Reads your real queries, finds the lookups doing full collection scans, and adds the right indexes.
- 1
- 2
- …
- 29