Skip to main content
Coding LibraryPopular Domain
22 Verified Prompts

Coding AI Prompts

Architect clean software, debug tricky edge cases, refactor legacy modules, and design APIs.

Available Prompts22
Subtopics5
Access100% Free

Getting Better Results with Coding Prompts

Provide Specific Context

When using prompts in this category, fill in every interactive variable with real constraints, specific tech stacks, or targeted audiences to eliminate generic AI verbosity.

Select the Optimal Model

Every prompt includes model compatibility tags. Use Claude 3.5 Sonnet for code and complex structural reasoning, GPT-4o for versatile copywriting, and Gemini for extensive document synthesis.

Iterative Refinement

Each prompt outputs structured sections. You can easily follow up with prompts like “refactor step 2 with higher conciseness” or “expand the edge cases” to lock in ideal results.

Prompts in Coding

Filter by subtopic or search keywords to find the exact prompt for your workflow.

Showing 22 of 22 prompts
Subtopics:
Codingadvanced

Principal Code Reviewer & Architecture Auditor

Conduct rigorous architectural code reviews identifying memory leaks, race conditions, and typing holes.

claudechatgptcopilot
#code-review#clean-code#architecture
Codingintermediate

SQL Query Performance Optimizer & Index Explainer

Analyze slow SQL queries, explain EXPLAIN ANALYZE bottlenecks, and suggest optimal B-tree or partial indexes.

claudechatgpt
#sql#postgresql#indexing
Codingadvanced

Production Incident Post-Mortem & Root-Cause Synthesizer

Convert messy incident Slack logs and alerts into a blameless, rigorous post-mortem with corrective action items.

claudechatgptgemini
#post-mortem#root-cause-analysis#sre
Codingadvanced

Pragmatic REST & GraphQL API Contract Architect

Design robust, backwards-compatible API contracts with clean error schemas, pagination, and idempotency keys.

claudechatgptgemini
#api-design#rest-api#graphql
Codingintermediate

Exhaustive Edge-Case Unit & Integration Test Generator

Analyze production functions to discover subtle concurrency, boundary, and null pointer edge cases and write unit tests.

claudechatgptgemini
#unit-testing#integration-testing#edge-cases
Codingadvanced

Monolith to Modular Decoupling & Boundary Architect

Carve clear bounded contexts out of entangled monoliths using the Strangler Fig pattern and event-driven seams.

claudechatgptgemini
#software-architecture#refactoring#monolith-to-microservices
Codingintermediate

Algorithm Big-O Time & Space Complexity Optimizer

Profile nested iterations and un-indexed lookups to refactor O(N^2) algorithms into O(N) or O(N log N) implementations.

claudechatgptgemini
#algorithms#big-o#complexity-analysis
Codingintermediate

Legacy Codebase Refactoring & Technical Debt Reducer

Systematically deconstruct tightly coupled spaghetti code into isolated, testable pure functions without breaking behavior.

claudechatgptgemini
#refactoring#technical-debt#code-smells
Codingadvanced

Engineering RFC & Technical Design Document Author

Author comprehensive Request for Comments (RFC) documents detailing alternatives considered, trade-offs, and rollout risks.

claudechatgptgemini
#rfc#design-doc#technical-writing
Codingadvanced

OWASP Security Vulnerability & Dependency Auditor

Inspect code modules for injection vulnerabilities, insecure deserialization, broken access controls, and auth flaws.

claudechatgptgemini
#security-audit#owasp#vulnerability-scanning
Codingadvanced

Architectural Decision Record (ADR) Analysis & Trade-Off Matrix

Evaluate competing technical architectures, state assumptions, and document a formal Architectural Decision Record.

claudechatgptgemini
#system-architecture#adr#trade-offs
Codingadvanced

REST & GraphQL API Design & Backwards Compatibility Review

Audit proposed API endpoints for idempotent operations, naming consistency, pagination schemas, and breaking change risks.

claudechatgptgemini
#api-design#rest-api#graphql
Codingadvanced

Relational & NoSQL Database Schema & Indexing Audit

Audit database tables, composite indexes, foreign keys, partition strategies, and N+1 query vulnerability points.

claudechatgptgemini
#database-schema#sql-optimization#indexing
Codingadvanced

Safe Incremental Refactoring Plan for Complex Legacy Code

Formulate a phased refactoring strategy using the Mikado Method and Strangler pattern to eliminate risk.

claudechatgptgemini
#refactoring#legacy-code#mikado-method
Codingintermediate

Edge-Case Driven Unit Test Suite Generator with Mocks

Generate thorough, resilient unit test suites targeting boundary conditions, error branches, and mock contracts.

claudechatgptgemini
#unit-testing#jest#vitest
Codingadvanced

End-to-End & Integration Test Boundary Specification

Architect integration test boundaries with ephemeral test containers, database seed strategies, and external API stubs.

claudechatgptgemini
#integration-testing#e2e#testcontainers
Codingadvanced

Production Bug Forensic Root-Cause Analysis & 5-Whys

Conduct a blameless post-mortem, trace crash telemetry, and execute a 5-Whys root cause investigation.

claudechatgptgemini
#root-cause-analysis#post-mortem#debugging
Codingintermediate

Production Engineering Runbook & Architecture Documentation

Generate actionable on-call runbooks with telemetry thresholds, mitigation steps, and architectural diagrams.

claudechatgptgemini
#documentation#runbook#on-call
Codingintermediate

Constructive Multi-Dimension Pull Request Code Review

Conduct a senior code review balancing correctness, concurrency edge cases, readability, and performance.

claudechatgptgemini
#code-review#pull-request#github
Codingadvanced

Legacy Monolith to Modular Service Modernization Roadmap

Plan a low-risk migration from legacy monolithic architecture to modular domain boundaries using the Strangler pattern.

claudechatgptgemini
#legacy-modernization#strangler-pattern#microservices
Codingadvanced

System Performance Bottleneck & Latency Waterfall Profiler

Diagnose CPU spikes, memory leaks, event loop delays, and distributed latency waterfalls in production.

claudechatgptgemini
#performance-optimization#profiling#latency
Codingadvanced

Defensive Application Security & OWASP Code Vulnerability Audit

Conduct a defensive security audit targeting OWASP Top 10 vulnerabilities, IDOR, SSRF, and auth bypasses.

claudechatgptgemini
#application-security#owasp#code-audit
Curated Workflows

Collections Featuring Coding

Multi-stage prompt suites designed to solve end-to-end projects.

All collections

Related Categories

Explore adjacent categories that complement Coding.

View all categories

Related Engineering Guides

System prompt architectures, playbooks, and best practices for Coding.

View all guides