codex

docs-guardian

Documentation quality and freshness for Codex: $docs-guardian-audit checks staleness, accuracy, coverage and quality into one report with a fixing plan; $docs-guardian-coverage finds undocumented public APIs; $docs-guardian-generate writes missing docs in the project's framework format (Markdown, MkDocs, VitePress, Docusaurus, Sphinx). A PreToolUse hook warns on, or blocks, code-only commits.

0 on GitHubby xiaolaiv0.2.1ISCupdated 1 month agoCoding

Plugin docs-guardian in xiaolai/codex-marketplace. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (35)

  • docs-guardian-accuracy-checker

    Deep analysis of documentation accuracy — reads code and docs side by side to find mismatches in API signatures, parameters, return values, examples and behavioral claims, e.g. after a refactor changed signatures. Part of $docs-guardian-audit. Read-only. Not for coverage (use $docs-guardian-coverage

  • docs-guardian-audit

    Full documentation audit — runs the staleness, accuracy, coverage and quality checks (in parallel subagents when available), then writes one report with a fixing plan to .claude/docs-guardian/audit-report.md.

  • docs-guardian-coverage-scanner

    Find undocumented public APIs and compute documentation coverage per file and overall, ranked by severity. Runs standalone via $docs-guardian-coverage or inside $docs-guardian-audit. Read-only. Not for checking existing docs against code (use $docs-guardian-accuracy-checker) or writing docs (use $do

  • docs-guardian-coverage

    Check documentation coverage — find undocumented public APIs and report per-file and overall coverage percentage.

  • docs-guardian-detection

    Detect language and docs framework from markers like package.json and mkdocs.yml.

  • docs-guardian-doc-writer

    Generate or update documentation for undocumented or stale code — reads the source, understands the behavior, and writes docs in the project's documentation framework format. Run by $docs-guardian-generate after the user confirms which symbols to document. Not for auditing docs without changing them

  • docs-guardian-fw-docusaurus

    Docusaurus docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • docs-guardian-fw-mkdocs

    MkDocs docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • docs-guardian-fw-plain-markdown

    Plain Markdown docs: detection, doc root, layout, code-to-doc mapping, template.

  • docs-guardian-fw-sphinx

    Sphinx docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • docs-guardian-fw-vitepress

    VitePress docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • docs-guardian-generate

    Generate missing documentation — find coverage gaps, confirm the symbols with the user, then write docs in the project's framework format. Optional argument: a file or directory to scope to.

  • docs-guardian-init

    Initialize docs-guardian for this project — detect language and doc framework, propose code-to-doc mappings, set commit-hook strictness, and write .claude/docs-guardian/config.json. Optional arguments: language and framework.

  • docs-guardian-lang-generic

    Docs for languages with no dedicated skill: docstrings, API extraction, heuristics.

  • docs-guardian-lang-go

    Go documentation: doc comment conventions, API doc extraction, Go-specific patterns.

  • docs-guardian-lang-python

    Python documentation: docstring conventions, API doc extraction, Python patterns.

  • docs-guardian-lang-rust

    Rust documentation: doc comment conventions, API doc extraction, Rust patterns.

  • docs-guardian-lang-typescript

    TypeScript documentation: doc comment conventions, API doc extraction, TS patterns.

  • docs-guardian-mapping

    Map source files to their docs: which docs cover which code, gaps, doc-to-code links.

  • docs-guardian-quality-rater

    Rate documentation quality — empty sections, TODO markers, broken internal links, missing examples, inconsistent formatting — e.g. before publishing a docs site. Part of $docs-guardian-audit. Read-only. Not for accuracy or coverage (use $docs-guardian-accuracy-checker or $docs-guardian-coverage-scan

  • docs-guardian-staleness-detector

    Detect stale documentation by comparing git timestamps of source files and their mapped doc files — e.g. docs untouched since a major refactor. Runs scripts/docs-guardian/staleness-check.sh, then classifies each stale pair. Part of $docs-guardian-audit. Not for checking whether doc content matches t

  • docs-guardian-standards

    Documentation quality standards: completeness, accuracy, freshness, project rules.

  • detection

    Detect language and docs framework from markers like package.json and mkdocs.yml.

  • fw-docusaurus

    Docusaurus docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • fw-mkdocs

    MkDocs docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • fw-plain-markdown

    Plain Markdown docs: detection, doc root, layout, code-to-doc mapping, template.

  • fw-sphinx

    Sphinx docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • fw-vitepress

    VitePress docs: detection, config parsing, doc root, code-to-doc mapping, template.

  • lang-generic

    Docs for languages with no dedicated skill: docstrings, API extraction, heuristics.

  • lang-go

    Go documentation: doc comment conventions, API doc extraction, Go-specific patterns.

  • lang-python

    Python documentation: docstring conventions, API doc extraction, Python patterns.

  • lang-rust

    Rust documentation: doc comment conventions, API doc extraction, Rust patterns.

  • lang-typescript

    TypeScript documentation: doc comment conventions, API doc extraction, TS patterns.

  • mapping

    Map source files to their docs: which docs cover which code, gaps, doc-to-code links.

  • standards

    Documentation quality standards: completeness, accuracy, freshness, project rules.

Slash commands (5)

  • /docs-guardian:audit

    Full documentation audit — launch staleness, accuracy, coverage, and quality agents in parallel, then synthesize a report with a fixing plan

  • /docs-guardian:coverage

    Check documentation coverage — find undocumented public APIs and report coverage percentage

  • /docs-guardian:generate

    Auto-generate missing documentation — scan for coverage gaps, then write docs in the project's framework format

  • /docs-guardian:init

    Initialize docs-guardian for this project — auto-detect language and doc framework, propose code-to-doc mappings, configure hook strictness

  • /docs-guardian:shared:validate-config

    Shared config validation step — reads and validates docs-guardian config, stops with init instructions if missing.

Subagents (5)

  • accuracy-checker

    Use this agent for deep analysis of documentation accuracy — reads both code and docs to find mismatches in API signatures, parameter descriptions, return values, examples, and behavioral claims, including after a migration or refactor that changed function signatures. Not for measuring how much of

  • coverage-scanner

    Use this agent to find undocumented public APIs and calculate documentation coverage percentage, or to list which public functions lack documentation, ranked by severity. Works standalone via /coverage or as part of a full audit. Not for checking whether existing docs match the code (use accuracy-ch

  • doc-writer

    Use this agent to generate or update documentation for undocumented or stale code, including refreshing a module's docs after it was rewritten. Reads source code, understands behavior, and writes docs in the project's documentation framework format. Not for auditing docs without changing them; the o

  • quality-rater

    Use this agent to rate documentation quality — checks for empty sections, TODO markers, broken links, missing examples, inconsistent formatting, and other quality issues, for example before publishing a docs site. Not for accuracy or coverage problems (use accuracy-checker or coverage-scanner), and

  • staleness-detector

    Use this agent to detect stale documentation by comparing git timestamps between source files and their corresponding doc files, for example to flag docs untouched since a major refactor before a release. Runs staleness-check.sh for mechanical git work, then interprets the results. Not for checking

Hooks (1)

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/docs-guardian/commit-guard.js"

View source on GitHub

More from xiaolai/codex-marketplace

All 10 plugins →

TDD discipline for Codex: per-lane gates (unit/integration/e2e/contract), spec-strength levels S1-S6 with property tooling, adversarial spec review, red receipts, per-path critical thresholds, 9-format coverage merging and mutation testing, as 11 workflow skills ($tdd-guardian-init, -plan, -design-tests, -implement, -gate, -workflow, ...). A PreToolUse hook denies git commit/push until the gating lanes are fresh; Claude Code's TaskCompleted auto-gate has no Codex event, so $tdd-guardian-gate runs those lanes.

32 skills · 16 commands · 7 agents · hooks

0

nlpm

codex

Natural-Language Programming reference knowledge as Codex skills — the 50 Rules, the 100-point scoring rubric, per-tool conventions (Claude Code / Codex CLI / Antigravity), anti-patterns, vocabulary discipline, and authoring guides. Knowledge skills, not commands: load $nlpm-rules + $nlpm-scoring to score an artifact, $nlpm-conventions-codex for the Codex skill layout. The interactive /nlpm:* linting commands remain a Claude Code plugin; cross-tool deterministic checks use the standalone bin/nlpm-check.

17 skills · 15 commands · 8 agents · hooks

0

English coach for non-native speakers: a UserPromptSubmit hook shows the corrected English of each prompt, translates prompts in other languages, and refines :: prompts, and Codex works from the clean version. Corrections are logged locally for $claude-english-buddy-today, -stats, -mistakes and -drill; $claude-english-buddy-review and -preview check any text for grammar, tone and clarity. The hook calls Claude Haiku with your own Anthropic credentials and runs once you trust it with /hooks.

23 skills · 10 commands · 4 agents · hooks

0

Personal IT guy for non-technical macOS users — checkups, safe cleanup, undoable file organising, evidence-first diagnosis, backups with a restore drill, home network, automation that leaves reusable tools behind, and a tutor grounded in your machine's own numbers. PreToolUse guard and SessionStart digest both run under Codex. macOS only.

8 skills · 12 commands · 4 agents · hooks

0

Recursive governance for Executable Operating Units (EOUs). Faceted classification, generating-EOU constraints, ECP-governed change, no-self-approval. v0.7.0: Stage 0 (captured_workflow + domain_values constitutional layer + Rule 96). v0.8.0: agentic judgment (judgment_authorized flag, value_invocations trace, F14–F17 taxonomy, $audit-judgment skill, Rule 97, counterfactual-swap audit).

14 skills · 1 command

0

grill

codex

Deep codebase interrogation — multi-angle architecture review with 7 specialized analysis skills, 5 review styles (including Paranoid Mode), and 8 add-on pressure tests

8 skills · 1 command · 6 agents

0

Similar plugins

Matt Pocock's agent skills for real engineering (grilling, spec/ticket flows, TDD, code review, domain modelling and more).

39 skills

mattpocock/skills 323,108

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

career-ops

claudecodex

Open-source AI job search that runs locally in your AI coding CLI: scan job portals, evaluate listings into a structured A-H report with a 1-5 score, tailor your CV, track applications

5 skills · hooks

career-ops-hq/career-ops 82,253

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 68,893

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Maintain docs-guardian?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins10 plugins