Skip to content
Skillpedia
Documentation394k · #9

technical-documentation

What it does

It guides an AI agent through writing, updating, and checking technical documentation, such as guides, reference pages, and README files. It is for teams that want docs that stay accurate and easy to use.

When to use it

  • ✓When you need to write or overhaul a set of docs for an existing product.
  • ✓When you want a documentation change reviewed for clear structure and correct steps.
  • ✓When you need to keep agent instruction files such as AGENTS.md or CONTRIBUTING.md up to date.

Skill link

https://github.com/openclaw/openclaw/blob/main/.agents/skills/technical-documentation/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/.agents/skills/technical-documentation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Please review my setup guide and tell me where it is unclear or out of date.”

5 new skills a week. 1 minute to read.

How it works

The skill sets a clear structure for each type of page, such as a how-to or a reference. It then checks the writing for structure, clarity, and correct steps, and suggests fixes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Technical Documentation

Purpose

Produce and review technical documentation that is clear, actionable, and maintainable for both humans and agents, including contributor-governance files and agent instruction files.

When to use

  • Creating or overhauling docs in an existing product/codebase (brownfield).
  • Building evergreen docs meant to stay accurate and reusable over time.
  • Reviewing doc diffs for structure, clarity, and operational correctness.
  • Running full-repo documentation audits that must include both governance files and product docs surfaces (docs/, README*, .md/.mdx/.mdc, Fern/Sphinx/Mintlify-style sources).
  • Updating or reviewing AGENTS.md and/or CONTRIBUTING.md to keep agent and contributor workflows aligned with current repo practices.
  • Improving repository onboarding/docs that include contribution instructions, issue templates, PR flow, and review gates.
  • Designing governance documentation strategy for repos with alias instruction files (for example CLAUDE.md, AGENT.md, .cursorrules, .cursor/rules/*, .agent/, .agents/, .pi/) where AGENTS.md is treated as canonical when present and aliases should be kept as compatibility surfaces.
  • Diagnosing agent-file drift where teams had to prompt iteratively to surface missing files, broken commands, or policy conflicts.
  • Applying repository-specific documentation overlays, including OpenClaw page-type, docs IA, preservation, and validation rules when present.

Workflow

  1. Classify task: build or review; context: brownfield or evergreen.
  2. Inventory full documentation scope early (governance + product docs): AGENTS/CONTRIBUTING/aliases plus docs directories, framework sources, and root/module READMEs.
  3. Detect multilingual scope (README/docs in multiple languages) and define required parity level.
  4. Read references/agent-and-contributing.md for agent instruction and CONTRIBUTING.md workflow rules (inventory, canonical/alias mapping, dual-mode balance, deliverable standards, and precedence/conflict handling).
  5. Read references/principles.md for the governing ruleset (Matt Palmer & OpenAI).
  6. For OpenClaw docs work, read references/openclaw.md before the build/review playbook.
  7. For build tasks, follow references/build.md.
  8. For review tasks, follow references/review.md and proactively detect issues without waiting for repeated prompts.
  9. For complex or high-risk tasks (build or review), it is acceptable to run longer, deeper, and more exhaustive investigations when needed for confidence.
  10. When available, use sub-agents for bounded parallel discovery/review work, then merge outputs into one coherent final deliverable.
  11. Use references/tooling.md when platform/tooling choices affect recommendations.
  12. Run a proactive issue sweep for both governance and docs-content surfaces, and fix high-confidence defects in the same pass unless explicitly asked for report-only mode.
  13. In brownfield mode, prioritize compatibility with current docs IA, tooling, and release state.
  14. In evergreen mode, prioritize timeless wording, update strategy, and durable structure.
  15. Return deliverables plus validation notes, parity status, and remaining gaps.

Sub-agent orchestration guidance

Prefer sub-agents when the repo is large or the requested change set is broad; use them by default for repo-wide, multi-framework, or high-conflict work.

  • inventory-agent -> agents/inventory-agent.md (fast / Claude haiku): file/config discovery, coverage map, and missing-path checks.
  • governance-agent -> agents/governance-agent.md (thinking / Claude sonnet): AGENTS/CONTRIBUTING/alias precedence, conflicts, and policy drift.
  • docs-framework-agent -> agents/docs-framework-agent.md (thinking / Claude sonnet): framework config, relative path base, and file-path vs URL-path mapping checks.
  • synthesis-agent -> agents/synthesis-agent.md (long / Claude opus): merge sub-agent outputs into one prioritized fix plan and unified precedence model.

Inputs

  • Doc type (tutorial, how-to, reference, explanation) and audience.
  • File scope or diff scope.
  • Docs framework/tooling constraints (Fern, Mintlify, Sphinx, etc.).
  • Build/review mode and brownfield/evergreen intent.
  • Target agent and human compatibility intent.
  • Docs framework surfaces in scope (for example Fern, Sphinx, Mintlify, Markdown/MDX/MDC/RST/RSC files).
  • Desired investigation depth/time budget (quick pass vs exhaustive review).
FAQ

Is it only for brand new documentation?

No. It is useful for existing docs too, including overhauls of pages that a project already has.

Can it help with agent instruction files?

Yes. It covers files such as AGENTS.md and CONTRIBUTING.md that guide AI agents and contributors.

Is it only for software projects?

It is written for technical documentation kept in a code repository, so it fits software projects and similar code-based work.

Details

Original description by the author

Build and review high-quality technical docs as well as agent instruction files in your repository.

repo: openclaw/openclaw

Popularity

GitHub stars
394k
Ranking position
#9
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills