agentleFS
mintlifymintlify/docs/.agents/skills/docs-review/SKILL.md

docs-review

Skill465 starsChanged 9 days agoMITView on GitHub

Review and edit Mintlify documentation against the house style guide in style-guide/. Use when reviewing a docs diff or pull request, before handing back a draft you wrote, or when asked to check a page for style. Covers the order to review in, the checks Vale can't do, and how to report changes.

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use code-review.

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.
  • 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 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check every fact against the product, not against other docs pages, because other pages can be out of date:

    line 14
  2. Very specific:

    Behavior claims: Read the code path before you describe what the product does.

    line 17
  3. Distinctive:

    If you can't verify a fact, list it under areas of uncertainty in your report.

    line 19
  4. Very specific:

    Lint: If you have a shell, run vale on the changed files, mint broken-links, and mint a11y.

    line 25
  5. Distinctive:

    Apply the findings: If the person you're working with wrote or edited prose in this conversation, don't change their sentences.

    line 30
  6. Distinctive:

    Before you hand the page back, check it for every mistake you've already been corrected on, including corrections earlier in the …

    line 33

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

style-guide/ holds the rules for this repo's docs. This skill doesn't repeat them. It describes the order to apply them in.

Before you review anything, read style-guide/README.md and every file it lists. Don't work from memory of the guide or a summary of it. If you don't have a local checkout, read the files from the mintlify project with the Mintlify Admin MCP read tool.

Check facts against the product

Check every fact against the product, not against other docs pages, because other pages can be out of date:

  • UI steps: Take button, tab, and field names and the order of screens from the product or its frontend source.
  • Behavior claims: Read the code path before you describe what the product does. If another docs page contradicts the code, find out why before you edit either page.

If you can't verify a fact, list it under areas of uncertainty in your report. Never guess.

Review order

Review your own drafts the same way you review anyone else's. Cut first, then check the structure, then the sentences. Rewriting a sentence is wasted work if the sentence shouldn't be on the page.

  1. Lint. If you have a shell, run vale on the changed files, mint broken-links, and mint a11y. If you don't, fix any validation errors your edits return. Either way, a clean run doesn't mean the page follows the guide.
  2. Cut what the reader won't act on. Read the page one paragraph at a time and apply "Leave out what the reader won't act on" in style-guide/content-strategy.md. Apply it to existing content, other people's content, and your own draft. No other step catches this, and restructuring a sentence that should be cut makes the page longer.
  3. Check the structure against style-guide/content-strategy.md: page structure, prerequisites, where content goes, and duplication.
  4. Check every sentence against style-guide/voice-and-tone.md. Take the "Clear sentences" rules one heading at a time, and check every sentence on the page against that rule before you move to the next one. Then check "Phrases to cut" and "AI-writing tells."
  5. Check formatting and components against style-guide/formatting-and-components.md and terms against style-guide/word-list.md.
  6. Apply the findings. If the person you're working with wrote or edited prose in this conversation, don't change their sentences. Report those findings and ask once whether to apply them.
  7. Review the edited page again from the top, steps 1 to 5. Your edits create new problems. For example, turning a paragraph into a list can leave several short paragraphs in a row.

Before you hand the page back, check it for every mistake you've already been corrected on, including corrections earlier in the conversation.

Report

List one change per line, grouped by file:

  • The location as path/to/file.mdx:12.
  • The rule the change fixes.
  • The text before and after the change, or "cut" for a step 2 finding.

Include the fixes from step 7, then list areas of uncertainty.

When Vale is wrong

Narrow or fix the Vale rule in .vale/styles/Mintlify/ rather than rewriting correct prose to satisfy it. To turn off a rule for one line, wrap the line in {/* vale Mintlify.RuleName = NO */} and {/* vale Mintlify.RuleName = YES */}. Never turn off a rule for a whole page to hide problems.

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.