docs-drift-check is a Codex skill and local Codex plugin for spotting likely documentation drift in a branch, PR, or local diff.
Tagline: Catch likely documentation drift before it ships.
Public repository: github.com/Akshaysanthosh/docs-drift-check
It focuses on high-signal, user-facing changes such as:
- env vars
- CLI flags and commands
- API routes or endpoints
- config keys
- renamed files or modules
- setup and onboarding steps
- A repo-local Codex skill at
.agents/skills/docs-drift-check/ - A local Codex plugin at
plugins/docs-drift-check/ - A deterministic helper script for scanning git diffs
- Local installers for the skill and the plugin
- Smoke tests for both installation paths
.agents/skills/docs-drift-check/
SKILL.md
agents/openai.yaml
references/heuristics.md
scripts/docs_drift_check.sh
assets/docs-drift-demo.svg
docs/go-to-market.md
docs/install-in-codex.md
docs/privacy-policy.md
docs/terms-of-service.md
docs/support.md
docs/compatibility.md
docs/what-counts-as-drift.md
docs/validation-report.md
docs/validation/
plugins/docs-drift-check/
.codex-plugin/plugin.json
assets/
skills/docs-drift-check/
scripts/install_local_skill.sh
scripts/install_local_plugin.sh
scripts/run_public_validation.sh
tests/smoke_test.sh
tests/plugin_smoke_test.sh
This repository is the source of truth for both the raw skill and the packaged local plugin.
To use just the skill in another codebase:
bash scripts/install_local_skill.sh /path/to/target-repoThen, inside the target repo:
bash .agents/skills/docs-drift-check/scripts/docs_drift_check.sh mainOr invoke it in Codex with:
Use $docs-drift-check to assess whether this branch likely needs documentation updates.
To package the skill as a local Codex plugin in another repository:
bash scripts/install_local_plugin.sh /path/to/target-repoThis copies the plugin into plugins/docs-drift-check/ and creates or updates .agents/plugins/marketplace.json.
Detailed Codex install notes live at docs/install-in-codex.md.
- The installer copies
.agents/skills/docs-drift-check/into the target repository. - The plugin installer copies
plugins/docs-drift-check/into the target repository and adds a repo marketplace entry. - It refuses to overwrite an existing installation unless you pass
--force. - Both installers warn if the target directory is not a git repository yet.
Run the smoke tests locally:
bash tests/smoke_test.sh
bash tests/plugin_smoke_test.sh
bash scripts/run_public_validation.shThe tests create temporary git repos, install either the skill or the plugin, make docs-sensitive code changes, and verify that the helper script reports the expected signals.
This repo also includes a repeatable validation pass against real public repositories.
- Run it with
bash scripts/run_public_validation.sh - Summary report: docs/validation-report.md
- Raw outputs: my-portfolio, Relam-homepage, dara-lab, gcn-repo, relam-landing
The validation examples use small, intentional branch changes on real public repos so the output stays reproducible and honest.
This project is available under the MIT license. See LICENSE.
- Privacy policy: docs/privacy-policy.md
- Terms of service: docs/terms-of-service.md
- Support: docs/support.md
- Compatibility: docs/compatibility.md
- Drift definition and false-positive notes: docs/what-counts-as-drift.md
- PR review example: docs/pr-review-example.md
- Security reporting: SECURITY.md
- Changelog: CHANGELOG.md
A lightweight go-to-market plan lives at docs/go-to-market.md.
The current publish-readiness checklist for the official Codex Plugin Directory lives at docs/codex-market-publish-checklist.md.
Good follow-ups from here:
- improve the heuristics on real PRs
- add language-specific route or config patterns if you see repeatable gaps
- collect pilot testimonials or “caught before merge” examples