Feature From a Specification

Build exactly the listed requirements against your existing patterns — and nothing more.

Intermediate1 min read

Customize

Fill these in and the prompt below updates as you type. Anything you leave blank stays as a placeholder.

Your prompt

4 placeholders left
Implement the following feature in {{stack}}.

Requirements:
{{requirements}}

Constraints:
- Must integrate with: {{existing_system}}
- Must handle errors by: {{error_strategy}}
- Must be testable in isolation (no hidden dependencies)

Do not add features beyond what's listed. Add inline comments only where the logic is non-obvious.

Similar prompts

Function From Requirements

A typed, documented function built to spec — with three unit tests covering the edge and error cases.

Write a Spec by Interviewing Me

Turn a vague idea into a written spec by making the model interrogate you first.

Add Diagnostics Before Guessing

Instrument first, theorize second — logging with a stated plan for capturing the failure.

Add Types Incrementally

Type one file with runtime behavior frozen, and make the type-checker output the proof.