docs-refactor-v2
OpenClaw Refactor Docs
Overview
Use this skill when the user gives a target OpenClaw docs page and asks to rewrite, refactor, reorganize, split, shorten, or improve it.
This skill builds on docs-write-v2: use that skill for style, page types,
structure, examples, discoverability, and verification. This skill adds the
rewrite workflow needed to avoid losing accurate behavior during a major docs
refactor.
For major rewrites, moved-section audits, migration maps, or line-by-line
preservation requests, use docs-audit-v2 as the audit engine. Read
../docs-audit-v2/references/refactor-integration.md for the generic contract:
this skill owns the rewrite and semantic mapping decisions; docs-audit-v2
owns the schema, CLI implementation, hydration, validation, report rendering,
and viewer.