| name | docs-sync |
| description | Review the current AgentLane code and public docs under docs/ to find missing, outdated, or misplaced documentation, then propose or apply concise documentation updates that match the repository’s structure and writing style. Ignore internal planning docs under docs/plans/. |
Docs Sync
Use this skill when the user wants to audit documentation coverage, keep
docs/ aligned with implementation changes, or update public technical docs.
Scope
This skill is for public documentation under docs/**.
Rules:
- Treat
docs/plans/** as internal tracking, not public documentation.
- English only.
- Keep edits concise and easy to maintain.
Workflow
1. Define the scope to review
Pick one of these modes:
- full public-doc audit against the current branch
- doc sync for a specific feature or directory
- diff-based audit against
main for in-flight changes
Prefer diff-based review when there is active branch work. Prefer a full audit
when the user asks for broad documentation cleanup.
2. Build a feature inventory from code
Review the selected scope in code first.
Focus on user-facing behavior:
- public exports
- runtime behaviors and guarantees
- configuration options and defaults
- examples that define supported usage
- important developer workflows
- renamed, removed, or newly added features
Capture lightweight evidence:
- file path
- symbol or setting name
- short note about the behavior that should be documented
3. Review the existing docs hierarchy
Use the current docs tree as the source of structure.
Start with:
docs/README.md
- the relevant page under
docs/runtime/, docs/messaging/, docs/harness/,
or docs/transport/
When reviewing, prefer updating an existing page over creating a new one unless
the topic clearly has no home.
If you add, remove, or rename a public docs page, update docs/README.md.
4. Compare docs against code
Look for:
- missing public behavior
- outdated names, defaults, or semantics
- examples in docs that no longer match implementation
- information that belongs on a different page for discoverability
- public docs that accidentally expose internal rollout or planning details
5. Produce a Docs Sync Report
Before editing, produce a short report with:
- doc gaps
- inaccurate or outdated content
- structural suggestions, if any
- proposed file-level edits
Keep the report concise.
6. Apply updates if asked
When applying edits:
- edit only the relevant public docs under
docs/**
- keep the current writing style and section structure
- keep examples short and directly tied to the repo
- prefer current-state documentation over rollout history
- do not add jokes, slang, rhetoric, puns, or contrastive-negation phrasing
Writing Style
Match the existing documentation style in this repository.
Rules:
- write in plain technical English
- prefer short sections and short paragraphs
- use direct statements over persuasive or dramatic framing
- explain the current behavior, boundaries, and intended usage
- keep examples minimal and realistic
- avoid figures of speech, jokes, slang, and rhetorical phrasing
- avoid contrastive negation patterns such as “not X, but Y”
- keep tone neutral and open-source appropriate
Public Docs Boundary
For this repository, public docs currently live under docs/**.
Internal tracking docs live under docs/plans/** and should not be treated as
the public documentation surface.
Output format
Use this report shape when auditing before edits:
Docs Sync Report
- Scope
- Missing or weak coverage
- Doc file or missing page -> evidence -> proposed change
- Incorrect or outdated content
- Doc file -> issue -> correct behavior -> evidence
- Structural suggestions
- Proposed move/add/remove -> rationale
- Proposed edits
References
references/doc-coverage-checklist.md