企业技术文档撰写与审查
technical-writing
撰写、组织、命名、编辑或审查企业开发者文档、规范和技术说明;让论断基于当前源码,并以通俗语言润色收尾。
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 469
- Forks
- 117
01 前言 Front Matter
- name
- technical-writing
- description
- Write, organize, name, edit, or review Enterprise developer documentation, specifications, and technical instructions; ground claims in current source and finish with a plain-language cleanup.
- dependencies
- []
02 资源文件 8
- 资产文件assets/reference-ci.md1.3 KB
- 资产文件assets/reference-driver-impl.md1.8 KB
- 资产文件assets/reference-driver.md4.5 KB
- 参考文档references/documentation-navigation.md5.9 KB
- 参考文档references/driver-contracts.md6.6 KB
- 参考文档references/frontmatter-and-tags.md6.7 KB
- 参考文档references/specifications.md2.6 KB
- 参考文档references/terminology-and-limits.md4.0 KB
03 SKILL.md 正文
Technical writing
Use for repository documentation, including READMEs, guides, references, flow
docs, specifications, and technical PR descriptions. Read the applicable
AGENTS.md first; it owns documentation destinations, length limits, and
repository terminology. This skill needs no global tools or skill installation.
Establish the reader and evidence
- Identify the reader, intended action or decision, page scope, and source of truth. Read current code, schemas, tests, command output, and the relevant diff.
- Choose the requested mode: create from evidence, edit while preserving useful facts and the author's intent, or review with findings before proposed fixes.
- Lead with what the reader can accomplish and one recommended path. Mention implementation first when explaining architecture or internals is the task.
- Verify claims, examples, defaults, paths, and failure behavior. Label material uncertainty and name the missing evidence; polished prose is not verification.
- Before handing off any writing, complete the required plain-language pass.
Write precise prose
Apply ASD-STE100 (Simplified Technical English). Before and after a documentation update, complete the terminology and limits pass. Keep official resource names and public identifiers. Check each replacement against its meaning and current source.
- Use present tense, active voice, concrete nouns, and one term per concept. Expand unfamiliar abbreviations at first use; use established product names.
- Define unfamiliar concepts through their owner, action, and observable role. Replace “the controller handles deployment” with what it reads, decides, and starts, when those details matter to the reader.
- Make every sentence help the reader decide, act, or understand a boundary. Delete repeated background, meta-commentary, and generic benefits.
- Treat
all,only, andneveras literal claims. Name the surface they cover. Usemustfor requirements andcanfor options; preserve consequential limits. - Use sentence-case, action-specific article headings and descriptive links. Explain why when it changes a decision or prevents a failure.
- Give each contract, default, and behavior one owning page. Link its definition from other pages rather than copying it into competing references.
- Make diagrams agree with prose: actors and resources are nodes, containment uses regions, and arrows describe interactions. Do not imply deployment proof from source alone or rely on color alone to convey meaning.
Always deslop the writing
Run this pass whenever you write, edit, or review prose, including small changes, PR descriptions, and review findings. The user does not need to request it. For edits, clean up the prose in scope and read the surrounding text for flow. For a review-only task, clean up your feedback and flag wording in the document when it obscures meaning; do not silently rewrite the source.
- Name who does what and under which conditions. Replace vague verbs and noun piles such as “performs readiness observation” with “checks whether the workload is ready.” Prefer familiar words; define necessary technical terms.
- Delete filler, canned transitions, empty claims, and repeated explanations. Remove contrasts or caveats the reader does not need. Avoid invented labels.
- Put the main point first. Split a sentence when the reader has to untangle several actions, actors, or conditions; give each paragraph one main point.
- Check the edit against the original and the evidence. Preserve scope, required actions, permissions, warnings, failure behavior, and uncertainty. Do not make an unsupported claim sound certain or cut a useful detail merely to shorten it.
Organize and name development docs
When adding, grouping, moving, or renaming documentation, read Organization and naming. Choose one home based on the reader's task. Use short sidebar labels and give the article enough context to make sense when opened directly. Check repository guidance and the current navigation before treating a proposed layout as implemented.
Choose the smallest useful page
Keep quickstarts and main guides focused on the normal supported workflow. Put platform-specific failures, uncommon environment workarounds, and extended diagnostic steps in the owning troubleshooting page or section. Link to that guidance with a short, symptom-based pointer beside the affected step; do not front-load the main guide with edge cases. Keep required prerequisites, security boundaries, destructive effects, and recovery needed for the normal workflow beside the action they affect.
| Page | Include |
|---|---|
| Overview or README | Reader outcome, scope, recommended starting path, and links to detail. |
| Quickstart | Prerequisites, minimum configuration, one runnable example, expected result, and next step. |
| Operator guide | Inputs, command, completion evidence, and recovery in execution order. Keep required inputs separate from optional inputs and show defaults beside options. |
| API or CLI reference | Purpose, permissions, exact inputs, defaults, constraints, outputs, side effects, errors, and examples. Keep generated schemas owned by their generator. |
| Testing guide | Setup, fixtures and permissions, success/failure proof, cleanup, and differences from production. |
| Troubleshooting | Observable symptom, first discriminating check, likely causes, concrete fix, and proof of recovery. |
| Architecture or specification | Selected model, owners, boundaries, invariants, tradeoffs, and proof; read specification guidance. |
| Runtime flow | Trigger, source pointers, runtime order, state and ownership transitions, decisions, failures, and handoff; follow the repository's local-dev flow contract. |
Omit empty or irrelevant sections. Split independently useful topics when a page mixes too many reader tasks. Keep the root documentation map and affected links current, following repository page ownership and length limits.
Frontmatter and tags
Use YAML frontmatter for page metadata. Read Frontmatter and tags
for supported fields, values, and their owners before adding or changing metadata.
Write tags as a list of strings. The nolimit tag exempts its page from both
word-count thresholds while retaining count reporting; apply it only with the
human approval required by AGENTS.md. Add human_verified to the tags only
when a human has verified the document, for example tags: [human_verified].
Keep verification status in the tag and record the human review date in
last_verified (YYYY-MM-DD). Update that date only after another human review.
Preserve existing tags and metadata.
Change generated frontmatter through its generator. Snippet tags do not exempt
pages that include the snippet.
Templates for specific document types
Use the Markdown frontmatter field kind to select a template from the
documentation taxonomy. Copy the template for a new
page. When updating an existing page, preserve its links and heading anchors.
| Kind | Use it for | Template |
|---|---|---|
reference/ci |
One test workflow's triggers, scenarios, execution, and result limits | CI check Markdown |
reference/driver |
The shared contract for one Driver capability | Driver contract Markdown |
reference/driver/impl |
One Driver implementation's provisioning, configuration, and operating limits | Driver implementation Markdown |
For a test workflow detail page, use kind: reference/ci and keep the template's six
sections in order: Overview, Trigger, Scenarios, Execution, Results and limits,
and Files. Follow the CI authoring guidance
for scenario descriptions, descriptive names, and exact GitHub job mappings.
Keep shared setup in its owning guide and preserve existing heading anchors.
Publication-only workflows, preview builds, cache maintenance, and security
scanning belong in their owning contributor or release guides, not this template.
For a Driver contract, keep the template's sections in order and use the Driver authoring guidance to check coverage. Keep the template's contents list below the title and update its links with the page. Put implementation-specific setup and settings in the linked implementation page. When adding a template, add its kind, selection criteria, and asset link to this table and the documentation taxonomy in the same change.
Make examples usable
Show realistic, safe inputs and exact identifier types. Mark placeholders clearly, quote YAML values when needed, and specify each code block's language. Include the working directory, prerequisites, invocation, and expected success output when they are necessary to run a command. Verify examples when feasible; report when they have not been executed.
Put permissions, secret handling, destructive effects, concurrency limits, timeouts, ordering, retries, and recovery beside the affected step when mistakes have consequences. Separate development, test, and production behavior. Never include real credentials. Remove explanation before removing information needed for a command to succeed safely. Keep internal orchestration in its owning flow or reference unless the operator needs it to make a decision.
Edit and verify
Correct inaccurate or unsafe claims first, add missing requirements or failure handling, then remove repetition and tighten prose. Update current docs with the behavior they describe; mark a page stale with a source-of-truth link if a full update cannot be completed. Preserve historical specs and user-owned Manual Notes in source. The site omits document Changelogs and empty Manual Notes. Do not rewrite history to match later implementation.
Check commands, examples, terminology, local links, and navigation. For documentation-only changes, use formatting, builds, link checks, and visual inspection; do not add or run tests. Report checks run and gaps.
For a review, cite the conflicting text, explain its consequence, and suggest the smallest correction. Order findings by reader impact, distinguish correctness from optional polish, and state what evidence was checked. Say when no actionable findings remain.
Provenance
Adapted from Docy's core technical-writing and document-lifecycle guidance, developer documentation, concise instructions, and specification references. The repository maintains this self-contained selection; see the developer-skills catalog for source details. Docy's CLI and personal installation are not required.
04 同仓库更多 Skills
Google Workspace 命令行操作
oce-google
在专用工作节点(worker)上使用托管的 Google Workspace CLI。
测试审查与质量把关
test-audit
对新增或变更的企业测试进行把关,并审查现有测试的可观察行为、可信回归、重复覆盖以及仅供测试使用的生产代码接口。
RFC 与实施方案撰写
spec
按照仓库编号和生命周期规则,起草或更新 OpenClaw Enterprise 的 RFC 和实施方案。
PR 演示流程录制
pr-walkthrough
为拉取请求(PR)录制易读的 Console 演示流程。当评审者需要查看交互、状态转换、恢复过程或键盘操作流程时使用。
OpenClaw 企业端到端集成测试
oceinteg
针对真实且受支持的安装环境,运行指定的 OpenClaw Enterprise 端到端集成场景。仅在明确调用时使用。
OpenClaw 企业运维手册
oce-cookbook
运行 OpenClaw Enterprise 维护方案(recipes)。仅在明确调用时使用。