What problem does it solve?
When a pull request changes a command, flag, path, or workflow, the contributor documentation that describes it silently goes stale. This Skill proposes the smallest targeted patch to realign an existing doc with the current code, without rewriting the document.
Core Features & Use Cases
- Drift Detection and Mapping: Reads a PR diff or changed-path list and uses the code-to-doc path map to identify which doc documents the changed code.
- Minimal Patch Generation: Locates the exact stale lines and edits only what drifted, preserving the doc's prescribed contributing or architecture format.
- Verification: Confirms every updated command, flag, and path resolves against the post-change source, and validates spelling with
make spellcheck.
- Use Case: A PR renames a Make target referenced in a contributing guide. Provide the diff and the doc path, and the Skill pinpoints the stale section and proposes a scoped edit that keeps the five-section contributing format intact.
Quick Start
Update the contributing doc at docs/contributing/building.md to match the changes in this PR diff, keeping the edit as small as possible.