Top AI prompts for coding. Code generation, refactoring, debugging
7 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.
Converts natural language business questions into SQL queries and interprets the results into actionable business insights.
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.
A system prompt that turns any LLM into a thorough, senior-level code reviewer. Catches bugs, suggests improvements, and explains reasoning.
Designs normalized database schemas from business requirements with tables, relationships, indexes, and migration scripts.