AGENT SKILL

wavebench-docs

Develop and maintain the WaveBench repository documentation system. Use only for active documentation development: audits, information-architecture migrations, writing or rewriting project docs, generated references, and documentation-focused diff reviews. Documentation must be a primary requested deliverable; do not use for incidental doc edits during ordinary code changes, merely reading docs, instrument operation, or unrelated Chinese copyediting.

License 许可
MIT
最近更新
2026-10-26
Stars
★ 74
Forks
13

01 前言 Front Matter

name
wavebench-docs
license
MIT
metadata
{ "author": "WaveBench maintainers", "project": "wavebench", "version": "1.0.0" }
description
Develop and maintain the WaveBench repository documentation system. Use only for active documentation development: audits, information-architecture migrations, writing or rewriting project docs, generated references, and documentation-focused diff reviews. Documentation must be a primary requested deliverable; do not use for incidental doc edits during ordinary code changes, merely reading docs, instrument operation, or unrelated Chinese copyediting.

02 资源文件 8

03 SKILL.md 正文

WaveBench documentation development

Boundary

Use this skill only while developing or reviewing documentation owned by the WaveBench repository. It governs information architecture, page responsibility, canonical sources, migrations, navigation, examples, and documentation CI.

Do not use it for:

  • normal WaveBench operation, diagnosis, measurement, or hardware control;
  • answering a question by reading existing docs without changing or auditing them;
  • ordinary code changes with only an incidental one-line documentation update;
  • generic Markdown editing or Chinese copyediting outside WaveBench.

Hardware access is never part of a documentation audit. Runtime commands used to verify help or schema must be offline. If a documentation example requires real hardware, validate it statically unless the user separately authorizes the live operation under the wavebench safety workflow.

Start from repository facts

  1. Work from the Git repository root and inspect git status --short --branch.
  2. Read the pages directly in scope and their navigation entries. Use README.md to orient a first visit; read pyproject.toml or CHANGELOG.md only when the task depends on package or release facts.
  3. Resolve changing claims from implementation, executable help/schema, tests, descriptors, and release tags. Existing prose is evidence to audit, not proof of current behavior.
  4. Classify each page by audience, reader goal, type, canonical facts, and related pages before editing it.
  5. Preserve unrelated changes and do not move or rewrite broad document sets without an accepted audit and migration slice.

Read 文档宪法 when deciding taxonomy, page contracts, sources of truth, Core/plugin ownership, README scope, status, lifecycle, or user journeys. This is the single normative source for those rules.

Choose one mode

A request to explain, diagnose, audit, or review does not by itself authorize edits. When the user also requests implementation, finish the authorized edits and relevant checks after any stated prerequisite is satisfied. Mode selection is a workflow choice, not an extra approval step. Ask only for material missing information or work outside the existing authorization.

Mode Use when Load
audit Assess a documentation set without broad edits audit.md
migrate Apply an accepted audit in small, traceable slices migrate.md
write Add or substantially rewrite a specific page write.md
review Review a documentation PR or diff review.md

Load only the selected mode plus information-architecture.md when that mode needs constitutional rules. Do not turn every review into a repository-wide audit.

Invariants

  • Follow the document constitution for one-fact/one-source, status labels, Core/plugin ownership and lifecycle actions.
  • Structure and facts come before prose polish. For Chinese writing or review, apply tech-doc-style-chinese only after page responsibility and sources are settled. Do not assume that skill's unrelated Project-Overrides.md applies to WaveBench.
  • Apply the 协作输出卫生 rule to reader-facing content created or reviewed in this workflow. It is a contextual write/review judgment, not a hook, text filter, or CI gate.
  • Prefer generated Reference when stable code or schema can produce it. Generated output must name its source and have a drift check before it becomes canonical.

Mechanical audit

In audit mode, run the dependency-free checker for the full requested scope:

python .agents/skills/wavebench-docs/scripts/audit_docs.py

For write or review, pass the changed page and its direct navigation entry as paths; use a full audit only for an approved migration or a demonstrated systemic problem.

The script checks deterministic breakage and reports judgment-heavy concerns as warnings. It does not decide page type, migration action, user-journey quality, or whether content belongs in a Guide, Reference, or Concept.

For trigger-boundary maintenance, read eval-prompts.md.

Handoff

Treat the handoff as an execution and safety record under the 协作输出卫生 rule. Report the documentation scope, canonical sources checked, files changed, audit errors and warnings, commands or examples verified, content intentionally deferred, and whether any live hardware, local configuration, generated data, or virtual environment was touched. Omit feedback back-and-forth and discarded alternatives unless they affect a remaining decision or risk.

04 同仓库更多 Skills