Agentic Coding Workflow for Planning, Building, and Reviewing Software Projects

3 comments

Apps it uses

I’ve been experimenting with agentic coding for quite some time, and I’ve noticed that the tasks I let the agent handle keep getting bigger. For larger tasks and projects, I gradually moved to a standard workflow, which I published at https://github.com/evermeer/CodingAgentOrchestration in part 2 of the tutorial.

I use this workflow professionally and in my side projects. My most recent side project is Quadrim, a Four in a row game played in a 4×4×4 cube. I made it open source and included all the prompts for both the code and the artwork: https://github.com/evermeer/Quadrim

It took me about eight working days to publish the first version to the app stores.

Step-by-step

  1. I start by describing the idea.
  2. I brainstorm the idea with the agent.
  3. I use `to-spec` to create a specification document for the idea.
  4. I use `to-ticket` to create independent, executable tasks.
  5. I review the specifications and tickets from the perspectives of a senior software engineer, architect, security officer, and product manager.
  6. I implement one ticket at a time.
  7. I code-review the generated implementation for each ticket.

During the pre-implementation steps, I always add this instruction to my prompt: “Ask clarifying questions until any ambiguities are resolved.” Extra fine-tuning of the idea, specifications, or plan pays off during implementation. When I let the agent build code, I ask it to use TDD, perform a code review at the end, and resolve the major and critical findings.

3 comments

Have a question about this workflow, or a way to improve it?

Log in to comment Create a free account
Brooke Benson Pro The Rundown team

this part is so smart: "I review the specifications and tickets from the perspectives of a senior software engineer, architect, security officer, and product manager." Thanks for sharing, Edwin! If you've built more things like this, would love to see another workflow!

Marty Weil

Excellent workflow and a great suggestion in your explanation in the AI Rundown newsletter. I adopted and expanded your pre-implementation step of adding: ‘Ask clarifying questions until any ambiguities are resolved'. By applying an adversarial 3-loop prompt to that request, I created and added the following expanded clarifying questions prompt to my "custom instructions" in ChatGPT's Personalization box, which will automatically apply this clarifying action to all future inquires: "Use available context before asking questions. Ask targeted clarifying questions when missing, ambiguous, or conflicting information could materially change the answer or action. Ask the fewest questions needed, grouping related questions when practical. Pause the affected work until the necessary clarification is obtained; proceed when the request is sufficiently clear. Verify factual uncertainties yourself when appropriate; if they cannot be resolved, state the uncertainty. Do not invent facts or silently make consequential assumptions. If I tell you to proceed despite unresolved questions, use your best judgment for that request and state any material assumptions."

Posting guidelines