oma-docs
Check documentation references, sync docs to code changes, and detect translation drift. Use for documentation maintenance in a repository.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install oh-my-agent-agents-oma-docsManual setup by platform
Claude Code
~/.claude/skills/oh-my-agent-agents-oma-docs/SKILL.md
Instructions
Documentation Maintenance
Scheduling
Goal
Keep documentation aligned with repository behavior and report verification limits.
Intent signature
Check references, update docs for a code diff, identify translation drift, or lint localized prose.
When to use
Repository documentation verification, diff-based synchronization, and translation maintenance.
When NOT to use
- General source research -> oma-search.
- Application implementation -> the owning specialist.
- Translating known text -> oma-translation.
- Moving decision or report files into the canonical layout ->
oma docs migrateon explicit request (resources/commands.md); it is not a maintenance mode.
Expected inputs
Mode (verify, sync, i18n, or lint), target paths or diff range, and authorized edit scope. Use verify when no mode is specified.
Expected outputs
Findings with paths and evidence, authorized patches when requested, and unresolved checks. CLI reports remain distinct from host-authored interpretation.
Dependencies
The oma docs CLI, Git for diff-based work, and repository docs. lychee is optional for URL verification. Read resources/commands.md for flags and output files of the selected mode.
Structural Flow
Transitions
verify: extract and resolve references, then summarize the report.sync: obtain candidates, read relevant docs and diffs, and apply only authorized corrections.i18n/lint: report drift or style issues; use oma-translation for authorized corrections.- Review-only requests produce proposals. Existing scoped edit requests authorize applying those corrections without another per-file approval.
Failure and recovery
| Failure | Recovery |
|---|---|
| Missing CLI | State up front that the automated check is unavailable, then inspect manually anyway: list the target markdown files, extract [text](path), , and href/src targets, resolve each relative to its containing file, and report which resolved paths are missing. Skip http(s) URLs and note them as unverified scope. Label the result "manual inspection — oma docs verify did not run"; never present it as CLI output and never make installing the CLI a prerequisite |
| Missing lychee or incomplete URL scan | Report core results and the unverified URL scope |
| One document cannot be parsed | Record the skipped file and continue other documents |
| Patch does not apply | Re-read the affected current content and make the equivalent authorized correction |
| Index write fails | Report the failure; do not claim the index or check is complete |
Exit
Report verified findings, edits made, and remaining gaps. A clean reference scan does not establish semantic correctness or complete translation quality.
Logical Operations
Canonical command path
- Select mode, paths/diff, and authorization from the request. Read only the matching section of
resources/commands.md. - Run
oma docs verify --json,oma docs sync <range> --json,oma docs i18n --json, oroma docs lint --jsonas appropriate. For sync, use the requested range; otherwise staged changes, thenHEAD~1..HEAD. - Inspect the structured results. Verify each proposed correction against current code and document context. Exclude secret-bearing files and values from patches and reports.
- Apply corrections already authorized by the user or assigned task. In an active OMA docs-sync workflow, first record each patch's actual apply/skip action, rationale, and evidence with
docs.sync-patch-approval; bindinstanceIdand verification--instanceto the doc path plus current patch revision (workflow Step 4 owns the command template). Existing authorization remains sufficient. Ask only about material missing decisions or new scope; continue independent work while waiting. - Re-run affected checks after edits and record remaining failures. Regenerate the reference index once after a patch batch when needed.
Resource scope and effects
Verification regenerates docs/generated/doc-refs.json; optional URL results go to docs/generated/url-drift.json. Sync's CLI emits candidate data; the host drafts and applies patches. i18n/lint commands report only. A workflow hook runs only when docs.auto_verify is enabled and is warn-only.
Guardrails
- Follow
../_shared/core/execution-policy.mdfor authorization and completion. - Keep review-only requests read-only and changes within the assigned diff or acceptance criteria.
- Do not expose secret-bearing files (
.env*, private keys, credentials) in diff reports. - The CLI produces structured data; the host performs natural-language synthesis. Do not invent CLI findings or call a vendor LLM API from the docs CLI.
- Honor ignore blocks,
oma-docs: skip, and configured exclusions. Missing gitignored runtime outputs are skipped, not broken references. - Preserve language, terminology, and placeholders when applying localized corrections.
References
- Mode commands, flags, and outputs:
resources/commands.md(selected operation only). - Translation:
../oma-translation/SKILL.md(localized correction). - Authorization:
../_shared/core/execution-policy.md(when not already provided).
Security
Reviews (0)
Related skills
Browse all →More from oh-my-agent
View source →More Build skills
Browse category →Frequently asked questions about oma-docs
What does the oma-docs skill do?
Check documentation references, sync docs to code changes, and detect translation drift. Use for documentation maintenance in a repository. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the oma-docs skill?
Run `npx @skills-hub-ai/cli install oh-my-agent-agents-oma-docs` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/oh-my-agent-agents-oma-docs/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does oma-docs work with?
oma-docs runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the oma-docs skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use oma-docs after installing it?
In Claude Code, type `/oh-my-agent-agents-oma-docs` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the oma-docs skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.