@ZacharyZhang: https://x.com/ZacharyZhang/status/2125064752262955388
Summary
The author shares a fully automated AI coding workflow: first, GPT 6 Pro and Mythos 5.2 cross-validate each other’s output to generate a PRD and technical documentation. Then, three AI roles—the main Agent, Reviewer, and Advisor—divide responsibilities to automate task breakdown, coding, review, testing, and commits. Complete prompts for both the Cindy and T3 Code versions are also included.
View Cached Full Text
Cached at: 11/24/26, 11:21 AM
My Fully Automated AI Coding Workflow: Setup Steps and Complete Prompts (Cindy / T3 Code)
A lot of people have asked me to share my workflow, so I’ve put together a brief overview. It’s nothing particularly complicated. The whole process can be broken down into three steps: finalize your PRD and technical documentation, configure all your environments and CI, and then start development automatically. Once development officially begins, the AI automatically breaks down tasks, writes code, reviews it, runs e2e tests, and commits. As a human, you only need to perform the final acceptance review.
1. Prepare the Requirements Document (PRD.md)
First, use GPT 6 Pro to write the initial requirements document (PRD) and technical documentation (Tech Stack). Send the drafts to Mythos 5.2 for cross-validation to identify omissions and logical inconsistencies. After revising them, save them as PRD.md and TechStack.md in the project root directory.
All subsequent code should follow these documents.
2. Prepare Tools and Keys
Install the command-line tools your project needs, such as dokploy, cloudflare cli, or aws cli.
Put the API keys, passwords, and tokens needed to run the project into a local .md file. Add that filename to .gitignore. This lets the Agent read the credentials while git ignores the file during commits, keeping the credentials out of the code repository.
3. How the Three AI Roles Divide the Work
This workflow doesn’t use one AI to do everything. Instead, it divides the work among three roles:
-
Main Agent: The only role allowed to modify code. Writes code, runs tests, and commits changes in checklist order.
-
Reviewer: Read-only; does not modify code. Uses gpt-6.2-astra with high reasoning effort. Whenever the Main Agent finishes an item, the Reviewer reads the code changes for that item (git diff) to find omissions and bugs.
-
Advisor: Read-only; does not modify code. Uses claude-fable-5-2 with medium reasoning effort. Stays silent most of the time and provides assessments only at four checkpoints.
4. Four Core Rules
1. Work sequentially, with no parallel execution: Before starting, the Main Agent breaks the work into a TASKS.md checklist, following the chapter order in PRD.md. It then works from top to bottom, finishing each item before moving on to the next. No new branches, no worktrees, and no parallel work using sub-agents.
2. Don’t guess, don’t swallow errors, and don’t write unnecessary code: If an interface or requirement cannot be found, don’t guess. Record assumptions in TASKS.md, proceed with the recommended approach, and don’t ask the human questions. Program errors must be exposed; don’t write fallback code to conceal them. Keep each file under 1,000 lines, implement only the features required by the documentation, and don’t add unnecessary abstraction layers.
3. Why the Reviewer is limited to five rounds: Without a limit, GPT will keep finding edge cases and sending the work back for changes, leaving the workflow stuck on a single task. After five rounds, the serious bugs that prevent the program from running have already been fixed, and most remaining issues are minor details. So if an item still hasn’t passed review by round five, the Main Agent marks it with [!], records the unresolved issues, commits the code, and moves on to the next item.
4. The Advisor intervenes only at four checkpoints
-
After TASKS.md has been broken down, but before implementation begins: Check the task breakdown and order.
-
When the Reviewer sends a task back for the second time: Ask about the root cause before starting the fix.
-
When two rounds of debugging have failed to identify the root cause.
-
After all tasks are complete, but before the acceptance checklist is produced: Conduct a final review.
5.1. Complete Prompt (Cindy Version)
5.2. Prompt (T3 Code Version)
If you use T3 Code, keep all other sections unchanged and replace only the Worker (Cindy) section above with the following:
The difference between the two lies in how sessions work: Cindy’s Worker thread stays active and retains context; every T3 Code call starts a new session with no access to history. Therefore, the T3 Code version requires every request to include all background information and use task number–round (such as T07-r2) as the request ID. After a timeout, only check the status; do not resend the request.
6. Acceptance Review
Once the workflow finishes, the Main Agent delivers three outputs:
-
An item-by-item checklist checked against the acceptance documentation.
-
The Advisor’s final review conclusion.
-
A list of all tasks marked with [!].
7. Manual Changes
Redesign your official website, app, and so on in your preferred design style. I can publish a separate post later about how I approach design.
Similar Articles
@huangtongxueh: Recently, I did an AI development sharing session for the team and casually turned it into an article. I wrote about ho…
An engineer at a major tech company shares their takeaways from two months of AI-assisted development, covering how to divide work across a combination of Codex, GPT-5.6 Sol, Astra, and Claude, and how a lean set of Skills paired with methodology prompts like first-principles thinking and adversarial review can replace heavyweight workflows in the era of stronger models and boost everyday dev efficiency.
@ma_zhenyuan: https://x.com/ma_zhenyuan/status/2057702858800370052
This article introduces Superpowers, a set of AI workflow Skills based on Claude Code, providing automated brainstorming, planning, sub-agent development, and test-driven development, which can significantly improve AI delivery efficiency.
@lee04052822: https://x.com/lee04052822/status/2111618612158935467
The author shares a human-in-the-loop continuous development workflow based on Claude Code as the main agent orchestrating Codex CLI, Subagents, and GitHub Issues/PRs, covering repo initialization conventions, task decomposition, and review/merge processes, along with reusable prompt templates.
@addyosmani: Give your agent a way to verify its work. This can dramatically improve the quality of output. With this process in pla…
Claude Code 的开发流程表明,为 AI 代理提供自动化验证机制(如 E2E 测试、属性测试和多代理对抗审查)可让 Claude 自行编写 90% 以上的代码,同时在 PR 合并量翻倍的情况下将回滚率降低 40% 以上。
@luoleiorg: Recently, I took some time to organize my AI workflow, turned it into a webpage, and wanted to share it with everyone h…
一位开发者公开了他的个人 AI 工作流网页,详细讲解如何用 Markdown 约定、UserPromptSubmit 钩子和外包脚本在 Claude、Codex、Kimi、Grok、Gemini 等多模型间做任务派单、成本分层与自动验收,形成一套被称为 harness 的第四代实践体系。