Coding & Software prompts

Prompts for the engineering work you repeat most: writing a pull request description, tracing an error or a flaky test, reviewing and refactoring code, working with SQL and regular expressions, and documenting what you built. Each one asks for the code, versions and constraints an assistant needs, and tells it to say what it cannot know instead of guessing.

Browse and search the whole library

  • Coding & Software

    Debug a Flaky Test

    Finds why a test passes sometimes and fails other times, ranks the likely causes and gives an experiment to prove each one.

    Customizable fields
    8 fields
  • Coding & Software

    Document an API Endpoint

    Writes reference documentation for one API endpoint from its code, covering parameters, responses, errors and a working example.

    Customizable fields
    6 fields
  • Coding & Software

    Explain Unfamiliar Code

    Explains code you did not write at the level you ask for, tracing the data flow and flagging what it cannot tell from the snippet alone.

    Customizable fields
    4 fields
  • Coding & Software

    Optimize a Slow SQL Query

    Reads a slow query and its execution plan, explains where the time goes and proposes changes you can test one at a time.

    Customizable fields
    7 fields
  • Coding & Software

    Refactor Code Without Changing Behavior

    Plans a refactor as small reversible steps, states the behavior to preserve and says what to test before each step.

    Customizable fields
    7 fields
  • Coding & Software

    Translate Code to Another Language

    Ports code to another language idiomatically, lists behavior that differs between the two and gives checks that prove the port matches.

    Customizable fields
    6 fields
  • Coding & Software

    Write a Commit Message From a Diff

    Writes a Conventional Commits style message from a diff, and tells you when the diff is really two commits that should be split.

    Customizable fields
    5 fields
  • Coding & Software

    Write a Pull Request Description

    Turns a diff and a ticket into a pull request description with context, changes, risk and a test plan that reviewers can follow.

    Customizable fields
    6 fields
  • Coding & Software

    Write a Reproducible Bug Report

    Turns messy observations into a bug report with exact steps, expected and actual behavior, environment and what is still unknown.

    Customizable fields
    8 fields
  • Coding & Software

    Write a SQL Query From Your Schema

    Writes a SQL query from a plain-English question and your table definitions, with assumptions listed and checks to verify the result.

    Customizable fields
    5 fields
  • Coding & Software

    Write an Architecture Decision Record

    Turns a technical decision and the options you weighed into an ADR with context, consequences and the conditions for revisiting it.

    Customizable fields
    9 fields
  • Coding & Software

    Write and Explain a Regular Expression

    Builds a regular expression from matching and non-matching examples, explains each part and lists the edge cases it does not handle.

    Customizable fields
    6 fields
  • Coding & Software

    Code Review Checklist Prompt

    A structured review prompt that checks correctness, failure handling, security and tests, and labels every finding by severity.

    Customizable fields
    3 fields
  • Coding & Software

    Debug an Error Message

    Paste an error and the code around it to get ranked causes, the smallest fix and a quick check to confirm the diagnosis.

    Customizable fields
    5 fields
  • Coding & Software

    Write Unit Tests for a Function

    Generates focused unit tests for one function, covering normal cases, boundaries and invalid input without mocking more than needed.

    Customizable fields
    3 fields