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
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.
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.
Break into tasks
The plan is split into small, ordered tasks of 20 to 30 minutes, each with its own "done when" condition.
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".
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.
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
- 001Session logging
- 002Streaks
- 003Calendar
- 004Records
- 005Screen design
- 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
Claude Code
My main agent. Every project has its AGENTS.md, rules per topic, skills and custom commands for each phase of the workflow. This portfolio was built that way.
Cursor
AI editor for focused changes and for exploring code with the project context.
GitHub Copilot
In-editor assistant, guided by Flutter project rules: architecture, structure, tests and commits.
MCP
Connects the agent to external tools, like Figma to build screens from the design. I took Academia das IAs' MCP course and built my own server.
Want the details? I explain it in the article Spec-Driven Development in Flutter.