Skip to content

About

Oh My Pi plugin for Diátaxis documentation audits: rubric-first classification, anti-pattern detection, split planning and doc drift review

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

omp-diataxis-jevify

An Oh My Pi plugin for Diátaxis documentation work: frozen rubric-based classification and doc-set audits, anti-pattern detection, mixed-mode split planning and doc-to-code drift review. It ships two skills, omp-diataxis-jevify (built on ericjuta/omp-jevify) and the vendored diataxis from keithpatton/diataxis-agent-skill.

What it checks against ground truth

Two questions have answers outside the prose, so start with them.

  • Drift. dj.doc_drift_rubric pairs each documentation claim with the code or contract span that decides it, and returns supported, contradicted, stale or insufficient at one snapshot. Record the commit the check ran against alongside the finding.
  • Coverage. audit_summary()['missing_quadrants'] names the quadrants no document in the set occupies, counting only rows whose label cleared min_confidence; weaker rows land in unresolved_keys and are a gap to read, not a gap to report. A docs folder with no explanation page, or no reference at all, is a gap you can see without reading every file.

Both have runnable procedures: Check docs for drift and Audit a docs folder.

Quadrant classification is a lint

Which quadrant a document belongs to is a lint over prose: cheap to rerun, useful as a first pass, and a statement about how the page is written. The usual cause of doc rot is blending, one page that teaches and directs and specifies at once, so no reader can tell which job it serves. The lint names that mixture and points at the span.

A pure document set is not automatically a good one. Four tidy quadrants can still describe software that changed last week; that is what drift and coverage are for. And a lint finding is not authority: a score describes a document, it never authorises an edit. Every summary and review record from the helper reports grants_authority: False.

Install

omp plugin install 'git+https://github.com/ericjuta/omp-diataxis-jevify.git#v0.3.2'

Add --force to replace an existing installation, or pass a local path to link a checkout. Other agents (Claude Code, Codex, Cursor) use sh setup.sh [skills-dir].

Documentation

Start at docs/README.md. It routes by job:

I want to… Read
Learn by doing one audit docs/tutorial/first-audit.md
Install, audit, split, check drift, release docs/how-to/
Look up the helper or a rubric docs/reference/helper.md, docs/reference/rubrics.md
Understand the method docs/explanation/method-first.md
See the repository as a picture docs/diagrams/
Take the guided tour docs/walkthrough/
What has actually been measured evals/README.md

Tests

Python 3.10 or newer, standard library only:

python3 -m unittest discover -s tests -v

Licence and attribution

MIT for the plugin and helper; CC-BY-SA-4.0 for the Diátaxis-derived skill documents, rubrics and references. The Diátaxis framework is by Daniele Procida (diataxis.fr); the vendored agent skill is by Keith Patton. See LICENSE, licenses/ and docs/reference/package-layout.md for which file falls under which licence and the exact upstream commits.

Contributing

Issues and pull requests are welcome at https://github.com/ericjuta/omp-diataxis-jevify. Run the test suite before opening one. skills/diataxis/ and vendor/diataxis-agent-skill/ are an unmodified upstream copy: send changes to them upstream instead.

About

Oh My Pi plugin for Diátaxis documentation audits: rubric-first classification, anti-pattern detection, split planning and doc drift review

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages