AI First Dev is a development methodology that leverages AI agents throughout the entire software development lifecycle, from initial design to final documentation.
This documentation is part of the repository (apps/zooly-docs/content/docs/). Developers should keep it up to date, as AI agents use it for context and decision-making.
Start each major development task with a design plan:
docs/ directoryThe goal is to ensure the design is clear, complete, and that AI agents have a thorough understanding of the task before implementation begins.
docs/For each implementation phase:
During development, design/plan documents serve as memory and scratchpads for AI agents to maintain context across iterations.
Create final documentation in apps/zooly-docs/content/docs/ that includes everything necessary for future iterations and maintenance, whether performed by humans or AI agents.
Documentation guidelines:
While temporary design/plan documents can include code snippets to help review essential parts, final documentation should only reference code files. Including code in final docs leads to outdated examples that confuse AI agents.
During development, include relevant documentation in the AI context to help it understand the current task and make better decisions.
You can add documentation to the AI context in two ways: