πŸ“– Step 1: Planning & Product#13 / 291

Spec

Specification

πŸ“–One-line summary

A document that defines exactly how a feature should behave.

✨Example

A functional spec defines behavior in detail

πŸ“„ spec: search feature
Input:User types into the search bar
IF Korean input β†’ search by term name
IF English input β†’ search the English source
IF 0 results β†’ show the "no results" UI
IF Results exist β†’ render as a card list
Exceptions:Fewer than 2 chars β†’ no search executed

⚑Vibe coding prompt examples

>_

Write the technical spec for an image upload feature. Specify supported formats, max size, resizing logic, and API endpoints.

>_

Organize the spec for a notifications feature. Define trigger conditions and data structures for push, in-app, and email notifications.

>_

Write a tech spec document for a chat feature. Also include sequence diagrams for message send, read receipts, and file attachments.

Try these prompts in your AI coding assistant!