skills/structure-first-docs/SKILL.md
Compose, restructure, and review engineering docs and multi-file documentation packages. Use when cleaning up or assessing design docs, implementation plans, migration plans, runbooks, PR narratives, handoffs, task-doc bundles, or documentation sets for reader flow, source fidelity, ownership/source-of-truth, stale material, backlog/log/evidence separation, and implementation readiness.
npx skillsauth add perhapsspy/structure-first structure-first-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Make engineering documents and document packages easy to read, resume, review, and use as a basis for code work.
For large efforts, treat the document set like a code package: clear entrypoint, small modules with one responsibility, explicit reader routes, and separate places for current source of truth, evidence, history, drafts, and stale material.
Use these roles as a lens, not a required template:
Start from reader jobs, not from a fixed template:
Create only the surfaces the source justifies. If two documents repeat the same current conclusion, choose one owner when the source or existing convention makes ownership clear; otherwise flag an ownership decision.
For migrations or moved ownership, make demotion explicit: old files should route to the new owner or state historical/archive status, not compete as canon.
Start with Issues/Risks, ordered by severity. Then give evidence and required changes.
Look for:
If a change requires an ownership or policy choice not settled by the source, label it as a decision request instead of silently rewriting. Do not rewrite append-only logs just to make them neater; sample relevant tails unless historical cleanup is explicitly requested.
For compose work, edit directly when possible; otherwise return publish-ready Markdown and name any blocked inputs.
For review work, use this shape:
Issues/Risks
Evidence
Required Changes
Open Questions or Decision Requests
development
Readable primary-flow–first code structuring with minimal boundaries, atomic composition, and contract-driven unit tests
documentation
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
documentation
Maintain the OpenClaw memory wiki vault with deterministic pages, managed blocks, and source-backed updates.
documentation
Feishu knowledge base navigation. Activate when user mentions knowledge base, wiki, or wiki links.