documentation-standards
Skill122 starsChanged 9 months agoMITView on GitHub
Standards and guidelines for organizing, structuring, and maintaining documentation in the PRPM repository - ensures consistency across user docs, development docs, and internal references
3 other projects use a version of this.
Adopted by
Most recently taken up by
- BhangeeF16/kaizentheir own version, first seen Jul 24, 2026
- luisabwk/krakentheir own version, first seen Mar 11, 2026
- Hack23/European-Parliament-MCP-Servertheir own version, first seen Feb 16, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Hack23/European-Parliament-MCP-Server★ 28same name
- luisabwk/kraken★ 1same name
- BhangeeF16/kaizen★ 0same name
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 repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- beanstalk-deployCursor rule
- .cursor/rules/core-principles.mdcCursor rule
- .cursor/rules/creating-agents-md.mdcCursor rule
- .cursor/rules/creating-claude-agents.mdCursor rule
- .cursor/rules/creating-claude-commands.mdCursor rule
- .cursor/rules/creating-claude-hooks.mdCursor rule
- .cursor/rules/creating-continue-packages.mdCursor rule
- .cursor/rules/creating-copilot-packages.mdCursor rule
- .cursor/rules/creating-cursor-commands.mdCursor rule
- .cursor/rules/creating-cursor-rules.mdcCursor rule
- .cursor/rules/creating-kiro-agents.mdcCursor rule
- .cursor/rules/creating-kiro-packages.mdCursor rule
- .cursor/rules/creating-skills.mdcCursor rule
- .cursor/rules/creating-windsurf-packages.mdCursor rule
- .cursor/rules/elastic-beanstalk-deployment.mdCursor rule
- .cursor/rules/format-conversion.mdcCursor rule
- .cursor/rules/github-actions-testing.mdcCursor rule
- .cursor/rules/karen-repo-reviewer.mdcCursor rule
- .cursor/rules/prpm-json-best-practices.mdcCursor rule
- .cursor/rules/self-improve-cursor.mdcCursor rule
- .cursor/rules/testing-patterns.mdcCursor rule
- .cursor/rules/typescript-type-safety.mdcCursor rule
- .cursor/rules/typescript-type-specialist.mdcCursor rule
- creating-agent-skillsSkill
- adding-new-ai-formatSkill
- agent-builderSkill
- aws-beanstalk-expertSkill
- beanstalk-deploySkill
- claude-hook-writerSkill
- creating-agents-mdSkill
- creating-claude-agentsSkill
- creating-claude-commandsSkill
- creating-claude-hooksSkill
- creating-claude-rulesSkill
- creating-continue-packagesSkill
- creating-copilot-packagesSkill
- creating-cursor-commandsSkill
- creating-cursor-rules-skillSkill
- creating-kiro-agentsSkill
- creating-kiro-packagesSkill
- creating-opencode-agentsSkill
- creating-opencode-pluginsSkill
- creating-skillsSkill
- creating-windsurf-packagesSkill
- creating-zed-extensionsSkill
- elastic-beanstalk-deploymentSkill
- github-actions-testingSkill
- human-writingSkill
- integrating-stripe-webhooksSkill
- karen-repo-reviewerSkill
- npm-trusted-publishingSkill
- osgrepSkill
- postgres-migrationsSkill
- prpm-developmentSkill
- prpm-json-best-practicesSkill
- pulumi-troubleshootingSkill
- self-improvingSkill
- slash-command-builderSkill
- The first 60 shown.
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 3 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
- Distinctive: line 120
Use clear, descriptive filenames (kebab-case)
- Distinctive: line 122
Use proper heading hierarchy (# → ## → ###)
- Distinctive: line 124
Add frontmatter if using a static site generator
- Distinctive: line 153
Use relative paths for links
- Distinctive: line 154
Keep links within same category when possible
- Distinctive: line 155
Update links when moving files
- Distinctive: line 207
Update examples to use latest version
- Distinctive: line 208
Check for broken links
- Very specific: line 211
Update relevant user docs in docs/
- Very specific: line 212
Update internal docs in development/docs/ if needed
- Distinctive: line 217
Add deprecation notice to docs
- Distinctive: line 219
Keep docs until feature is removed
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
PRPM Documentation Standards
Documentation Organization
Internal Documentation (development/docs/)
Purpose: Documentation for developers working on PRPM itself
Location: development/docs/
Files:
GITHUB_WORKFLOWS.md- GitHub Actions workflows referencePUBLISHING.md- NPM package publishing process and orderDEVELOPMENT.md- Development setup, environment, and workflowsDOCKER.md- Docker setup, services, and troubleshooting
Audience: PRPM contributors, maintainers, CI/CD systems
User-Facing Documentation (docs/)
Purpose: Documentation for PRPM users and package authors
Location: docs/ (at project root)
Files:
- User guides
- API documentation
- Package authoring guides
- CLI command reference
- Examples and tutorials
Audience: PRPM end users, package authors, integrators
Project-Level Documentation (root)
Purpose: Standard project files that belong at repository root
Location: Project root /
Files:
README.md- Project overview, quick start, installationCONTRIBUTING.md- Contribution guidelinesCHANGELOG.md- Version history and changesLICENSE- License informationROADMAP.md- Project roadmap and future plans
Audience: Everyone (first impression)
Claude Skills (.claude/skills/)
Purpose: Knowledge base and reference materials for AI assistants
Location: .claude/skills/
Files:
postgres-migrations-skill.md- PostgreSQL migrations guidancepulumi-troubleshooting-skill.md- Pulumi troubleshootingNEW_SKILLS.md- How to create new skillsdocumentation-standards.md- This file
Subdirectories:
prpm-development/- PRPM-specific development knowledgeself-improving/- Self-improvement patternsthoroughness/- Thoroughness and quality guidelines
Audience: AI assistants (Claude, etc.)
Rules for Documentation Placement
When to use development/docs/
✅ GitHub Actions workflows and CI/CD ✅ Internal build/release processes ✅ Development environment setup ✅ Architecture decision records ✅ Internal troubleshooting guides ✅ Database schema documentation ✅ Infrastructure documentation
❌ User-facing tutorials ❌ CLI usage guides ❌ API reference for end users
When to use docs/
✅ User guides and tutorials ✅ CLI command reference ✅ Package authoring guides ✅ API documentation for users ✅ Integration examples ✅ FAQ for users
❌ Internal development workflows ❌ CI/CD documentation ❌ Build/release processes
When to use .claude/skills/
✅ Specialized knowledge for AI assistants ✅ Domain-specific best practices ✅ Troubleshooting patterns ✅ Code review guidelines ✅ Project-specific conventions
❌ General documentation ❌ User guides ❌ API references
Documentation Standards
Markdown Files
- Use clear, descriptive filenames (kebab-case)
- Include table of contents for docs > 200 lines
- Use proper heading hierarchy (# → ## → ###)
- Include code examples with syntax highlighting
- Add frontmatter if using a static site generator
Example Structure
# Title
Brief description (1-2 sentences)
## Table of Contents
- [Section 1](#section-1)
- [Section 2](#section-2)
## Section 1
Content...
### Subsection 1.1
Details...
## Examples
\`\`\`bash
# Example command
prpm install @username/package-name
\`\`\`
## See Also
- [Related Doc](./related.md)Cross-References
- Use relative paths for links
- Keep links within same category when possible
- Update links when moving files
Internal → Internal:
See [Publishing Guide](./PUBLISHING.md)Internal → User:
See [User Guide](../../docs/user-guide.md)Migration Checklist
When reorganizing documentation:
- ✅ Move file to correct location
- ✅ Update all references to moved file
- ✅ Update README.md links if needed
- ✅ Update .gitignore if needed
- ✅ Test that all links work
- ✅ Commit with clear message explaining move
Package-Specific Documentation
Each package should have its own README:
packages/
├── cli/
│ └── README.md # CLI package overview
├── registry/
│ └── README.md # Registry server docs
├── registry-client/
│ └── README.md # Client library docs
├── types/
│ └── README.md # Type definitions docs
└── webapp/
└── README.md # WebApp docsMaintenance
Regular Reviews
- Quarterly review of docs/ for accuracy
- Remove outdated documentation
- Update examples to use latest version
- Check for broken links
When Adding Features
- Update relevant user docs in
docs/ - Update internal docs in
development/docs/if needed - Add examples
- Update CHANGELOG.md
When Deprecating Features
- Add deprecation notice to docs
- Provide migration guide
- Keep docs until feature is removed
- Update CHANGELOG.md
Quick Reference
| Documentation Type | Location | Audience | Examples |
| Internal Dev | development/docs/ | Contributors | CI/CD, publishing |
| User-Facing | docs/ | Users | Guides, tutorials |
| Project Root | / | Everyone | README, LICENSE |
| AI Skills | .claude/skills/ | AI assistants | Troubleshooting |
| Package Docs | packages/*/README.md | Package users | API reference |
Tools
Documentation Generators
- TypeDoc - For TypeScript API docs (future)
- VitePress or Docusaurus - For docs/ site (future)
Linting
# Check markdown
markdownlint docs/
# Check links
markdown-link-check docs/**/*.mdBuilding Docs Site (Future)
cd docs/
npm run buildExamples
Good Documentation Structure
prpm/
├── README.md # Project overview
├── CONTRIBUTING.md # How to contribute
├── CHANGELOG.md # Version history
├── ROADMAP.md # Future plans
├── development/
│ └── docs/
│ ├── GITHUB_WORKFLOWS.md # CI/CD reference
│ ├── PUBLISHING.md # Release process
│ ├── DEVELOPMENT.md # Dev setup
│ └── DOCKER.md # Services setup
├── docs/
│ ├── getting-started.md # User onboarding
│ ├── cli-reference.md # Command reference
│ ├── package-authoring.md # Creating packages
│ └── api/
│ └── registry-client.md # API docs
└── .claude/
└── skills/
├── documentation-standards.md
├── postgres-migrations-skill.md
└── pulumi-troubleshooting-skill.mdBad Documentation Structure ❌
prpm/
├── README.md
├── WORKFLOWS.md # Should be in development/docs/
├── USER_GUIDE.md # Should be in docs/
├── dev-setup.md # Should be in development/docs/
└── troubleshooting.md # Unclear audience/locationVersion
Last Updated: 2025-10-21 Applies To: PRPM v2+ Review Date: 2026-01-21
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.

