💡 How to use these prompts:
Replace everything in [BRACKETS] with your specific details before sending.
Click Copy to copy any prompt to your clipboard instantly.
You are a senior [LANGUAGE/FRAMEWORK] developer. Build the following feature from scratch. Write production-ready code with error handling, comments, and a brief explanation of your approach.
Feature: [DESCRIBE THE FEATURE]
Stack: [YOUR TECH STACK]
Constraints: [ANY REQUIREMENTS — e.g. no external libraries, must work offline]
Write a REST API endpoint in [FRAMEWORK — e.g. Express, FastAPI, ASP.NET] for the following requirement. Include input validation, error handling, and appropriate HTTP status codes.
Endpoint purpose: [DESCRIBE WHAT IT DOES]
Method: [GET / POST / PUT / DELETE]
Input: [DESCRIBE EXPECTED INPUT]
Output: [DESCRIBE EXPECTED RESPONSE]
Write a regular expression that matches the following pattern. Explain what each part of the regex does. Provide 3 examples of strings it should match and 3 it should not match.
Pattern to match: [DESCRIBE WHAT YOU NEED TO MATCH]
Language/flavor: [JAVASCRIPT / PYTHON / .NET / etc.]
Suggest a clean folder and file structure for the following project. Explain the purpose of each major folder. Include a sample package.json / requirements.txt / .csproj where relevant.
Project type: [DESCRIBE YOUR PROJECT]
Stack: [YOUR TECH STACK]
Scale: [SMALL SIDE PROJECT / PRODUCTION APP / ENTERPRISE]