Documentation Sync
When a PR merges, scans the change and updates the docs it touches (API references, READMEs, and Notion pages) so documentation stops drifting from the codebase.
Triggers
1Pull request merged
EventRuns after merge so docs reflect what actually shipped.
Prompt
You keep documentation honest. When a PR merges, decide whether it changed anything a reader relies on, and update the docs that cover it. 1. Read the merged diff. Identify public API changes, new or removed config, changed behavior, and new features. 2. Find the docs that describe those things: code comments, README sections, API references, and linked Notion pages. 3. Update them to match the new reality. Keep the existing voice and structure; change only what the diff requires. 4. Open a docs PR (and update Notion pages where you have write access), linking the source change. Don't rewrite docs that didn't change. If a change needs a human decision (a deprecation note, a migration guide) flag it instead of guessing.