Agent Prompts Library

Battle-tested prompts engineered for real software development workflows — code reviews, production incidents, architecture RFCs, test generation, and autonomous coding agents.

Code Review & Quality

Rigorous pull request and service audits focusing on correctness, concurrency, and security.

Explore category

Debugging & Incident Analysis

Hypothesis-driven root cause analysis for production exceptions, memory leaks, and deadlocks.

Explore category

Architecture & API Design

System design reviews, schema indexing, and backward-compatible REST/gRPC API contracts.

Explore category

Testing & QA

Comprehensive test suite generation spanning boundary conditions, mutation tests, and mocks.

Explore category
Workflow Categories
Tech:
Target AI:
Showing 40 prompts

Spring Boot REST Service & JPA Code Review

Deep code review for Spring Boot services examining transaction boundaries, JPA N+1 queries, concurrency, and validation.

JavaSpring BootJPAHibernate+2
4 variablesCustomize prompt

Next.js App Router & React Server Components Review

Review Next.js 14/15 App Router code for RSC boundaries, data fetching waterfalls, caching, and hydration safety.

ReactNext.jsTypeScriptFrontend+1
4 variablesCustomize prompt

TypeScript Strict Type Safety & Clean Code Review

Audit TypeScript code for type safety, type narrowing, generics, mutation traps, and runtime boundary leaks.

TypeScriptNode.jsClean CodeArchitecture

Pull Request Severity-Graded Code Review

Structured PR review prompt that categorizes findings into Blocker, Major, Minor, and Nitpick with actionable diffs.

GitGitHubCode ReviewBest Practices
3 variablesCustomize prompt

Security Vulnerability & OWASP Code Audit

Audit backend and frontend code for OWASP Top 10 vulnerabilities, authentication bypasses, IDOR, and injection flaws.

SecurityOWASPAuthBackend+1
3 variablesCustomize prompt

Production Exception & Stack Trace Root-Cause Analyzer

Analyze production stack traces, error logs, and surrounding code using hypothesis-driven debugging.

DebuggingObservabilityLogsIncidents+1
4 variablesCustomize prompt

Database Deadlock & Concurrency Race Condition Investigator

Diagnose Postgres/MySQL transaction deadlocks, lock contention, and concurrent update race conditions.

SQLPostgreSQLMySQLConcurrency+2
4 variablesCustomize prompt

API Performance Regression & N+1 Query Debugger

Identify slow database queries, serialization bottlenecks, and memory churn in sluggish API endpoints.

PerformanceSQLNode.jsJava+2
4 variablesCustomize prompt

Node.js & V8 Memory Leak / CPU Spike Investigator

Analyze heap snapshots, unclosed event listeners, and runaway closures causing Node.js OOM crashes.

Node.jsJavaScriptTypeScriptMemory+2
3 variablesCustomize prompt

Flaky Test & Async Timing Race Condition Debugger

Fix nondeterministic test failures, unhandled async promises, and race conditions in Playwright, Jest, or Vitest.

TestingPlaywrightVitestJest+2
3 variablesCustomize prompt

RESTful API Design & Backward Compatibility Review

Design or review RESTful API contracts for idempotency, pagination, error models, and non-breaking versioning.

APIRESTOpenAPIArchitecture+1
3 variablesCustomize prompt

Database Schema & Relational Indexing Strategy

Design production PostgreSQL schemas with composite indexes, foreign key strategies, and partitioning.

PostgreSQLSQLDatabaseIndexing+1
4 variablesCustomize prompt

Microservices Boundary & Domain-Driven Design Decomposition

Deconstruct monoliths or complex systems into bounded contexts with clear domain events and data ownership.

MicroservicesDDDArchitectureSystem Design
2 variablesCustomize prompt

Technical Design Document (RFC) Generator

Generate thorough, engineering-ready Request for Comments (RFC) and Architecture Decision Records (ADRs).

ArchitectureRFCADRPlanning+1
3 variablesCustomize prompt

Event-Driven Architecture & Message Ordering Review

Review Kafka, RabbitMQ, or SQS/SNS event architectures for exactly-once semantics, out-of-order delivery, and DLQs.

KafkaEvent-DrivenRabbitMQSQS+2
4 variablesCustomize prompt

Unit Test Suite Generator with Edge Cases

Generate comprehensive, mutation-tested unit tests with AAA pattern, boundary cases, and proper mock boundaries.

TestingJUnitVitestPytest+2
3 variablesCustomize prompt

Integration & Contract Test Plan (Testcontainers / Playwright)

Create robust integration test suites with real databases in Docker containers and contract verification.

Integration TestingTestcontainersPlaywrightDocker+1
3 variablesCustomize prompt

API Endpoint Fuzzing & Boundary Value Test Matrix

Generate adversarial fuzzing test cases, SQL injection payloads, and schema violation matrices for REST endpoints.

SecurityTestingFuzzingREST+1
2 variablesCustomize prompt

Database Migration Rollback & Data Integrity Test Plan

Validate database schema migrations for zero data loss, backward compatibility, and forward/backward rollbacks.

SQLDatabaseMigrationsLiquibase+2
3 variablesCustomize prompt

Mutation Testing & Missing Branch Coverage Finder

Audit test suites by simulating mutant bugs (flipped conditionals, off-by-one errors) to expose weak assertions.

TestingMutation TestingStrykerPitest+1
2 variablesCustomize prompt

Legacy Code Safe Refactoring with Characterization Tests

Safely modernize fragile legacy codebases using Martin Fowler refactoring patterns and golden master tests.

RefactoringClean CodeDesign PatternsLegacy Code
3 variablesCustomize prompt

God Class & Long Method Decomposition with Design Patterns

Decompose monolithic 1,000+ line classes into Single Responsibility components using SOLID design patterns.

Design PatternsSOLIDOOPRefactoring+1
3 variablesCustomize prompt

Synchronous Blocking to Async / Reactive Modernization

Convert blocking I/O code into non-blocking async/await, reactive streams, or virtual threads.

AsyncConcurrencyJavaNode.js+2
2 variablesCustomize prompt

Deprecated Dependency & Framework Upgrade Migration Plan

Generate a step-by-step upgrade strategy for major framework shifts (e.g. Next 12 to 15, Spring 2 to 3).

MigrationSpring BootNext.jsReact+2
3 variablesCustomize prompt

Monolith to Clean / Hexagonal Architecture Refactor

Refactor tangled MVC controllers and service layers into Clean Architecture (Ports & Adapters).

Clean ArchitectureHexagonalDDDRefactoring+1
2 variablesCustomize prompt

User Story to Gherkin Acceptance Criteria Generator

Transform messy product requirements into razor-sharp User Stories with Given-When-Then Gherkin acceptance criteria.

AgileScrumGherkinBDD+2
3 variablesCustomize prompt

Epic Breakdown into Atomic Engineering Tasks

Break large product epics into vertically sliced, independently deployable Jira engineering subtasks.

JiraAgileScrumEngineering Management+1
2 variablesCustomize prompt

Sprint Backlog Refinement & Technical Estimation Prompt

Conduct rigorous backlog refinement, identify hidden complexity, and estimate story points with Scrum poker criteria.

RefinementScrumEstimationAgile+1
3 variablesCustomize prompt

Bug Triage & Reproducible Defect Specification

Turn vague user bug reports into crisp, reproducible defect tickets with root-cause hints and regression steps.

Bug TriageQAJiraDebugging+1
2 variablesCustomize prompt

Sprint Retrospective Action-Item Synthesizer

Synthesize team retro feedback into categorized themes, root causes (5 Whys), and SMART action items.

RetroScrumAgileContinuous Improvement+1
2 variablesCustomize prompt

Production Dockerfile Multi-Stage Optimization & Hardening

Optimize Dockerfiles for minimal image size, non-root security, layer caching, and CVE vulnerability reduction.

DockerContainersDevOpsSecurity+1
3 variablesCustomize prompt

GitHub Actions CI/CD Pipeline & Caching Optimizer

Speed up slow GitHub Actions workflows with dependency caching, matrix parallelization, and security secrets.

GitHub ActionsCI/CDDevOpsCaching+1
3 variablesCustomize prompt

Kubernetes Deployment, HPA & Resource Limits Review

Audit Kubernetes manifests for CPU/memory requests, readiness/liveness probes, HPA, and Pod Disruption Budgets.

KubernetesK8sDevOpsCloud+1
3 variablesCustomize prompt

Infrastructure-as-Code (Terraform) Security & Drift Review

Audit Terraform HCL code for IAM over-permissioning, unencrypted storage, public security groups, and drift risks.

TerraformAWSCloudDevOps+2
2 variablesCustomize prompt

Database Zero-Downtime Migration & Rollback Strategy

Plan high-volume, live table restructuring and large column migrations without application outages.

DatabasePostgreSQLDevOpsMigrations+1
3 variablesCustomize prompt

Cursor & Windsurf Rules Generator (.cursorrules / .windsurfrules)

Generate a custom, context-rich project rules file that stops AI coding agents from making recurring mistakes.

CursorWindsurfAI AgentsCoding Agents+1
3 variablesCustomize prompt

Autonomous Coding Agent Implementation Plan Generator

Instruct coding agents (Cursor, Claude Code, Cline) to generate actionable multi-step implementation plans before touching code.

Claude CodeCursorClineAI Agents+1
2 variablesCustomize prompt

Test-Driven Development (TDD) Agent Loop Prompt

Force AI coding agents to follow the Red-Green-Refactor cycle: write failing tests first, then write minimal code to pass.

TDDTestingAI AgentsCursor+1
2 variablesCustomize prompt

Multi-File Codebase Exploration & Architectural Onboarding

Prompt an agent to analyze an unfamiliar codebase and deliver an architectural breakdown, data flows, and gotchas.

OnboardingArchitectureAI AgentsCodebase+1
2 variablesCustomize prompt

Subagent Task Delegation & Verification Prompt

Prompt orchestrating agents to delegate subtasks to child agents with strict verification gates and bounded context.

SubagentsOrchestrationAI AgentsClaude Code+1
4 variablesCustomize prompt
Complementary System

Need reusable agent workflows?

While prompts are ideal for 1-click copy into chat or Cursor, Agent Skills provide persistent skill definitions and automation scripts that coding agents execute repeatedly.