Coding Assistant — Build a Feature from a Plain-English Description
Turn a plain-English feature description into working code with clear implementation steps, edge case handling, and tests.
Fill in your details
Fill in the fields below. The preview on the right updates live as you type.
Live Preview
Act as a senior software engineer who writes clean, maintainable, production-ready code with comprehensive comments. Build the following feature: **Feature Description:** [DESCRIBE WHAT YOU WANT IN PLAIN ENGLISH] **Programming Language:** [e.g. Python / TypeScript / JavaScript / Go / Rust / Java] **Framework/Libraries (if applicable):** [e.g. FastAPI, React, Express, Django, Next.js] **Existing Codebase Context:** [BRIEFLY DESCRIBE RELEVANT PARTS OF YOUR CODEBASE, OR "greenfield project"] **Input:** [What data does this feature receive?] **Output:** [What should it return or produce?] **Constraints/Requirements:** - [e.g. Must be idempotent] - [e.g. Must handle up to 1,000 concurrent requests] - [e.g. Response time < 200ms] - [e.g. Must not use external APIs] Please provide: 1. **Implementation** — Full working code with inline comments explaining non-obvious logic 2. **Usage Example** — A minimal runnable example showing how to call/use this code 3. **Edge Cases Handled** — List what the code handles and what it explicitly does NOT handle (and why) 4. **Unit Tests** — At least 3 test cases using [TESTING FRAMEWORK — e.g. pytest / Jest / go test] 5. **Potential Improvements** — 2–3 suggestions for making this production-grade (logging, caching, error handling, monitoring) 6. **Dependencies to Install** — Exact install commands if new packages are needed
11 fields remaining
How to use this prompt
- 1Fill in your details in the form above — the prompt preview updates as you type.
- 2Check the live preview to confirm all fields are filled correctly.
- 3Click "Copy prompt" and paste directly into ChatGPT.
Related prompts
Code Review & Refactor — Improve Existing Code
Get a thorough code review of existing code with specific refactoring suggestions, bug identification, and performance improvements.
Use promptData Analysis — Python Script for Analysing a Dataset
Generate a complete Python data analysis script for any dataset. Covers data cleaning, exploratory analysis, visualisations, and key insights.
Use promptResume Builder — Software Engineer with 8+ Years of Experience
Generate a polished, ATS-optimised resume for a senior software engineer with 8+ years of experience. Covers summary, skills, experience bullets, and impact metrics.
Use promptCover Letter — Any Role, Any Industry
Write a compelling, personalised cover letter for any job application. Matches your experience to the job description and strikes a professional yet human tone.
Use prompt