Cursor prompts

25 prompts

Prompts for Cursor, the AI code editor. They are written for its agent and chat, and name the files, the change and the checks, so the edit lands where you expect it.

17 results

  • Cursor Agent Bug Triage: Reproduce, Root-Cause, Fix, and Regression Test

    Guides Cursor Agent through reproducing a bug, isolating the root cause with evidence, applying a minimal diff, and adding a regression test, ending with a verification checklist and risks.

  • Unit Test Plan and Test Code for an Existing Function

    Builds a behavior-based test matrix for a function or module and then generates test code in your framework. Covers edge cases, failures, and mocking boundaries, with coverage gaps stated honestly.

  • Pull Request Review with Merge Recommendation

    Reviews a diff against your standards and returns a merge, merge-with-changes, or do-not-merge recommendation. Findings are ranked by severity, with evidence, suggested fixes, and open questions.

  • Edge-Case Test Suite for One Function in Your Existing Test Framework

    Writes tests for a single function that cover normal inputs, boundaries, bad input and error paths, in the test framework your project already uses.

  • Explain a Codebase Folder to a New Developer on Their First Day

    Produces an onboarding guide for one folder of a codebase: what it does, how data moves through it, the files to read first and the traps a new developer should avoid.

  • Plain-English Question to a Correct SQL Query for Your Schema

    Writes a SQL query from a plain-English question using your real table definitions, explains each part, checks it for common mistakes and suggests indexes if it will be slow.

  • Plan Before Edit: Cursor Plan-Mode Prompt for a Feature Request

    Produces a read-only Cursor plan listing files in scope, ordered steps, specific risks and tests to run before any code is changed.

  • Cursor Project Rules Generator for Your Repo's Stack

    Has Cursor inspect your repository and write 3-5 scoped .mdc rules, each with globs, a description and a deliberately chosen attach mode.

  • Failing Test First Bug Fix

    Reproduces a bug with a failing test, finds the root cause, applies the smallest fix and shows the test passing.

  • Cursor .mdc Rules to Portable AGENTS.md Converter

    Converts your pasted Cursor .mdc rules into a single AGENTS.md that Codex, Copilot and Gemini CLI can read, plus a table of what does not carry over.

  • Codebase Tour for a Specific Task

    Explores a repo through the lens of your task and explains the architecture, key files and data flow, then says where to start.

  • Cursor Refactor of a Component With Zero Behaviour Change

    Has the Cursor agent restructure a messy component into smaller pieces while proving the behaviour stays identical, using existing tests or new characterization tests first.

  • Brand Voice Guard Skill That Checks Drafts Against VOICE.md (SKILL.md)

    A SKILL.md that makes Claude write and edit in your brand's voice: it reads a VOICE.md in the project, or builds one from samples, then checks every draft against it.

  • Codex Writes an AGENTS.md for This Repository From the Real Setup

    Has Codex inspect your repository and write a short, accurate AGENTS.md with the real build, test and lint commands, conventions and boundaries, checked by actually running them.

  • Conventional Commit and PR Description Writer Skill (SKILL.md)

    A ready-to-save SKILL.md that makes your coding agent write Conventional Commits messages and pull request descriptions from the staged diff, never from guesses.

  • Release Notes From Git Log Skill for Users and Developers (SKILL.md)

    A SKILL.md that writes release notes from the commits between two tags, split into a plain-language section for users and a technical changelog for developers.

  • Test-First Bug Fix Skill: Reproduce, Fix, Prove (SKILL.md)

    A SKILL.md that forces your coding agent to reproduce a bug with a failing test before changing code, apply the smallest fix, and prove it with the test suite.

About Cursor prompts

Where do I paste a prompt in Cursor?

Open the chat panel, choose Agent when the task changes several files, and paste the prompt. Mention files with @ so Cursor reads them before it plans the edit.

Should I turn a prompt into a Cursor rule?

Only the parts that apply to every task. Project rules live in the repository's .cursor/rules folder; one-off task prompts belong in the chat.

Do these prompts depend on the model I pick in Cursor?

No. Cursor lets you choose the model, and the prompts are plain instructions that any capable model can follow. A stronger model helps most on changes across many files.