The Alternatives Issue For tool owners Sign in

AI Coding Agent Prompts

AI coding-agent prompts for scoped implementation, code review, repo rules, CLAUDE.md files, AGENTS.md files and Cursor workflows.

Claude Code, Codex and Cursor

Browse all 2 prompts

Start with this prompt

Scoped bugfix brief

Fix the failing checkout redirect in app/checkout/. Keep changes inside that route. First reproduce with the checkout test suite, then patch minimally, then re-run tests and lint. Do not refactor unrelated files. Report: root cause, files changed, verification output.

Scope

Coding agents need file ownership and a measurable target before they edit.

  • Files or modules
  • Acceptance criteria
  • Stop conditions

Rules

Persistent files make repeated sessions follow the same project expectations.

  • CLAUDE.md
  • AGENTS.md
  • Cursor rules

Verification

Every useful coding prompt should tell the agent how to prove the work.

  • Tests
  • Build
  • Lint
  • Manual checks

Prompt examples

Compare prompts

Claude Code
Fix the failing checkout redirect in app/checkout/. Keep changes inside that route. First reproduce with the checkout test suite, then patch minimally, then re-run tests and lint. Do not refactor unrelated files. Report: root cause, files changed, verification output.
Cursor
Create .muse/rules/api.md: all API routes must validate input with zod, return typed errors, and never expose stack traces. Include three short examples. Keep it under 40 lines.

Quality checklist

  1. File scope is explicit
  2. Acceptance criteria are measurable
  3. Verification commands are included
  4. Refactor limits are stated
  5. A concise handoff format is requested

Related Promtable paths

build-with-aiclaude-codecodex-clicursoragents.mdclaude.mdcode reviewrepo surgery

FAQ

Questions readers ask.

What makes a good coding-agent prompt?

It gives context, file scope, constraints, acceptance criteria, verification commands and a concise handoff format.

Should prompts allow broad refactors?

Only when the task truly requires it. Most coding-agent prompts should keep changes narrow and reviewable.

promtable - copy-ready AI prompt examples for image, video, audio and build-with-AI workflows.