| name | sync-agents-docs |
|---|---|
| description | Sync AGENTS.md files and skills after buildSrc or convention changes. Use after modifying build plugins, formatting rules, testing conventions, or task names to keep documentation consistent. |
| disable-model-invocation | true |
After modifying buildSrc or build conventions, check whether AGENTS.md files and skills need updating.
Review your changes against the checklist below and update only the affected files.
| What changed | What to update |
|---|---|
Formatting conventions (spotless.gradle.kts) |
Root AGENTS.md Style section, style-reference skill, affected module AGENTS.md files |
| Convention plugins added or removed | buildSrc/AGENTS.md plugin table, root AGENTS.md if build commands or workflow changed |
Testing conventions (testing-*.gradle.kts) |
Root AGENTS.md Testing section, testing-guide skill, affected module AGENTS.md files |
| Project plugins added or removed | buildSrc/AGENTS.md project plugin table |
| Build commands or task names changed | Root AGENTS.md Build and Before Submitting sections, evergreen skill, module AGENTS.md files |
| CI/CD or publishing changes | evergreen skill |
- Review the diff of your buildSrc changes
- Walk through the checklist above — only rows matching your changes need action
- Update the affected files, keeping changes minimal and accurate
- Verify no stale references remain (e.g., renamed tasks, removed plugins)