AI coding prompts for Claude Code, Cursor, Copilot, and code assistants.
50 prompts— sorted by community rating
A structured prompt for debugging that forces systematic root cause analysis instead of random fixes.
Analyzes code and suggests refactoring improvements following clean code principles. Prioritizes readability and maintainability.
Implement consumer-driven contract testing with Pact. Ensure API changes don't break consumers without running full integration tests.
CI/CD pipeline for a monorepo with path-based triggers, parallel builds, shared caching, and conditional deployments per package.
Set up a complete observability stack. Structured logging, Prometheus metrics, distributed tracing with OpenTelemetry — correlated with trace IDs.
Build type-safe server actions for Next.js forms. Validation, error handling, optimistic updates, and revalidation — the modern mutation pattern.
Configure Kubernetes HPA with custom application metrics. Scale on queue depth, response latency, or business KPIs — not just CPU.
Build a prompt template engine that supports variables, conditionals, loops, and includes. Like Handlebars but for LLM prompts.
Production-grade Docker Compose setup for a full-stack app. App, DB, Redis, worker, nginx — with hot reload, health checks, and named volumes.
Set up mutation testing to verify your tests actually catch bugs. Stryker mutates your code and checks if tests fail — the ultimate test quality metric.
Build a REST API with Deno 2 using Web Standards APIs. Secure by default with explicit permissions, built-in testing, and zero config.
Designs RESTful API endpoints with proper HTTP methods, status codes, request/response schemas, and error handling.
Analyzes slow SQL queries, identifies bottlenecks, and rewrites them for optimal performance with EXPLAIN analysis.
Build an AI agent that reasons and acts using tools. ReAct loop with function calling, error recovery, and conversation memory.
Build a GitHub PR review bot that uses LLMs to analyze code changes, detect issues, and post review comments automatically.
Designs normalized database schemas from business requirements with tables, relationships, indexes, and migration scripts.
Set up visual regression testing in CI with Playwright. Capture screenshots, compare against baselines, and block PRs on visual changes.
Build a fast local-first backend using Bun's built-in SQLite. CRUD API, migrations, full-text search, and WAL mode for concurrent reads.
Reliably extract structured JSON from LLM responses. Schema validation, retry on malformed output, and fallback parsing strategies.
Build a semantic code search engine using embeddings. Search by intent ('function that validates email') rather than exact text matches.
Build a full tRPC v11 setup with procedures, middleware, subscriptions, and React Query integration. Full-stack TypeScript type safety.
Track LLM API costs across multiple providers. Token counting, cost calculation, budget alerts, and per-feature usage attribution.
Build a Web Worker pool that distributes CPU-intensive tasks across threads. Task queue, load balancing, and progress reporting.
Reusable Terraform module for a production AWS setup. VPC with public/private subnets, ECS Fargate service, ALB, RDS, and CloudWatch monitoring.
Intermediate code generation prompt. Cypress E2E Test with customizable parameters for professional results.
A advanced-level code prompt for creating oauth 2.0 flow. Fill in the variables to customize the output for your specific needs.
Craft next.js api route with this structured code prompt. Adjustable variables let you fine-tune the output.
Advanced code generation prompt. Machine Learning Model with customizable parameters for professional results.
Advanced code generation prompt. DynamoDB Access Pattern with customizable parameters for professional results.
Intermediate code generation prompt. Prisma Schema + Migration with customizable parameters for professional results.
Advanced code generation prompt. Fine-Tuning Data Prep with customizable parameters for professional results.
Advanced code generation prompt. Electron IPC Bridge with customizable parameters for professional results.
Craft svg icon component with this structured code prompt. Adjustable variables let you fine-tune the output.
Advanced code generation prompt. OpenAI Function Calling with customizable parameters for professional results.
Intermediate code generation prompt. React Component Generator with customizable parameters for professional results.
Advanced code generation prompt. Playwright Visual Regression with customizable parameters for professional results.
Craft sveltekit route with this structured code prompt. Adjustable variables let you fine-tune the output.
Craft graphql schema designer with this structured code prompt. Adjustable variables let you fine-tune the output.
Craft nginx configuration with this structured code prompt. Adjustable variables let you fine-tune the output.
A beginner-level code prompt for creating cron job manager. Fill in the variables to customize the output for your specific needs.
Craft bun http server with this structured code prompt. Adjustable variables let you fine-tune the output.
Craft csp header generator with this structured code prompt. Adjustable variables let you fine-tune the output.
Intermediate code generation prompt. Python Data Pipeline with customizable parameters for professional results.
Craft code splitting config with this structured code prompt. Adjustable variables let you fine-tune the output.
A intermediate-level code prompt for creating input sanitizer. Fill in the variables to customize the output for your specific needs.
Advanced code generation prompt. Event Sourcing with customizable parameters for professional results.
A advanced-level code prompt for creating typescript type wizard. Fill in the variables to customize the output for your specific needs.
Master React Server Components data fetching patterns. Server-only queries, streaming with Suspense, waterfall prevention, and cache strategies.
Intermediate code generation prompt. SQLite Full-Text Search with customizable parameters for professional results.
Craft rate limiter implementation with this structured code prompt. Adjustable variables let you fine-tune the output.