AGENT SKILL

review-docs

Add or revise a handbook page so it satisfies the documentation contract and stays reachable.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
review-docs
description
Add or revise a handbook page so it satisfies the documentation contract and stays reachable.

03 SKILL.md 正文

Add or revise a documentation page

  1. Read AGENTS.md and docs/reference/documentation-contract.md. The contract is enforced by bg-validate-docs, which just check-docs runs and which reports every violation at once.
  2. Find the topic's owner first. Every topic in docs/manifest.yml has exactly one canonical page, so prefer editing the owning page over writing a new one.
  3. A new page needs a docs/manifest.yml entry whose title, kind, audience, canonical_for and requires match the page frontmatter exactly, including list order — the comparison is order-sensitive.
  4. Give the page one level-one heading identical to its title, at least forty words of substance, and no unfinished markers or placeholder prose.
  5. Link the page in from docs/README.md, directly or transitively. An unreachable page fails the contract even when everything else about it is correct.
  6. Use relative links and check the case; the contract verifies link targets exist with exact case, and heading anchors within Markdown targets.
  7. Run just check-docs, then just check before handoff.

04 同仓库更多 Skills