technical-documentation
它能做什么
它指导 AI 智能体撰写、更新和检查技术文档,例如指南、参考页面和 README 文件。它适合希望文档保持准确、易于使用的团队。
适用场景
- ✓需要为现有产品编写或全面修改一套文档的时候。
- ✓想让别人审阅一项文档修改,检查结构是否清晰、步骤是否正确的时候。
- ✓需要及时更新 AGENTS.md 或 CONTRIBUTING.md 等智能体说明文件的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/.agents/skills/technical-documentation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我审阅安装指南,指出哪些地方不清楚或已经过时。”
每周 5 个新技能,1 分钟读完。
工作原理
技能为每类页面设定清晰的结构,例如操作指南或参考手册。然后检查文字的结构、清晰度和步骤是否正确,并提出修改建议。
技术内容(原始 SKILL.md)
作者在 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/) whereAGENTS.mdis 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
- Classify task:
buildorreview; context:brownfieldorevergreen. - Inventory full documentation scope early (governance + product docs): AGENTS/CONTRIBUTING/aliases plus docs directories, framework sources, and root/module READMEs.
- Detect multilingual scope (README/docs in multiple languages) and define required parity level.
- Read
references/agent-and-contributing.mdfor agent instruction andCONTRIBUTING.mdworkflow rules (inventory, canonical/alias mapping, dual-mode balance, deliverable standards, and precedence/conflict handling). - Read
references/principles.mdfor the governing ruleset (Matt Palmer & OpenAI). - For OpenClaw docs work, read
references/openclaw.mdbefore the build/review playbook. - For build tasks, follow
references/build.md. - For review tasks, follow
references/review.mdand proactively detect issues without waiting for repeated prompts. - For complex or high-risk tasks (build or review), it is acceptable to run longer, deeper, and more exhaustive investigations when needed for confidence.
- When available, use sub-agents for bounded parallel discovery/review work, then merge outputs into one coherent final deliverable.
- Use
references/tooling.mdwhen platform/tooling choices affect recommendations. - 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.
- In brownfield mode, prioritize compatibility with current docs IA, tooling, and release state.
- In evergreen mode, prioritize timeless wording, update strategy, and durable structure.
- 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/ Claudehaiku): file/config discovery, coverage map, and missing-path checks.governance-agent->agents/governance-agent.md(thinking/ Claudesonnet): AGENTS/CONTRIBUTING/alias precedence, conflicts, and policy drift.docs-framework-agent->agents/docs-framework-agent.md(thinking/ Claudesonnet): framework config, relative path base, and file-path vs URL-path mapping checks.synthesis-agent->agents/synthesis-agent.md(long/ Claudeopus): 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).
常见问题
它只适用于全新的文档吗?
不是。它对现有文档同样有用,包括对项目已有页面的全面修改。
它能帮忙处理智能体说明文件吗?
可以。它涵盖 AGENTS.md 和 CONTRIBUTING.md 等指导 AI 智能体和贡献者的文件。
它只适用于软件项目吗?
它是为保存在代码仓库中的技术文档编写的,因此适用于软件项目和类似的基于代码的工作。
详情
作者的原始描述
Build and review high-quality technical docs as well as agent instruction files in your repository.
repo: openclaw/openclaw
热度
- GitHub 星标
- 394k
- 排名
- #9
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。