Diary
The more complex the system, the more time you should spend on initial organization.

Today, I have re-organized the initial steps for building complex systems. Instead of jumping straight into coding, I divide the process into four stages: requirements definition, design, implementation instructions, and implementation. Thinking things through properly at the start makes subsequent work surprisingly easier.
The first stage is requirements definition. Here, I use GPT Instant as a sounding board to refine the specifications of what I want to build. I put my thoughts into words, have it point out missing conditions, and identify exceptions for different users and scenarios. At this stage, I decide not only what to build, but also what not to build and the scope of the current project.
The benefit of using a sounding board is that you can start even when your ideas are not fully formed. If you throw out random thoughts, questions come back. As you answer those questions, you begin to see what you really want to decide. Of course, you don't just accept the output as the absolute truth. You are the one who makes the final decision, but it is a very useful partner for thinking.
The second stage is design. Once the requirements definition sounding board process is sufficiently thorough, I pass all the content to GPT Pro and instruct it to create a comprehensive design document. Depending on the scale of the system, this design document can reach hundreds of thousands of lines. It consolidates not just screen and function lists, but also data structures, processing flows, error handling, and operational rules into a single design.
The important thing here is not just increasing the volume of the design document. It is about identifying potential points of confusion early and making decisions. If ambiguous points are found during design, I return to the requirements definition to re-decide. Because a large document is created at once, humans must verify that the premises are consistent and that the same terms are not used with different meanings in different places.
The third stage is preparing implementation instructions. Even with a design document, if the person or agent implementing it interprets things differently each time, the deliverables will be inconsistent. Therefore, I separately summarize implementation precautions, the scope of permissible changes, conditions for verification before proceeding, and criteria for determining completion. I also organize the execution prompts into MD files so that anyone can read them later.
This document is not an order to rush the work. It is a foundation for aligning the order, extent, and verification methods for implementing what is written in the design document. Having a place to return to when you are unsure significantly stabilizes decision-making along the way.
In the fourth stage, I begin implementation. I pass the Zip file of the design document created in the second stage and the MD file of the implementation instructions created in the third stage to Fable. If the materials are ready, it can read the requirements, refer to the design, and proceed with implementation in a single flow while following the established precautions. I feel this is the easiest way to handle the initial phase.
For a system, the cost of fixing it later is many times greater than the cost of building it for the first time. If you change specifications after creating the first screen, you end up having to fix not only the screen but also the data, processing, manuals, and verification methods in a chain reaction. Postponing small misunderstandings leads to major rework in the end. Therefore, finding uncertainties early is more important than starting implementation quickly.
This is close to the concept known as shift-left. By spending more time on requirements definition and design, you find problems as early as possible. While it may seem like it delays implementation, it actually reduces rework in the later stages and significantly cuts down the total implementation time. The goal is not to create a design document, but to shift the time spent on later fixes to initial verification.
Of course, the design documents and implementation created by AI are not automatically correct. The process remains where stakeholders confirm premises, approve important decisions, and verify by looking at the working product. Even so, there is great value in gathering thinking materials and decision history into one place at the beginning and standardizing the format passed to implementation.
The more complex the project, the more effective the initial organization becomes. Sounding out requirements, summarizing them into a design, writing out implementation precautions, and implementing with organized materials. Let's continue to improve this flow as a basic model.