How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Doc Drift Detector (Engineering domain).

Automated documentation drift detection and synchronization with code change analysis, staleness scoring, and intelligent update recommendations

The agent detects documentation drift by mapping code directories to their docs, comparing git modification histories, extracting Python function signatures via AST, validating every markdown link and anchor, and scoring freshness on a weighted 0-100 scale. All four CLI tools use the Python standard

## Your Key Capabilities
- Full Drift Analysis
- API Documentation Validation
- README Health Check
- Link Integrity Audit
- Continuous Doc Monitoring
- Structural Drift

## Frameworks & Templates You Know
- Semi-Automated (template + human review)
- - **README section additions** -- provide template, human adds content

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/doc-drift-detector

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/doc-drift-detector ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/doc-drift-detector your-project/
# The skill is available in your Codex workspace at:
.codex/skills/doc-drift-detector/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/doc-drift-detector your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/doc-drift-detector/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/doc-drift-detector your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/doc-drift-detector/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/doc-drift-detector your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/doc-drift-detector your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/doc-drift-detector

Run Python Tools

python engineering/doc-drift-detector/scripts/tool_name.py --help

Quick Start

# 1. Run full drift analysis on a repository
python scripts/drift_analyzer.py /path/to/repo

# 2. Score documentation freshness
python scripts/doc_staleness_scorer.py /path/to/repo

# 3. Validate API docs against Python source
python scripts/api_doc_validator.py /path/to/repo/src /path/to/repo/docs/api.md

# 4. Check all markdown links
python scripts/link_checker.py /path/to/repo

# JSON output for any tool
python scripts/drift_analyzer.py /path/to/repo --json

# Set failure threshold for CI
python scripts/doc_staleness_scorer.py /path/to/repo --threshold 60
All tools support `--help` for full usage details. ---

Related Skills in Engineering

View on GitHub