John Patsias · West Palm Beach, FL
← All projects

How I Build with AI

I use Claude Code to write much of the code in these projects. I decide what gets built, I read what it writes, and nothing touches a client's live data until it has passed the checks below.

My process

  1. I write down the problem and the rules first: who is allowed to do what, which records can change, and what must stay the same.
  2. The AI drafts the code. I read it and ask for changes until I understand every step that writes data.
  3. Anything that writes data runs in preview mode first and shows what it would change.
  4. I run it on a test batch of a few records and check each one by hand.
  5. I take a full backup before any live run.
  6. After the run, an audit compares a saved "before" copy with the new data: counts, totals and links between records.
  7. Automated tests stay with the code so a later change that breaks a rule fails a test.

When it went wrong

On the QuickBooks project, the first version of the correction script re-created invoices instead of editing them, which gave them new IDs and left customer payments pointing at the old ones. I approved that first version. The before/after audit caught it, and I relinked 1,192 payments with zero failures. An early test batch on overpayments also went wrong, and I restored it from backup. Both are why steps 3 through 6 exist.

Where I draw the line

The QuickBooks client's code stays with the client, and the public example I wrote runs on made-up data. Security decisions, like who gets which rights in Active Directory, are mine, and I write them down before any code exists.

Beyond code

I use the same approach for configuration work: Group Policy, scripts, runbooks and firewall rules, with a second AI model or agent checking what Claude gives me. Examples are on the AI-Assisted IT Builds page.

Tests in the public projects

Delegated User Manager
38 tests
QuickBooks Item Remap
17 tests
Access Review Tool
7 tests
Total
62 tests

Questions about how I work? Email [email protected].