๐ป Coding Prompts
29 prompts ยท Debug, refactor, generate code, explain algorithms
Build a REST API Endpoint with Input Validation and Error Handling
Generate a production-ready REST API endpoint with robust input validation, error handling, and security best practices.
Create a GraphQL Resolver with Data Loading and Authorization
Generate a full GraphQL resolver implementation with DataLoader, authorization, pagination, and proper error handling.
Build a Reusable React Custom Hook with TypeScript and State Management
Generate a fully typed React custom hook with state management, error handling, cleanup, and comprehensive test cases.
Create a Vue 3 Composable Function with Reactive State and Lifecycle Integration
Generate a Vue 3 composable with reactive state, watchers, lifecycle management, SSR support, and TypeScript types.
Design a Svelte Store with Derived State and Async Subscriptions
Generate a feature-rich Svelte store with derived state, persistence, async operations, and proper subscription management.
Build a Robust Web Scraper with Error Handling and Data Export
Build a complete web scraper with pagination, error handling, rate limiting, data validation, and flexible export options.
Design and Build a Full-Featured Command-Line Interface (CLI) Tool
Create a polished CLI tool with subcommands, config support, colored output, progress indicators, and proper testing.
Create a GitHub Actions CI/CD Workflow for Automated Testing and Deployment
Generate a complete GitHub Actions CI/CD workflow with build, test, deploy, and notification jobs for your project.
Build a High-Performance Caching Layer with Cache Invalidation Strategy
Implement a production-grade caching layer with smart invalidation, stampede prevention, and monitoring in your language.
Implement Secure Authentication Middleware with JWT and Role-Based Access Control
Build secure JWT authentication middleware with refresh tokens, RBAC, and security best practices for your API framework.
Create a Robust File Upload Handler with Validation and Cloud Storage Integration
Build a production-ready file upload handler with validation, image processing, and cloud storage for your web app.
Build a Flexible CSV Parser with Streaming, Validation, and Error Reporting
Create a streaming CSV parser with schema validation, error reporting, and data transformation for large file processing.
Build a Scalable WebSocket Server with Room Management
Build a WebSocket server with authentication, room management, structured messaging, and horizontal scaling support.
Implement a Configurable Rate Limiter Middleware
Implement a multi-algorithm rate limiter middleware with tiered limits, distributed storage, and proper HTTP headers.
Create a Production-Ready GitHub Actions CI/CD Workflow
Generate a complete GitHub Actions CI/CD workflow with build, test, security scanning, multi-environment deployment, and notifications.
Generate a Kubernetes Deployment Manifest with Best Practices
Create production-ready Kubernetes deployment manifests with security, autoscaling, networking, and reliability best practices built in.
Design a Complete GraphQL Schema with Types, Queries, and Mutations
Design a fully documented GraphQL schema with types, queries, mutations, subscriptions, pagination, and auth directives for any domain.
Generate a Production-Ready Docker Compose File
Generate a fully configured Docker Compose file with networking, volumes, health checks, and security best practices.
Build a Complete GitHub Actions CI/CD Workflow
Create a GitHub Actions CI/CD workflow with build, test, security scanning, Docker deployment, and notifications.
Create Terraform Infrastructure as Code for Cloud Deployment
Generate modular Terraform IaC configurations for cloud infrastructure with networking, compute, database, and security.
Build a Reusable React Component with TypeScript and Best Practices
Generate a fully typed, accessible, and tested React component with TypeScript, performance optimizations, and documentation.
Create a Flexible Python Decorator with Advanced Features
Generate a production-grade Python decorator with async support, type hints, logging, error handling, and pytest coverage.
Design a SQL Stored Procedure with Error Handling and Optimization
Generate a robust SQL stored procedure with transaction management, error logging, performance tuning, and security best practices.
Debug My Code and Explain the Fix
Get your code debugged with clear explanations of what went wrong and why, plus the corrected version.
Write Unit Tests for My Code
Generate thorough unit tests covering edge cases, error handling, and both positive and negative scenarios.
Convert Code Between Languages
Convert code between any programming languages while maintaining idiomatic patterns and best practices.
Explain Code Like Im a Beginner
Get any code explained in plain English with line-by-line breakdowns, analogies, and learning suggestions.
Write a REST API Endpoint
Generate production-ready REST API endpoints with validation, error handling, and documentation.
Refactor Code for Better Performance
Get your code refactored for better performance with Big O analysis and design pattern suggestions.