Skip to content
JulianGG

How I work with AI

I use AI agents to write code, not to decide what to build. I specify first, then delegate, and I always review. Here's how I do it, with a real project as an example.

Before starting: the context

Every project has a constitution with its non-negotiable principles and an AGENTS.md with the stack, commands, conventions and limits (what the agent always does, what it asks first and what it never does). A MEMORY.md keeps decisions and mistakes to avoid between sessions.

My workflow, step by step

  1. Specify

    Every feature starts with a spec: what the user sees in each state, the state contract and verifiable acceptance criteria. If something is ambiguous, it gets asked before any code is written.

  2. Plan

    A technical plan says which files change, in which layers, what pure logic is needed and whether there are migrations. Nothing moves to the next phase without my approval.

  3. Break into tasks

    The plan is split into small, ordered tasks of 20 to 30 minutes, each with its own "done when" condition.

  4. Build with agents

    The agent implements one task at a time, with the project context loaded, and stops when it's done. No "build the whole feature".

  5. Tests

    Verification is a gate: formatting, static analysis and green tests before a task counts as done. On this portfolio, the e2e tests are written before the code.

  6. Review

    I read every diff as if it were a teammate's pull request. If a change alters behavior, it goes back to the spec instead of being patched on the fly.

A real example: Rueda Viva

Rueda Viva is a stationary bike app with streaks, a calendar and personal records that I built with this workflow from start to finish.

specs
6
tasks
43
commits
25

The specs, in order

  1. 001Session logging
  2. 002Streaks
  3. 003Calendar
  4. 004Records
  5. 005Screen design
  6. 006Name and logo

The first four make up the MVP, finished on October 16, 2026. The last two came later, along with iOS support.

Tools I use

Want the details? I explain it in the article Spec-Driven Development in Flutter.

Want to work like this on your team?

Contact me