AI coding prompts

17 prompts · last added

17 free, copy-ready AI coding prompts for Claude, ChatGPT and Cursor. Prompts for code review, architecture, debugging, testing, and developer productivity.

7 results

  • Architecture Decision Record for a Technology Choice

    Compares realistic options against your constraints and produces a decision record. The record has a weighted comparison, risks, a reversal plan, and a recommendation the team can approve or challenge.

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

  • SQL Query from Schema and Question

    Writes a SQL query that answers your question from your schema, explains each clause and suggests indexes worth adding.

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

  • Regex with Match and Non-Match Test Strings

    Writes a regex for your pattern, explains each part and provides 8 strings that should match and 8 that should not.

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

  • Explain This Error with Ranked Causes

    Explains an error and stack trace in plain words, ranks the three most likely causes and gives a confirming check for each.

About these prompts