Cursor
Build a Feature in an Existing Repo
Brief a coding agent to ship a feature by matching local patterns, touching only the files that matter.
Code Audit
Run a structured audit: correctness, security, a11y, and dead code — with file:line findings, not vibes.
Audit this change / area as a staff engineer doing a pre-merge review. Scope: {{scope}} What this code is supposed to do: {{intent}} Risk level (auth, payments, public page, internal): {{risk}} Report only findings, grouped: 1. Correctness / edge cases 2. Security (injection, authz, secrets, SSRF, unsafe HTML) 3. Accessibility and keyboard use if UI is in scope 4. Performance only if you can point to a real cost 5. Tests that are missing for the failures you found Each finding: file path, what's wrong, why it matters, and a concrete fix. Severity: high / med / low. Do not nitpick naming. Do not suggest a rewrite unless the design cannot meet {{intent}}.
Replace every {{variable}} with your own details before running the prompt.
3 variables
Brief a coding agent to ship a feature by matching local patterns, touching only the files that matter.
Force the agent to reproduce the bug, write or run a failing test, then apply a minimal fix.
Ask the agent to polish a screen using existing design tokens, with mobile and dark mode in the same pass.