Vibecode build plans · № 4

Build an invoice generator

One file, no signup, no SaaS — a freelancer fills in the fields, hits print, and gets a clean PDF. A plan you can paste into your agent, with the money traps marked.

Every freelancer eventually rents an invoicing tool — twelve dollars a month to turn a form into a PDF, plus an account, plus your client list living on someone else's server. An invoice is a form and some arithmetic. You can build the whole thing tonight as one HTML file that runs from your desktop, keeps your data on your machine, and prints to PDF with the button your browser already has.

This plan is opinionated, because invoices are where "close enough" gets expensive. It steers your agent away from the failure modes that actually cost you — money that's off by a cent, a PDF library nobody needed, a printed page covered in buttons — and toward the two things that matter: the totals are exactly right, and the printout looks like a real invoice.

The spec — and the cuts

The prompts

Tick the features you want — the prompts below rewrite themselves. Then paste them into Claude Code (or Cursor, or any agent) one at a time, in order.

Every toggle edits the prompts. The copy buttons grab the current version.

1 · Build it


    

2 · The money-math + polish pass (don't skip this one)


    

3 · Wire up print-to-PDF


    

4 · Get human eyes on it before you send it


    

Where agents go wrong on this build

Why the feedback step is in the plan

An invoice is one of the few things you build that goes straight to someone who's about to pay you — and you only find the typo in your own IBAN, the wrong tax rate, or the client's misspelled company name after you've hit send. You stop reading your own invoice accurately the moment you've stared at it for ten minutes. Prompt 4 wires your agent to our MCP server: it shares the live invoice, you send the link to a co-founder or a bookkeeper, they pin notes right on the numbers from their phone (no login), and your agent reads the notes back and fixes exactly what they flagged. Cheaper than a client correcting you.

Disagree? Pin a note on it →