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.

9 results

  • 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.

  • 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.

  • 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.

  • 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.