跳到正文
cccskills
免费在 GitHub 公开

docs-refactor

Refactor a whole documentation page in this repository without losing source-verified behavior facts. Use for page rewrites, splits, reorganizations, or substantial shortening of README sections, docs pages, or instruction files. Do not use for ordinary documentation authoring, targeted corrections, or documentation review; use technical-documentation instead.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Documentation Refactor

Read technical-documentation first. A rewrite improves structure; it is never permission to discard behavior facts.

Operating contract

ConcernRule
Use whenRewriting, splitting, merging, reorganizing, or materially shortening a README section, docs\*.md page, or root or scoped AGENTS.md file.
Do not use whenWriting a new page, making a targeted documentation correction, or reviewing documentation without a whole-page restructuring; use technical-documentation.
Required inputsTarget page or section, desired reader outcome, intended page type, and the authority for every behavior-sensitive claim.
Mutation boundaryInventory the old content before editing. Give every fact exactly one outcome: keep, move to a named destination, or delete with source-backed proof of obsolescence.
Done whenThe fact inventory is reconciled, old and new content are compared, sources and links are validated, and the final report names every moved fact and destination.

Refactor workflow

  1. Read ..\technical-documentation\SKILL.md and its repository-surface authority table. Limit page types to README sections, docs\*.md pages, and instruction files; select the appropriate tutorial, how-to, reference, or explanation shape before editing.
  2. Build a pre-rewrite fact inventory from the current target: commands, flags, defaults, prerequisites, constraints, safety notes, errors, recovery steps, examples, expected output, links, and ownership claims.
  3. Assign every inventory item exactly one outcome: keep in the target, move to one named existing or new destination, or delete only when the designated source authority proves it obsolete or out of scope. Do not leave an outcome implicit.
  4. Verify behavior-sensitive facts against the authorities in ..\technical-documentation\references\repo-surfaces.md. Never infer current behavior from the old prose, a name, a default, or intent.
  5. Draft around the reader funnel: orient the reader, present one recommended path, give an observable check, then route detailed, rare, or reference material without burying task-critical safety information.
  6. Preserve or repair cross-surface consistency. For instruction files, README.md, CONTRIBUTING.md, root and scoped AGENTS.md files, and docs\*.md must agree with each other and source according to their distinct audiences.
  7. Perform an old-versus-new comparison. Reconcile each fact-inventory row, every command, warning, link, and moved destination before declaring the refactor complete.
  8. Run the applicable real commands from ..\technical-documentation\references\repo-surfaces.md, including the advisory doc-reference check when it is available. Report the exact validation command(s) run, result, and lanes not run.

Final report

Name the target, its selected page type, the source authorities checked, and each fact moved with its exact destination. Explicitly list facts deleted and the proof of obsolescence, unresolved uncertainty, validation performed, and validation lanes not run.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

deslop

免费

Perform a diff-scoped, behavior-neutral cleanup of AI-generated slop on the current branch before code review. Use for removing trivial comment, defensive-check, type-laundering, redundant-intermediate, compatibility-shim, or local style drift from the branch diff. Do not use for full correctness or safety review, documentation work handled by technical-documentation or docs-refactor, or repo-wide refactors.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-packaging42026年10月17日 更新

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.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-packaging42026年10月17日 更新

Handle user-facing GUI, sign-in, and file handoffs from an isolated Windows agent session; not ordinary headless work.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-packaging42026年10月17日 更新

查看 openclaw 的全部技能

报告此技能的问题