Coding

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

0/11 filled

Fill in the fields below. The preview on the right updates live as you type.

Live Preview

UnfilledFilled
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

  1. 1Fill in your details in the form above — the prompt preview updates as you type.
  2. 2Check the live preview to confirm all fields are filled correctly.
  3. 3Click "Copy prompt" and paste directly into ChatGPT.