My AI Coding Workflow

· Source: Refactoring · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Intermediate, quick

Summary

The author details an updated AI coding workflow for the Tolaria project, highlighting significant productivity gains and operational efficiency. Since its April 22nd release, Tolaria has achieved impressive metrics, including 6 open issues versus 417 closed, 14 open PRs against 306 closed, a 1-day average bug fix time, and a 99.1% crash-free rate. The codebase now stands at 150K LOC plus ~100K LOC of tests, with the author contributing ~1000 commits while working approximately 2 hours daily. Key workflow tweaks include a "Guides, Gates, and Guards" mental model for AI instructions, a transition from Claude to Codex, which reduced monthly costs by over 90%, and a focus on continuous improvement.

Key takeaway

For AI Engineers optimizing their coding workflows, adopting a structured "Guides, Gates, and Guards" approach to AI instructions can significantly enhance code quality and development velocity. You should consider defining explicit rules for TDD, UI components, and localization within your AI agent's core instructions, potentially reducing operational costs by switching models like from Claude to Codex.

Key insights

The author's AI coding workflow leverages a "Guides, Gates, and Guards" model, shifting to Codex for efficiency and cost reduction.

Principles

Method

The proposed AI instruction method involves sequential application of Guides (initial context), Gates (in-progress steering), and Guards (fallback procedures) to improve AI output quality and enforce development standards.

In practice

Topics

Code references

Best for: AI Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Refactoring.