name: documentation description: Documentation skill for concise, high-signal project docs that stay synchronized with implementation license: MIT compatibility: opencode metadata: audience: developers workflow: docs
Documentation Skill
Use This Skill For
- README maintenance
- setup and usage instructions
- documenting behavior changes, risks, and operational notes
- keeping implementation and docs synchronized
Do Not Use This Skill For
- implementation-only tasks that do not change behavior, setup, or usage
- sprawling low-signal docs that the README does not need
Core Rules
- Keep docs concise and useful.
- Prefer updating the root README before creating new markdown files.
- Add new docs only when the README would become unclear or unmanageably large.
- Document non-obvious setup, risks, and breaking changes.
After Significant Changes
Update documentation for:
- new commands or workflows
- model or provider changes
- MCP or integration changes
- environment variable requirements in
.env.example - behavioral risks or usage caveats
Bug Fix Notes
For important fixes, capture:
- the user-visible issue
- the cause
- the fix
- any follow-up needed
Environment Rule
- Do not instruct agents to read
.env. - Document variables in
.env.example. - State that
.env.examplemirrors the keys expected in the local.env.
Done Criteria
- docs reflect the current system, not the previous one
- setup steps are accurate
- warnings and caveats are visible enough to matter