Act as a senior developer. Review this code for bugs, edge cases, and readability issues. Explain each issue and provide a corrected version. Code: [paste code]
How to customize
Replace the bracketed placeholders with your real details before using it.
#02
Error explainer
Best for: Error fixing
Explain this error message in plain English, identify likely causes, and suggest step-by-step fixes. Error: [paste error]. Context: [language/framework]
How to customize
Replace the bracketed placeholders with your real details before using it.
#03
Component generator
Best for: Web components
Create a responsive [component] using HTML, CSS, and JavaScript. Requirements: [requirements]. Keep code clean, accessible, and commented.
How to customize
Replace the bracketed placeholders with your real details before using it.
#04
Refactor plan
Best for: Refactoring
Refactor this code for readability and maintainability without changing behavior. Explain what changed and why. Code: [paste code]
How to customize
Replace the bracketed placeholders with your real details before using it.
#05
Test cases
Best for: Testing
Create test cases for this function. Include normal cases, edge cases, invalid inputs, and expected outputs. Function: [paste function]
How to customize
Replace the bracketed placeholders with your real details before using it.
#06
API integration plan
Best for: API work
Create a step-by-step plan to integrate [API] into [app]. Include authentication, endpoints, error handling, data model, and testing.
How to customize
Replace the bracketed placeholders with your real details before using it.
#07
Code review checklist
Best for: Reviews
Create a code review checklist for a [language/framework] project. Include security, performance, readability, tests, accessibility, and maintainability.
How to customize
Replace the bracketed placeholders with your real details before using it.
#08
Explain code
Best for: Learning
Explain what this code does line by line, then summarize the main logic and possible risks. Code: [paste code]
How to customize
Replace the bracketed placeholders with your real details before using it.
#09
Database schema
Best for: Database design
Design a simple database schema for [app idea]. Include tables, columns, relationships, indexes, and assumptions.
How to customize
Replace the bracketed placeholders with your real details before using it.
#10
Prompt for docs
Best for: Documentation
Write developer documentation for this code/API. Include overview, setup, usage examples, parameters, errors, and troubleshooting. Material: [paste]
How to customize
Replace the bracketed placeholders with your real details before using it.
#11
Performance audit
Best for: Optimization
Review this code or architecture for performance bottlenecks. Return prioritized fixes with impact and difficulty. Context: [paste context]
How to customize
Replace the bracketed placeholders with your real details before using it.
#12
Security review
Best for: Security
Review this code for common security issues. Focus on input validation, authentication, authorization, secrets, and dependency risks. Code: [paste code]
How to customize
Replace the bracketed placeholders with your real details before using it.
#13
MVP build plan
Best for: Planning
Create an MVP build plan for [app idea]. Include features, data model, pages, components, milestones, and what to skip for v1.
How to customize
Replace the bracketed placeholders with your real details before using it.
#14
Command line helper
Best for: CLI help
Write commands to [task] on [operating system]. Explain each command, prerequisites, and how to verify success.
How to customize
Replace the bracketed placeholders with your real details before using it.
#15
Accessibility fix
Best for: Accessibility
Audit this HTML/CSS for accessibility. Suggest improvements for semantics, keyboard navigation, labels, contrast, and screen readers. Code: [paste code]
How to customize
Replace the bracketed placeholders with your real details before using it.