Standards and guidelines for organizing, structuring, and maintaining documentation in the PRPM repository - ensures consistency across user docs, development docs, and internal references
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 troubleshootingAudience: PRPM contributors, maintainers, CI/CD systems
Purpose: Documentation for PRPM users and package authors
Location: docs/ (at project root)
Files:
Audience: PRPM end users, package authors, integrators
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 plansAudience: Everyone (first impression)
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 fileSubdirectories:
prpm-development/ - PRPM-specific development knowledgeself-improving/ - Self-improvement patternsthoroughness/ - Thoroughness and quality guidelinesAudience: AI assistants (Claude, etc.)
✅ 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
✅ 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
✅ Specialized knowledge for AI assistants ✅ Domain-specific best practices ✅ Troubleshooting patterns ✅ Code review guidelines ✅ Project-specific conventions
❌ General documentation ❌ User guides ❌ API references
# 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)
Internal → Internal:
See [Publishing Guide](./PUBLISHING.md)
Internal → User:
See [User Guide](../../docs/user-guide.md)
When reorganizing 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 docs
docs/development/docs/ if needed| 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 |
# Check markdown
markdownlint docs/
# Check links
markdown-link-check docs/**/*.md
cd docs/
npm run build
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.md
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/location
Last Updated: 2025-10-21 Applies To: PRPM v2+ Review Date: 2026-01-21