Skip to content
Agentmart
Submit a tool

doc-consistency

Normalizes documentation and examples for consistency in style, format, and accuracy.

Skill by Andrew G. Brown (https://github.com/brownag)

IndexedMIT★ 7
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/andrewbrown-usda-doc-consistency

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Normalizes documentation and examples for consistency in style, format, and accuracy. Ensures code matches existing patterns and documentation. Use when reviewing docs, examples, or writing new code that should follow established patterns.

Use cases: documents, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/doc-consistency

What's inside

Skill name
doc-consistency
Description
Normalizes documentation and examples for consistency in style, format, and accuracy. Ensures code matches existing patterns and documentation. Use when reviewing docs, examples, or writing new code that should follow established patterns.
License
MIT
Metadata
author: Andrew G. Brown (https://github.com/brownag) · version: 1 · source_path: skills/doc-consistency/SKILL.md · source_repo: aigb-skills
Instructions
54 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Doc Consistency

## Instructions

### When Cleaning Existing Code/Docs
1. Run `git diff main...HEAD` (or ask which files to inspect).
2. Scan for these patterns:
   - Inconsistent docstring format (some have `@param`, some don't; some have `@returns`, some use prose).
   - Code examples that don't match the current API (outdated signatures, removed params, wrong imports).
   - Inconsistent example style (some use real values, some use placeholders like `xxx`; some include types, some don't).
   - README or docs sections that repeat information already obvious from code or other sections.
   - Mixed heading styles, list styles, or code block language tags across related docs.
   - Examples with hardcoded values that should be illustrative.
3. Normalize to the project's existing conventions. When no convention exists, pick one style and apply it consistently.
4. Preserve all substantive documentation. When in doubt, leave it.
5. Provide a 1-3 sentence summary of what was normalized.

### When Writing New Code
1. Scan `docs/examples/` or `blueprints/` for structurally identical modules before writing. Match their structure, error handling patterns, and naming conventions.
2. If a function signature or config changes, update the corresponding docs in the same turn.
3. Never invent patterns not shown in reference files -- ask the user for a structural rule instead.

## Example

**Before:**
````markdown
## Usage

Install the package:
```
npm i my-lib
```

Then use it:
```js
const x = require('my-lib');
const result = x.doThing('abc123xyz', 42, true);
```
````

**After:**
````markdown
## Usage

```bash
npm install my-lib
```

```ts
import { doThing } from 'my-lib';
doThing(input, options);
```
````

From AndrewBrown-USDA/aigb-skills-usda, MIT.

More from AndrewBrown-USDA/aigb-skills-usda

Signals

Stars
7
Forks
4
Open issues
1
Last commit (this folder)
Oct 2, 2026 (27 days ago)
Last release
Oct 23, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Andrew G. Brown (https://github.com/brownag)

Cite this page

doc-consistency skill. Agent Mart. https://agentmart.dev/skills/andrewbrown-usda-doc-consistency (last updated 2026-10-24)