技术文档撰写与审查
technical-documentation
撰写、审查或审计本仓库的技术文档,包括 README.md、CONTRIBUTING.md、根目录及局部范围的 AGENTS.md 文件、文档页面和文档漂移。适用于基于源码的文档撰写、行为验证和跨界面一致性检查。不要用于代码审查、deslop 差异清理,或由 docs-refactor 处理的整页重写、拆分与重组。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 5
- Forks
- 12
01 前言 Front Matter
- name
- technical-documentation
- license
- MIT
- metadata
- { "source": "https://github.com/vincentkoc/dotskills", "derivation": "Adapted for the OpenClaw Gateway MSIX packaging repository." }
- description
- Write, review, or audit this repository's technical documentation, including README.md, CONTRIBUTING.md, root and scoped AGENTS.md files, docs pages, and documentation drift. Use for source-backed documentation authoring, behavior verification, and cross-surface consistency. Do not use for code review, deslop diff cleanup, or whole-page rewrites, splits, or reorganizations handled by docs-refactor.
02 资源文件 3
- 参考文档references/instruction-files.md2.9 KB
- 参考文档references/principles.md1.9 KB
- 参考文档references/repo-surfaces.md2.7 KB
03 SKILL.md 正文
Technical Documentation
Produce documentation that lets a reader complete a real task without guessing at current behavior. Read principles before drafting or reviewing.
Operating contract
| Concern | Rule |
|---|---|
| Use when | Writing, reviewing, or auditing any documented repository surface; resolving README, CONTRIBUTING, AGENTS.md, command, or doc-drift claims. |
| Do not use when | Reviewing code behavior (code-review), cleaning a diff (deslop), or substantially rewriting, splitting, or reorganizing a page (docs-refactor). |
| Required inputs | Requested outcome or review scope, target audience, affected surface, and the source authority for each behavior claim. |
| Mutation boundary | Investigate read-only first. Edit only requested documentation surfaces; do not invent commands or behavior, and preserve verified facts unless source proves they are obsolete. |
| Done when | Claims are source-verified, relevant surfaces agree, the exact validation run and lanes not run are reported, and remaining uncertainty is explicit. |
Workflow
- Classify the work as build (authoring or targeted correction) or review (finding and reporting or correcting defects). Identify the reader, trigger, steps, and observable outcome before naming a structure.
- Inventory the relevant documented repository surfaces and their ownership using repository surfaces. State which are in scope and which are intentionally out of scope.
- For every behavior claim, locate its listed authority and verify the claim in source. Never infer behavior from names, defaults, generated output, or maintainer intent. Separate current behavior from planned behavior.
- Apply the reader funnel: explain what and why, give the smallest safe
working path, then route to next steps. Select a Diataxis page type:
tutorial, how-to, reference, or explanation. Treat README sections,
docs\*.mdpages, and instruction files as distinct page forms. - For contributor and agent instructions, apply
instruction-file rules. Require concrete
tracked paths, runnable command scope, and explicit
Always,Ask first, andNeverboundaries where operational rules are given. - Preserve facts during targeted edits: keep correct commands, constraints, safety warnings, prerequisites, expected output, and recovery guidance. Correct or remove a claim only with authority-backed evidence.
- Check links, anchors, tracked paths, line endings, and relevant behavior with the commands in repository surfaces. Run the narrowest applicable command; do not name tooling that this repository does not provide.
- Report the surfaces and authorities checked, edits or findings, the exact validation command(s) run and result, and an explicit list of validation lanes not run.
Review standard
- Lead with the reader's job, one recommended path, and a smallest reliable verification. Put rare internals and exhaustive detail behind focused sections or links.
- Make steps imperative and observable: state prerequisites, commands, expected outcome, common failure, and recovery when each is relevant.
- Treat missing referenced files, nonexistent commands, stale command scope, and cross-surface conflicts as high-priority defects.
- Keep README.md, CONTRIBUTING.md, root and scoped
AGENTS.mdfiles, anddocs\*.mdmutually consistent and aligned with source. ScopedAGENTS.mdfiles may narrow their tree's rules but must not compete with repository-wide ownership or safety rules.
References
04 同仓库更多 Skills
Windows界面登录与文件交接
windows-agent-handoff
在隔离的 Windows agent 会话中处理面向用户的 GUI、登录和文件交接;而非普通的无头(headless)工作。
技术文档页面重构
docs-refactor
重构本仓库中的整个文档页面,同时不丢失经过源码核实的行为事实。适用于页面重写、拆分、重组,或对 README 章节、文档页面和说明文件进行大幅精简。不要用于常规文档撰写、针对性修正或文档审查;这些应使用 technical-documentation。
AI生成代码冗余清理
deslop
在代码审查前,对当前分支上 AI 生成的冗余代码进行限定于差异范围、行为中立的清理。用于从分支差异中移除无关紧要的注释、防御性检查、类型伪装、冗余中间变量、兼容性垫片或局部风格漂移。不要用于完整的安全性或正确性审查、由 technical-documentation 或 docs-refactor 处理的文档工作,或全仓库范围的重构。
windows-iso-to-vhdx
Create a new offline Windows Gen2/UEFI VHDX from a user-provided installation ISO, or guide a public Windows ISO download. Not for Crabbox account/OOBE preparation, existing disk maintenance, host installation, or Linux images.
crabbox
Run this repository's configured Windows Hyper-V Crabbox jobs, preview their sync scope, reuse or release an owned lease, and report validation evidence. Use for disposable local Windows checks and same-lease iteration. Not for preparing VHDX templates, cloud providers, Actions hydration, or package production.
crabbox-hyperv-windows
Prepare a private copy of a generalized Windows Gen2 VHDX with a known local administrator and optional OOBE priming for local Crabbox Hyper-V. Not for ISO conversion, cloud/Linux, repository test execution, or package deployment.