---
title: "I struggled to code with AI until I learned this workflow"
url: https://daily.dev/posts/i-struggled-to-code-with-ai-until-i-learned-this-workflow-habxlgdyu
source_url: https://newsletter.systemdesign.one/p/ai-coding-workflow
type: article
source: "System Design Newsletter"
published: 2026-02-02T13:00:58.258Z
updated: 2026-02-02T13:01:23.079Z
tags: ["ai", "testing", "github", "code-review"]
reading_time: 25
upvotes: 89
comments: 3
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I struggled to code with AI until I learned this workflow

**[System Design Newsletter](https://daily.dev/sources/systemdesignnews)** · 25 min read · 89 upvotes · 3 comments

## Summary

AI coding assistants work best through an iterative workflow rather than one-shot prompts. The key is providing comprehensive context (project background, constraints, relevant code), requesting a plan before implementation, generating code in small steps with defined roles (planner, implementer, tester, explainer), reviewing output with AI-assisted tools, writing tests immediately, and debugging systematically. Common pitfalls include context drift in long conversations, API version mismatches, and over-reliance on AI without understanding the output. The workflow emphasizes treating AI like a new teammate who needs explicit briefing, keeping changes small and reviewable, and maintaining human oversight throughout the process.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://newsletter.systemdesign.one/p/ai-coding-workflow>

## Community discussion

Top comments from developers on daily.dev.

**@thibault79** · 0 upvotes

> Very interesting !

**@a\_meb\_a** · 0 upvotes

> vibe coding?

**@paweber** · 0 upvotes

> Thanks for the read, different tools same pattern. Without structure in our thought process no tool in the world will be able to provide structure.

## Similar posts on daily.dev

- [Use AI to Boost Developer Productivity](https://daily.dev/posts/use-ai-to-boost-developer-productivity-ncr9fcapy) · Docker · 0 upvotes · 0 comments
- [How AI is Changing Developer Workflows: Lessons From Engineers](https://daily.dev/posts/how-ai-is-changing-developer-workflows-lessons-from-engineers-apzqpc8mc) · Atlassian · 2 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#testing](https://daily.dev/tags/testing), [#github](https://daily.dev/tags/github), [#code-review](https://daily.dev/tags/code-review)

[View this post on daily.dev](https://daily.dev/posts/i-struggled-to-code-with-ai-until-i-learned-this-workflow-habxlgdyu)
