doc-drift-git

Detect documentation drift between code changes and Git diffs.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/ousiass/claude-config --skill doc-drift-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-drift-git
Source: https://github.com/ousiass/claude-config/tree/main/skills/doc-drift-git
Command: npx skills add https://github.com/ousiass/claude-config --skill doc-drift-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and templates (resource) components.

What problem does it solve?

This Skill ensures that your code changes are accurately reflected in your documentation, preventing outdated information and improving developer and user experience.

Core Features & Use Cases

  • Differential Analysis: Compares only the changed files between your current branch and a specified remote branch (defaults to origin/develop).
  • Drift Detection: Identifies discrepancies between code modifications and documentation updates.
  • Use Case: Before creating a Pull Request, run this Skill to automatically check if any new API endpoints or configuration changes you've made are missing from the relevant markdown files.

Quick Start

Run the doc-drift-git skill to check for documentation drift between your current branch and origin/develop.

Frequently Asked Questions about doc-drift-git

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check for documentation drift in my Git diff before a pull request?

To check for documentation drift in a Git diff, compare changed files between your current branch and a remote branch to identify missing documentation updates for code modifications and generate a severity-categorized report.

What is documentation drift detection and how does it work with Git branches?

Documentation drift detection identifies discrepancies between code modifications and documentation updates by analyzing only the changed files present in the Git diff between your current branch and a specified remote branch.

Can I output documentation drift reports directly to GitHub Issues?

Yes, you can output documentation drift reports directly to GitHub Issues or save them as a local markdown file after the skill detects discrepancies and categorizes them by severity.

Does documentation drift detection work with remote branches other than origin/develop?

Yes, while the differential analysis defaults to comparing your current branch against origin/develop, you can specify a different remote branch to check for missing documentation updates for code modifications.