prevent-doc-drift

Official

Keep agent guidance in sync with code changes.

Authorgrafana
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Per-PR documentation-drift prevention. When a PR adds new code subsystems, scripts, skills, docs, plugin routes, feature flags, or changes architecture relationships, this skill produces the AGENTS.md, CLAUDE.md, and .cursor/rules/ updates needed in the same PR so agent guidance never falls behind the code. Use this on /review or directly before merge.

Core Features & Use Cases

  • Per-PR drift detection: compares PR changes against agent guidance and emits required updates in the same PR.
  • Paired with maintain-docs: two-tier drift defense that covers both per-PR and periodic drift.
  • Automated doc update: updates AGENTS.md, CLAUDE.md, and rules to align with code changes, reducing manual doc drift.

Quick Start

Run the per-PR drift prevention process on a PR to automatically align agent guidance with code changes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: prevent-doc-drift
Download link: https://github.com/grafana/grafana-pathfinder-app/archive/main.zip#prevent-doc-drift

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.