Agent skill · Audited from source
Doc Drift Detector
skill · borghei/Claude-SkillsNOASSERTION licenceAudited 19 Oct 2026 · source 6e3fcbdbb5cf
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 6e3fcbdbb5cf and observed network access and no hard-coded secrets. The audit raised 5 findings, 0 critical or high. What it does: Detect documentation drift against code changes, score staleness, validate API docs via AST parsing, and audit link integrity. Use when docs fall out of sync with code, preparing releases, running CI doc gates, or…
Cite
Cite this page
ModelsAtlas. “Doc Drift Detector (borghei/Claude-Skills)”. Retrieved 19 Oct 2026. https://modelsatlas.com/skills/borghei/doc-drift-detector
Trust audit
Audit 0.4.1 · source read 19 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 13,985 of 14,816 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkDeclared5 observations
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 5 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (5)
MEDIUMInventory / provenanceinv.symlink · .codex/skills/a11y-audit
.codex/skills/a11y-audit
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .codex/skills/ab-test-setup
.codex/skills/ab-test-setup
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .codex/skills/account-executive
.codex/skills/account-executive
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .codex/skills/ad-creative
.codex/skills/ad-creative
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · .codex/skills/aeo
.codex/skills/aeo
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 6e3fcbdbb5cf · 19 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherborghei GitHub userOwner of the repository this skill is read from
- Source folderborghei/Claude-Skills/engineering/doc-drift-detectorThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict6e3fcbdbb5cfA new audit runs when the source changes
- Repository statusNot archivedLast push 12 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Detect documentation drift against code changes, score staleness, validate API docs via AST parsing, and audit link integrity. Use when docs fall out of sync with code, preparing releases, running CI doc gates, or…
--- name: doc-drift-detector description: > Detect documentation drift against code changes, score staleness, validate API docs via AST parsing, and audit link integrity. Use when docs fall out of sync with code, preparing releases, running CI doc gates, or auditing doc accuracy. license: MIT + Commons Clause metadata: version: 2.1.0 author: borghei category: engineering domain: documentation updated: 2026-06-17 tags: [documentation, staleness, api-docs, drift-analysis] python-tools: drift_analyzer.py, doc_staleness_scorer.py, api_doc_validator.py, link_checker.py tech-stack: python, git, markdown, documentation --- # Documentation Drift Detector 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 library only. ## Core Capabilities - **Full drift analysis** — map docs to code, compare git histories, detect renamed files, version drift, broken references, and structural gaps; classify each issue by category, severity, and fix type. - **API doc validation** — AST-based extraction of Python signatures/classes compared against markdown API docs (undocumented items, phantom docs, parameter mismatches, deprecations). - **Staleness scoring** — weighted 0-100 freshness score across five dimensions with CI threshold gates and README-focused mode. - **Link integrity audit** — validate local files, anchors, cross-document anchors, images, case-sensitivity, and duplicate anchors; optional external URL checks. - **Drift classification** — structural, factual, referential, temporal, semantic categories, each tagged `[AUTO]`/`[SEMI]`/`[MANUAL]` for fix routing. - **CI/CD integration** — non-zero exit codes, JSON output, GitHub Actions and pre-commit recipes for ongoing monitoring. ## When to Use - Docs have fallen out of sync with code — run full drift analysis. - Preparing a release — gate on aggregate staleness score. - Running CI doc gates — fail PRs on high/critical drift or broken links. - Auditing API doc accuracy against Python source. - Checking README health and link integrity after refactors. ## Clarify First Before running detection, confirm these inputs. If any is unknown or vague, ASK — do not assume: - [ ] **Which check** — full drift analysis, staleness score, API doc validation, or link audit (selects `drift_analyzer.py` vs `doc_staleness_scorer.py` vs `api_doc_validator.py` vs `link_checker.py`) - [ ] **Repo & doc/source paths** — the repository and which code and docs directories to compare (the input the tools scan) - [ ] **Threshold & gate** — minimum severity or staleness threshold for CI failure (sets `--min-severity`/`--threshold` and the exit-code gate) Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact. ## Tools | Tool | Purpose | Command | |------|---------|---------| | `drift_analyzer.py` | Full drift analysis between code and docs | `python scripts/drift_analyzer.py <repo> --min-severity high --json` | | `doc_staleness_scorer.py` | Score documentation freshness 0-100 | `python scripts/doc_staleness_scorer.py <repo> --threshold 60` | | `api_doc_validator.py` | Validate API docs against Python source (AST) | `python scripts/api_doc_validator.py <src> <docs> --recursive` | | `link_checker.py` | Audit all markdown links and anchors | `python scripts/link_checker.py <repo> --broken-only` | All tools: Python 3.8+ stdlib only, `--json` and `--help`, non-zero exit codes for CI, any OS. ## References Load the reference that matches the task — keep this file lean and pull detail on demand: - **[references/workflows-and-tool-reference.md](references/workflows-and-tool-reference.md)** — quick start, the 5 core workflows (full analysis, API validation, README health, link audit, CI monitoring) with output examples, GitHub Actions + pre-commit recipes, and the complete per-tool parameter/output/exit-code reference. Read when running tools or wiring CI. - **[references/scoring-categories-and-troubleshooting.md](references/scoring-categories-and-troubleshooting.md)** — the staleness scoring model and weights, the five drift categories, auto-fix vs manual-fix classification, detailed integration points, anti-patterns, troubleshooting table, and success criteria. Read when interpreting results or triaging drift. - **[references/documentation_standards.md](references/documentation_standards.md)** — README structure, API docs, changelogs, ADRs, docs-as-code standards. - **[references/drift_prevention_guide.md](references/drift_prevention_guide.md)** — coupling strategies, CI gates, review checklists, and prevention patterns. ## Assets | Asset | Description | |-------|-------------| | [Drift Report Template](assets/drift_report_template.md) | Template for drift analysis reports | | [Sample Drift Data](assets/sample_drift_data.json) | Sample JSON for testing and demonstration | ## Scope & Limitations **Covers:** - Detection of documentation drift against git history for any git repository - AST-based validation of Python API documentation (function signatures, class definitions, parameters, return types) - Internal link validation including local files, markdown anchors, cross-document anchors, images, and case-sensitivity checks - Multi-dimensional staleness scoring with configurable weights and CI/CD threshold enforcement **Does NOT cover:** - Non-Python source code API validation -- the AST-based validator only parses Python; for TypeScript, Go, Rust, or Java APIs, use language-specific doc generators and pair with the link checker - External URL uptime monitoring -- `--check-external` performs one-shot HEAD requests but does not provide continuous monitoring; use the **senior-devops** skill for uptime dash
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 6e3fcbd
git clone https://github.com/borghei/Claude-Skills git -C Claude-Skills checkout 6e3fcbdbb5cf
The author documents no install command, so this uses the repository directly. Our verdict covers commit 6e3fcbdbb5cf only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
6e3fcbdbb5cf
Similar skills
All coding & review skills →borghei/Claude-Skills
This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".
borghei/Claude-Skills
Designs multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent…
borghei/Claude-Skills
Design AI agent communication protocols: MCP tool schemas, A2A, function calling, and inter- agent messaging. Use when building multi-agent systems, defining tool interfaces, or implementing agent-to-agent communication.
borghei/Claude-Skills
Design multi-agent orchestration with workflow DAGs, routing, handoff protocols, and state management. Use when building pipelines of specialized agents, designing fan-out/fan-in patterns, or implementing fault-tolerant…
borghei/Claude-Skills
Multi-agent DAG orchestration for workflows where AI agents collaborate via dependency graphs, covering agent spawning, output merging, and quality evaluation. Use when a task needs multiple specialized agents or to…
borghei/Claude-Skills
Analytics engineering across data modeling, dbt, transformation, and semantic layers. Use when building dbt models, designing star schemas, writing staging or mart SQL, configuring data tests, or optimizing warehouse…
Questions about Doc Drift Detector
What does the Doc Drift Detector skill do?
Is Doc Drift Detector safe to install?
What can Doc Drift Detector access on my machine?
How current is this page?
Sources
- github.com/borghei/Claude-Skills/tree/main/engineering/doc-drift — the audited source at commit 6e3fcbdbb5cf and every finding aboveObserved · 19 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Doc Drift Detector skill do?
- Is Doc Drift Detector safe to install?
- What can Doc Drift Detector access on my machine?