AI agent prompts

74 prompts

Prompts for coding agents and agent workflows, from Claude Code, Codex and Cursor to multi-agent pipelines. They read like task briefs: the goal, the scope, the tools allowed and the checks that prove the work is done.

3 results

  • Characterization Tests Before a Refactor

    Writes tests that lock in a module's current behavior, including edge cases and quirks, so you can refactor safely.

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

About AI agent prompts

How is an agent prompt different from a chat prompt?

An agent acts: it reads files, runs commands and edits code. So the prompt sets limits and a way to verify the result, not only the answer you want.

Which agents do these prompts work with?

Coding agents such as Claude Code, Codex, Cursor and Copilot's agent mode, plus prompts for designing your own multi-agent pipelines. Each prompt lists its tools.

Should I review what the agent does?

Yes. Run agents in a branch or a sandbox, read the diff and the commands they ran, and keep approval on for anything that deletes data or deploys.