Doc Gardener
Run this skill to maintain documentation integrity with deterministic checks and safe autofixes.
Workflow
- •Run
scripts/run.tsinon-demandorscheduledmode. - •Detect API drift, behavior drift, and docs integrity issues.
- •Apply safe fixes for links, anchors, and
meta.jsonpage drift. - •Produce machine-readable and human-readable reports under
artifacts/doc-gardener/<timestamp>/. - •For scheduled mode, include a single batch PR summary grouped by package/domain.
Commands
bash
node .codex/skills/doc-gardener/scripts/run.ts --mode on-demand --base origin/main --head HEAD --apply node .codex/skills/doc-gardener/scripts/run.ts --mode scheduled --apply
Optional flags:
- •
--report-dir <path>: custom report directory - •
--skip-verify: skip Nx lint/test/build verification gates
Notes
- •
--applydefaults totrue. - •On-demand mode uses
nx affectedgates. - •Scheduled mode uses
nx run-manygates. - •Semantic/API narrative changes are left as unresolved follow-ups with evidence.
For detailed policy and sequence, read:
- •
references/rules.md - •
references/workflow.md