After the design, code, and testing phases, ChatDevelopment uses four agents (CEO, CPO, CTO, and programmer) to generate project documentation for the software. The researchers' approach is to use large language models to generate documents through a few-sample prompt design based on context samples. CTO instructs programmers to provide configuration instructions for environment dependencies, resulting in documentation like requirements.txt. This document allows users to configure the environment independently. At the same time, the CEO communicates requirements and system design to the CPO, who generates a user manual.