Install any skill in seconds. Free to start, no credit card required.
Get Started Free →borghei/doc-drift-detector
Detect documentation drift against code changes, score staleness, validate API docs via AST parsing, and audit link integrity.
Passed 16 of 21 test cases with the skill, and 7 of 21 without it.
and 10 more in the full report
10 fixed7 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our architecture team wants to enforce that all Architecture Decision Records (ADRs) contain standard required sections like Status, Context, Decision, and Consequences using the staleness scorer. What flag should be passed to `doc_staleness_scorer.py`?
| Checked | Without skill | With skill |
|---|---|---|
| Specifies passing `--required-sections` to doc_staleness_scorer.py. | Missed | Passed |
The instructions your model reads when the skill loads.
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.
[AUTO]/[SEMI]/[MANUAL] for fix routing.Before running detection, confirm these inputs. If any is unknown or vague, ASK — do not assume:
drift_analyzer.py vs doc_staleness_scorer.py vs api_doc_validator.py vs link_checker.py)--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.
| 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 |
test cases passed, vs 7 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.