跳到正文
FunCoding

docs-audit

Assess an existing Box documentation page (docs/user/, docs/design/, or a crate README.md) for accuracy against the code and its tests, placement, and voice, and recommend what to fix. Use before a rewrite, when a page may have drifted from the code, or when asked to "audit this page", "is this page still true", or "what is wrong with this doc".

Star
662
许可证
Apache-2.0
最近提交
2026年12月1日

.agents/skills/docs-audit/SKILL.md

在 GitHub 上查看

Documentation audit

Assess one existing page, and produce a structured assessment with the fixes in priority order.

How this differs from docs-reviewer. The reviewer is a voice gate for a draft. The audit is for a page that already exists: it checks each claim against the code and its tests, finds the gaps, and decides what needs work. Use the audit to decide what to fix. Use the reviewer to decide that a draft can ship.

Inputs

  • Target page: a path in the repository.
  • Context (optional): an issue, a changed behavior, or a concern.

Process

Step 1: Read and classify

Read the page. Classify its guide and its content type. A page that mixes types is itself a finding, and it is the most common structural problem.

Step 2: Accuracy

Follow claim-verification.md. List each claim on the page, and check it against the code and the test that pins it.

The code is the authority. Where the page and the code disagree, the page is wrong. Name the symbol or the test that the page disagrees with. Never recommend a code change to agree with a page.

Check each of these:

  • Each box.toml key, type, and default against the configuration parser.
  • Each CLI verb, flag, and exit code against the argument parser.
  • Each policy action and field against strands-box policy generate-schema.
  • Each binary name against what ships (Cargo.toml, and the staging step in .github/workflows/deploy-box-artifact.yml).
  • A test still pins each claim. A test name on a design page is itself a finding.
  • Each decisions.md anchor still exists, and the decision still says what the page says.
  • Each relative link resolves.
  • Each claim that a test pins is not stated more broadly than the test.

Step 3: Voice

Walk the five layers of voice-guide.md: structure, framing, register, hard constraints, and authenticity. Run .agents/skills/docs-reviewer/check-prose.sh <page> for the mechanical part.

Step 4: Stands alone

Check the list in "Readers that are people and readers that are agents" in the voice guide.

Step 5: Comparison (optional)

Run this step only for a design page about a topic that other sandboxes also document: the architecture, the security model, containment, egress, or credentials. Read one to three pages from comparable projects, for example the gVisor architecture guide, the Firecracker design document, or a coding-agent sandbox's security page. Cite each URL and the date you read it. Give one observation for each of coverage, depth, and structure. Copy structure or coverage only, never voice.

Output format

## Docs audit: <page title>

**Path:** <path>
**Guide and type:** <guide>, <type>
**Verdict:** Strong | Needs work | Significant gaps

| Layer | Score | Key finding |
|---|---|---|
| Structure | ... | ... |
| Framing | ... | ... |
| Register | ... | ... |
| Constraints | ... | <count of hits> |
| Authenticity | ... | ... |

### Accuracy issues

- <The claim, the line, and the symbol or the test it disagrees with.> Or "None found".

### Stands-alone issues

- <Each issue.> Or "Passes".

### Recommended actions

1. <The fix with the highest priority.>
2. ...

### Comparison (if run)

- <One observation per axis, with the source.>

What this skill does not do

  • Rewrite the page. That is docs-writer.
  • Edit any file, or commit.

相似的 Skill

精选

pptx

生成、读取和修改演示文稿,也能合并拆分幻灯片。

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

docx

创建和编辑 Word 文档,支持目录、页码、页眉等排版。

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

pdf

提取文本和表格、合并拆分、填写表单,也能对扫描件做 OCR。

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

doc-coauthoring

按步骤协作撰写技术方案、提案和决策文档,逐轮修改。

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

xlsx

读写 Excel 和 CSV,处理公式、格式、图表与数据清洗。

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

canvas-design

按设计理念生成海报和视觉作品,输出 PNG 或 PDF。

ANanthropics/skills203k近 7 天新增 3,333 个 star