agentleFS
strands-agentsstrands-agents/harness-sdk/.agents/skills/docs-audit/SKILL.md

docs-audit

Skill8.7k starsChanged 2 months agoApache-2.0View on GitHub

Assess a published or in-progress documentation page for quality, accuracy, and voice compliance. Use before rewriting a page, during periodic health checks, when community signals point to confusion, or when comparing against competitor docs. Also triggers on "audit this page", "assess the docs", "what's wrong with this page", "check docs quality", "review this doc page".

4 other projects use a version of this.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 5 mentionsJul 2026: 3 mentionsAug 2026: 8 mentionsSep 2026: 23 mentionsOct 2026: 12 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the strands-agents/harness-sdk repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about strands-agents/harness-sdk

The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 51

Talked about on GitHub and Bluesky (51 times).

On GitHub · 47

42 more on GitHub

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before rewriting a doc page (understand current state first)

    line 14
  2. Distinctive:

    When community signals point to confusion around a topic

    line 15
  3. Distinctive:

    When comparing Strands docs to competitor docs on the same topic

    line 17
  4. Distinctive:

    Content type: If known. If not, classify it first.

    line 22
  5. Very specific:

    Read the source file from site/src/content/docs/ in this repo.

    line 29
  6. Very specific:

    Follow the verification procedure in ../../references/code-verification.md.

    line 45
  7. Distinctive:

    Do import statements reference current package names and module paths?

    line 51
  8. Distinctive:

    When to run: Only on conceptual or how-to pages covering tasks other agent frameworks also address (agents, tools, hooks, sessions, …

    line 67
  9. Distinctive:

    Don't imitate voice; only adopt structure or coverage.

    line 74
  10. Distinctive:

    Does not rewrite the page (use docs-writer for that)

    line 112
  11. Distinctive:

    Does not commit changes

    line 113
  12. Distinctive:

    Does not modify the docs repo

    line 114

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Documentation Audit

Assess an existing documentation page. Produces a structured assessment with specific improvement recommendations.

How this differs from docs-reviewer: The docs-reviewer is a voice/style gate for drafts in progress (runs at the end of docs-writer). The docs-audit is an assessment tool for published pages: it checks accuracy against SDK source, identifies content gaps, and optionally compares against competitor docs. Use docs-audit to decide what needs work; use docs-reviewer to verify that a draft is ready to ship.

When to Use

  • Before rewriting a doc page (understand current state first)
  • When community signals point to confusion around a topic
  • During periodic docs health checks
  • When comparing Strands docs to competitor docs on the same topic

Inputs

  • Target page: File path in site/src/content/docs/ or published URL
  • Content type: If known. If not, classify it first.
  • Context (optional): Community signals, GitHub issues, or specific concerns

Process

Step 1: Fetch and classify

Read the source file from site/src/content/docs/ in this repo. If you need the published version and have web access, fetch from strandsagents.com.

Classify the content type (tutorial, howto, reference, explanation, mixed). Note: "mixed" is itself a finding. Pages that mix types are the most common structural problem.

Step 2: Voice stack review

Walk through each layer of the voice stack defined in ../../references/voice-guide.md against this page:

  1. Structure — Does each section answer exactly one question? Are there sections that mix concerns?
  2. Framing — Do section openings lead with the developer's goal, or with API descriptions?
  3. Register — Does the tone match the content type? Flag tutorial/reference mismatches.
  4. Hard constraints — Check for banned phrases, passive voice, hedging, terminology violations.
  5. Authenticity — Does the page have structural variety and visible editorial choices?

Step 3: Accuracy check

Follow the verification procedure in ../../references/code-verification.md. Check imports, parameter names, types, defaults, and method signatures against SDK source.

The SDK source is the source of truth. Where the docs page contradicts the source, the docs are wrong by definition — flag the inconsistency under Accuracy Issues with the file/line in the SDK that the docs disagree with. Never reconcile in the other direction (do not "update" the source to match a docs claim).

Specific checks:

  • Are code examples using current API signatures?
  • Do import statements reference current package names and module paths?
  • Are parameter names and types correct against the latest SDK source?
  • Are any documented features deprecated or removed?
  • Are internal cross-reference links working?
  • Snippet file conventions: TypeScript code must live in sibling .ts snippet files (included via --8<--), never inlined in MDX. Each TypeScript fence should include both an imports snippet (_imports.ts) and a body snippet so the rendered block is self-contained. Verify that each --8<-- "path:region" directive references a real file with a matching [start:region]/[end:region] pair. Flag inlined TypeScript or missing imports includes as structural issues.

Step 4: AI-readability check

  • Is the page self-contained? (Could an AI assistant use this page alone?)
  • Is essential context at the top?
  • Is inline code properly formatted with backticks?
  • Is terminology consistent with the terminology lock?
  • Are language-specific identifiers in shared prose using the <Syntax> component rather than being spelled out manually with language labels?

Step 5: Competitive comparison (optional)

When to run. Only on conceptual or how-to pages covering tasks other agent frameworks also address (agents, tools, hooks, sessions, streaming, multi-agent, structured output). Skip for Strands-internal architecture, reference/API, and governance pages.

How.

  1. Fetch 1–3 relevant comparator pages via web access (cite URL + access date in the report).
  2. Compare on three axes — coverage, depth, voice — one observation per axis.
  3. Output one-line gaps under ### Competitive Notes: "Add [topic] — comparators X, Y cover it; we don't."

Don't imitate voice; only adopt structure or coverage. If a comparator does something we shouldn't (hype, non-deterministic shown as deterministic), note it so future audits don't drift toward it.

Output Format

## Docs Audit: [Page Title]

**URL:** [published URL or file path]
**Content type:** [classified type]
**Overall verdict:** [Strong / Needs work / Significant gaps]

### Voice Stack Assessment

| Layer | Score | Key Finding |
|-------|-------|-------------|
| Structure | /warning/x | [one-line finding] |
| Framing | /warning/x | [one-line finding] |
| Register | /warning/x | [one-line finding] |
| Constraints | /warning/x | [count of violations] |
| Authenticity | /warning/x | [one-line finding] |

### Accuracy Issues
- [list specific inaccuracies found, or "None detected"]

### AI-Readability Issues
- [list specific issues, or "Passes all checks"]

### Recommended Actions
1. [Highest priority fix]
2. [Second priority]
3. [Third priority]

### Competitive Notes (if checked)
- [observations from competitor comparison]

What This Skill Does NOT Do

  • Does not rewrite the page (use docs-writer for that)
  • Does not commit changes
  • Does not modify the docs repo

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.