Triggers: update README, documentation, how to use, installation instructions, automatically invoked by git-precommit
Tools:read_file("README.md")、replace_string_in_file、list_dir、get_changed_files
Update corresponding
| Change type | Update section |
|---|---|
| New feature | Feature list |
| New dependency | Installation instructions |
| API changes | Usage examples |
| Directory changes | Project structure |
| New configuration | Configuration instructions |
Protected sections (not automatically modified)
License information, contribution guidelines, acknowledgments
Workflow
read_file("README.md")+get_changed_files()- Analyze changes → update corresponding sections
replace_string_in_fileUpdate corresponding sections