Amazon Q Developer's /doc agent automates README generation and updates, reducing time spent on documentation.The /doc agent uses generative AI to analyze codebase and respect .gitignore files for documentation.Users can create new READMEs or update existing ones with Amazon Q's /doc agent in their IDE.For projects without documentation, selecting 'Create a README' initiates the process.The /doc agent scans source files, summarizes, and generates documentation for the selected folder.Documentation syncing assists in keeping documentation aligned with code changes.Iterative improvement is enabled through feedback loops for comprehensive documentation.Different levels of documentation creation are supported for modular projects.Maintaining hierarchical documentation structure aids in specificity and manageability.Amazon Q Developer's /doc agent helps automate and streamline documentation management for software projects.