← Index21 entries · By Vocation
Section II · For the Software Engineer

Prompts for the Software Engineer

AI prompts to help software engineers ship faster: code review, debugging, explaining code, writing tests, refactoring, and documentation.

№ 002coding

Perform a Thorough Code Review on a Pull Request

Get a senior-engineer-style code review with categorized, file-referenced feedback.

For
claude·chatgpt
№ 006coding

Explain Complex Code in Simple Terms

Turn confusing code into a clear, junior-friendly explanation with edge-case notes.

For
claude·chatgpt
№ 012coding

Debug an Error Message Step-by-Step

Get a structured debugging plan: error explanation, ranked root causes, tests, and fixes.

For
claude·chatgpt
№ 019data

Write a SQL Query From a Business Question

Translate a business question into a clean, commented SQL query against your schema.

For
chatgpt·claude
№ 020productivity

Write a Concise Weekly Status Update

Convert messy weekly notes into a manager-ready 200-word status update.

For
chatgpt·claude
№ 021coding

Refactor Code for Readability and Maintainability

Refactor any code for readability and maintainability without changing its behavior.

For
claude·chatgpt
№ 022coding

Generate Unit Tests for a Function

Generate comprehensive unit tests with happy path, edge cases, and failure modes.

For
claude·chatgpt
№ 023coding

Write a Clear Git Commit Message

Generate a Conventional Commits-compliant git commit message with context and rationale.

For
claude·chatgpt
№ 024coding

Design a RESTful API Endpoint Schema

Design a complete REST API schema with request/response bodies, status codes, and error cases.

For
claude·chatgpt
№ 025coding

Build and Explain a Regular Expression

Get a working regex with a plain-English breakdown and a set of passing/failing test cases.

For
claude·chatgpt
№ 026coding

Translate Code From One Language to Another

Convert code between programming languages while using idiomatic patterns in the target language.

For
claude·chatgpt
№ 027coding

Audit Code for Performance Bottlenecks

Identify performance bottlenecks in code and get ranked, impact-focused optimization suggestions.

For
claude·chatgpt
№ 028coding

Run a Security Review on Code

Get an OWASP-aligned security review with severity ratings and remediation snippets.

For
claude·chatgpt
№ 029coding

Design a Normalized Database Schema

Design a fully normalized relational database schema with DDL, indexes, and design rationale.

For
claude·chatgpt
№ 030coding

Write Clear Technical Documentation

Generate complete Markdown technical docs with params, examples, and error handling.

For
claude·chatgpt
№ 084career

Write a Self-Review for Your Performance Review

Turn your wins into a polished, metrics-backed self-review with an explicit ask.

For
chatgpt·claude
№ 096coding

Generate a Production-Ready Dockerfile and Explain Each Line

Generate a hardened, multi-stage Dockerfile with line-by-line comments and matching .dockerignore.

For
claude·chatgpt
№ 097coding

Explain and Write a Regex From Plain English

Translate a plain-English matching requirement into a regex with line-by-line breakdown and edge cases.

For
claude·chatgpt
№ 098coding

Design a Clean REST API for a New Resource

Get a complete REST endpoint design with shapes, errors, and idempotency notes.

For
claude·chatgpt
№ 099coding

Write Unit Tests for an Existing Function

Generate a thorough unit test suite covering happy path, branches, edges, and errors.

For
claude·chatgpt
№ 100coding

Optimize a Slow Function With Specific Tradeoffs

Get a ranked list of optimizations with complexity analysis and explicit tradeoffs.

For
claude·chatgpt