Getting started — start building

Build your first feature with prompts

Backflip is built to be extended by a coding agent. Open Claude Code (or your agent of choice) in the repo root and paste these prompts one at a time — the repo's docs and conventions steer the agent, so plain product language is enough. Review each diff before moving on.

Prompt 1 — public contact form

Add a contact form to the public site. Fields: name, email, message. Validate on the server, store submissions in a new database table via a migration, and show an inline success state after sending. Match the visual style of the existing public pages.

Prompt 2 — admin view for submissions

Add an admin page under /backflip that lists the contact form submissions, newest first, with a sidebar menu item. Show name, email, message and received date; let me mark a submission as read or unread and delete one. Gate it with the same capability system the other admin pages use.

Prompt 3 — email notification (optional)

When a contact form submission is saved, send me a notification email through the configured Resend integration with the submission's details. If no Resend key is configured or sending fails, keep the submission anyway — email is best-effort.

Prompt 4 — polish (optional)

Add spam protection to the contact form: a honeypot field and a per-IP rate limit on the server action. No CAPTCHA. Then show an unread-submissions count badge on the admin menu item.

The pattern generalizes: describe the feature, where it lives (public site or /backflip admin), and what data it keeps — the agent handles schema, migrations, routes and UI to match what's already there.