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.
Improve UI
Ask the agent to polish a screen using existing design tokens, with mobile and dark mode in the same pass.
Improve this UI in place. Use the design system already in the repo (tokens, components, spacing). Do not introduce a new visual language. Screen / component: {{screen}} Problems I see: {{problems}} Must keep: {{keep}} Do this: 1. Read the existing components and global styles first 2. Fix the listed problems 3. Check mobile, tablet, and desktop 4. Check light and dark if a theme exists 5. Preserve behaviour and copy unless copy is part of the problem Deliver a short before/after of what changed and which files. No drive-by page rewrites.
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.
Run a structured audit: correctness, security, a11y, and dead code — with file:line findings, not vibes.