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.

Guide & Documentation

Interactive Parameterized Prompts for Software Engineers & AI Pair Programming

A production-ready collection of 42 structured AI prompts for code reviews, architectural refactoring, unit test generation, root cause debugging, and incident postmortems with live variable customization.

How to Use the Interactive Prompt Playground

01

Select an Engineering Task

Choose from Code Review, Architecture & Refactoring, Test Generation, Debugging & Root Cause, Security, or DevOps.

02

Tune Variables in Real-Time

Input your tech stack, framework version, ticket ID, error stack trace, or target performance requirements into the live playground fields.

03

Copy Formatted Output

Copy the fully hydrated prompt as formatted plain text or Markdown into ChatGPT, Claude, Cursor, GitHub Copilot, or your terminal assistant.

Prompt Playground Capabilities

Live Parameter Customization

Dynamic template engine dynamically replaces variables ({{framework}}, {{code}}, {{language}}) with instant live preview.

Standardized Output Contracts

Every prompt enforces structured output formatting: markdown tables, severity levels, before/after diffs, and testable code snippets.

Dual Format Copying

One-click copy as standard conversational prompt text or fenced markdown blocks formatted for IDE chat sidebars.

Zero-Knowledge Local Execution

All variable substitutions and prompt renderings happen entirely in your browser memory without server transmission or logging.

Best Practices for AI Engineering Prompts

  • §1Always provide specific framework versions (e.g. Next.js 15, React 19, Python 3.12) to avoid deprecated patterns or obsolete APIs.
  • §2Instruct the model to explain 'Why' before providing code; chain-of-thought reasoning significantly reduces subtle logic bugs.
  • §3Constrain the output format explicitly (e.g., 'provide unified diffs only' or 'return valid JSON') to reduce hallucinated filler commentary.
  • §4Include edge cases and negative requirements (e.g., 'Do NOT install new third-party dependencies') to keep diffs focused.

Frequently Asked Questions

How do the template variables work?
Each prompt in the library contains customizable parameters (such as {{framework}}, {{code}}, or {{constraints}}). When you type into the playground inputs, the prompt automatically re-renders with your custom values in real time.
Which LLMs are these prompts optimized for?
All prompts are tuned for frontier coding models including Claude 3.5 Sonnet, Claude 3.7 Sonnet, GPT-4o, OpenAI o1/o3-mini, and Gemini 2.0 Pro.
Can I use these prompts commercially in my company?
Yes, all 42 prompts are open-source and free to adapt, integrate into internal tools, or use in private commercial codebases.
Is any of my source code sent to SprintKit servers when using the playground?
No. SprintKit is 100% zero-knowledge. All variable replacement and preview rendering happens locally inside your browser's JavaScript runtime.