reviewing-documentation
Skill128 starsChanged 7 months agoMITView on GitHub
Provides documentation audit checklists and quality standards. Use when reviewing README files, SKILL.md files, agent definitions, copilot-instructions.md, or ARCHITECTURE-FLOW.md for quality and consistency.
In this repository20 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- committing-codeSkill
- deploying-to-azureSkill
- implementing-chat-streamingSkill
- planning-featuresSkill
- researching-azure-ai-sdkSkill
- syncing-mcp-serversSkill
- testing-cli-compatibilitySkill
- testing-with-playwrightSkill
- triaging-issuesSkill
- troubleshooting-authenticationSkill
- understanding-architectureSkill
- validating-deploymentsSkill
- validating-local-setupSkill
- validating-ui-featuresSkill
- writing-bicep-templatesSkill
- writing-csharp-codeSkill
- writing-typescript-codeSkill
- writing-unit-tests-csharpSkill
- writing-unit-tests-typescriptSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 72
All documentation must state how things work now, not history or rationale for past changes.
- Distinctive: line 91
If a version matters for API compatibility, state the minimum version and why
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Review Guidance
Audit, improve, and maintain documentation quality across the repository. Search for doc files — don't rely on hardcoded paths.
Architecture Maintenance
For ARCHITECTURE-FLOW.md updates, load .github/skills/understanding-architecture/SKILL.md first — it has validation commands and source-of-truth mappings.
SKILL.md Quality Gates
Naming rules (agentskills.io spec):
- ✅
writing-csharp-code(lowercase, hyphens, max 64 chars) - ❌
WritingCSharpCode|writing--csharp|-writing-code
Required frontmatter: name (must match directory name), description (must explain WHAT and WHEN, max 1024 chars)
Body must include: goal statement, practical code examples, common mistakes, related skill cross-references.
.agent.md Quality Gates
Required frontmatter: name, description, argument-hint, tools, model
Verify: handoffs reference valid agent name values from other agent files.
copilot-instructions.md
Loads on every request — keep it lean. Must have: architecture quick reference, dev commands, agents table, skills table.
Audit Checklists
ARCHITECTURE-FLOW.md
- Mermaid diagrams render without syntax errors
- State machines match
appState.tstype definitions - SSE events match
Program.csWrite*Event methods - Actions match
AppActiontype union
README.md
- Quick start works for new users
- Commands table is accurate
- Links to sub-READMEs resolve
Skills & Agents
- Valid YAML frontmatter on all files
- SDK versions in examples match
*.csproj/package.json - Cross-references between skills are valid
Cross-Document Consistency
- Architecture tables match across all docs
- Port numbers consistent (5173, 8080)
- SDK versions match actual dependencies
Review Output Format
For each document reviewed:
Document: path/to/file.md — ✅ Good | ⚠️ Needs Improvement | ❌ Broken
Issues: numbered list with suggested fixes
Cross-Reference Issues: broken links, version mismatches
Content Quality Rules
All documentation must state how things work now, not history or rationale for past changes.
Must NOT contain
- Version numbers in prose — reference
*.csprojorpackage.jsoninstead. Hardcoded versions go stale silently. - Issue/PR tracker links — these are PR artifacts, not reference docs. Exception: links to external tracking if explicitly requested.
- Duplicate information — if a fact is stated in one section, don't restate it in another. Cross-reference instead.
- Narrative or history — "we changed X because Y happened" belongs in commit messages, not docs. State the current behavior.
- "Fallback" or "automatic" language for mutually exclusive paths — if two modes are mutually exclusive, say so explicitly. Don't imply graceful degradation that doesn't exist.
- Stale comments —
// TODO (if added)when the thing exists,// backward compatwithout explaining what it's compatible with.
Must contain (for AI agent effectiveness)
- Non-obvious constraints — things an AI agent would get wrong by reading only the code (e.g., "consent to Azure ML Services, not Cognitive Services")
- Mutually exclusive choices — state which modes exist and that they don't mix
- Error signatures — what error an AI agent will see if it does the wrong thing (e.g.,
AADSTS65001,AADSTS500131) - File-to-concept mapping — which file controls which behavior, so agents don't search blindly
Package/SDK version references
- Tables with versions: remove the version column, point to source of truth
- Prose references: say "pre-release" or "beta" without specific version numbers
- If a version matters for API compatibility, state the minimum version and why
Style Rules
- Code blocks: always include language identifier (
```typescriptnot```) - Links: relative paths for internal, absolute for external
- Tables: consistent column widths
Constraints
- ❌ Don't change code (only docs)
- ❌ Don't invent features not in codebase
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
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.

