agentleFS
SentryKnown publishergetsentry/sentry-rust/.agents/skills/docs-review/SKILL.md

docs-review

Skill755 starsChanged 6 months agoMITView on GitHub

Narrow docs review for sentry-rust. Flag missed API docs updates after public API changes, and flag inaccurate new or changed documentation. Use for rustdoc, crate README, and public API documentation drift.

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pr-review, code-review and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    pr-review

    Verify the technical accuracy of a vscode-docs pull request against the VS Code source code in microsoft/vscode. Use when reviewing a docs PR for factual correctness: setting names, command IDs, default values, API shapes, keybindings, versioned availability, and described behavior.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 4 projects that use this

  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

  • Other versions30 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 30

    1. storybookjs/storybook★ 92ksame name
    2. metabase/metabase★ 51ksame name
    3. microsoft/vscode-docs★ 6.7ksame name
    4. grafana/tempo★ 5.6ksame name
    5. graphistry/pygraphistry★ 2.6ksame name
    6. perber/leafwiki★ 1.3ksame name
    7. jtenniswood/espcontrol★ 1.2ksame name
    8. Harry-kp/vortix★ 807same name
    9. mintlify/docs★ 469same name
    10. langchain-ai/docs★ 458same name

    20 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 28 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not expand into general docs quality, style, completeness, or architecture review.

    line 24
  2. Distinctive:

    Treat a change as docs-relevant when it affects a public surface users rely on:

    line 28
  3. Distinctive:

    Use the lower severity when the mismatch depends on unproven assumptions.

    line 77
  4. Distinctive:

    If neither Check A nor Check B is clearly satisfied, return no findings.

    line 89
  5. Distinctive:

    Prefer one finding per concrete docs miss or inaccuracy.

    line 93
  6. Distinctive:

    Keep the description short and actionable: what is wrong, and what should be updated.

    line 95
  7. Very specific:

    Put the evidence trace in verification (signatures, doc quotes, feature gates, README paths).

    line 96

“Common” is measured: kept by at least 6 in 10 of the 28 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

Docs Review

Review the current change for documentation drift in the Sentry Rust SDK. Stay inside this narrow scope.

This repository's user-facing API docs are primarily:

  • Rustdoc on public items (///, //!) that publish to docs.rs
  • Crate README.md files generated from crate-level rustdoc via cargo readme / scripts/generate-readme.sh
  • The workspace README.md when it describes crates or public capabilities

Scope

Report only these two classes of issues:

  1. Missed docs update — the change alters user-visible public API or behavior, but docs that should describe it were not updated.
  2. Inaccurate new docs — the change adds or edits documentation that does not match the current code.

Do not expand into general docs quality, style, completeness, or architecture review.

What Counts as Docs-Relevant

Treat a change as docs-relevant when it affects a public surface users rely on:

  • New, removed, renamed, or re-exported public items (pub fn, pub struct, pub enum, pub trait, pub type, pub const, pub static, public modules)
  • Changed public signatures, generics, lifetimes, or trait bounds
  • Changed defaults, feature-flag gating, or builder/option semantics that docs describe
  • Changed panic, error, or return behavior that existing docs claim
  • New or edited rustdoc / README text

Private helpers, test-only APIs, and internal refactors with no public contract change are out of scope unless the diff itself adds inaccurate docs.

Review Process

  1. Identify what the hunk changes: code, docs, or both.
  2. Determine the public contract from signatures, nearby rustdoc, feature gates, and related README text.
  3. Apply the matching check below.
  4. Cross-check with nearby unchanged docs only as needed to verify accuracy or confirm a miss. Do not audit untouched docs.

Check A: Missed Docs Update

Report when the code change clearly requires a docs update and the matching docs were not updated in this change set.

Typical misses:

  • New public API with no rustdoc (or only a placeholder that does not describe behavior)
  • Changed signature, default, feature gate, or behavior while rustdoc still describes the old contract
  • Public API added/removed/renamed while crate or workspace README still lists the old surface
  • Crate-level rustdoc (//!) changed in a way that should regenerate README.md, but the generated README was left stale

For README staleness, remember crate READMEs are generated from rustdoc. If lib.rs module docs changed and README.md still reflects the previous text, report that.

Check B: Inaccurate New or Changed Docs

Report when added or edited docs are wrong relative to the current code.

Typical inaccuracies:

  • Docs describe parameters, return values, defaults, or feature flags that do not match the implementation
  • Examples in rustdoc or README do not compile against the current public API, or demonstrate removed/renamed APIs
  • Docs claim behavior the code does not implement (or omit a critical restriction the code enforces, such as a required feature flag)
  • Links or intra-doc references point at removed items or incorrect paths

Severity

LevelUse for
highPublic docs that are affirmatively wrong about safety-critical behavior, defaults that change telemetry/privacy, or removed APIs still documented as available
mediumClear missed docs update for a public API change, or inaccurate docs that would mislead normal API usage
lowNarrow inaccuracy with limited blast radius, or a missed docs touch-up that does not leave the old contract actively wrong

Use the lower severity when the mismatch depends on unproven assumptions.

What Not To Report

  • Private item docs, internal comments, or test comments
  • Style, tone, grammar, formatting, or rustdoc convention nits
  • Missing examples, missing # Errors / # Panics sections, or "docs could be richer" suggestions
  • Changelog wording, unless the changed changelog text itself misstates the public API
  • Exhaustive coverage audits of unchanged public APIs
  • Speculative doc needs for refactors with no public contract change
  • Generated/vendored noise unrelated to user-facing API docs

If neither Check A nor Check B is clearly satisfied, return no findings.

Finding Guidance

  • Prefer one finding per concrete docs miss or inaccuracy.
  • Anchor the finding to a changed line in the hunk. If the stale docs live elsewhere, say where in the description and still anchor to the changed public API or doc line that proves the mismatch.
  • Keep the description short and actionable: what is wrong, and what should be updated.
  • Put the evidence trace in verification (signatures, doc quotes, feature gates, README paths).

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.