README.md documentation templates and validation logic for MetaSaver monorepos. Includes repository type detection (library vs consumer), required sections (Title, Description, Installation, Usage, Scripts), and line count guidance (consumer 75-100 lines, library 150-200 lines). Use when creating or auditing README.md files at monorepo root.
Generates and validates README.md files for MetaSaver monorepos based on repository type. Automatically detects whether a repo is a library or consumer and applies the appropriate template with required sections and line-count guidance.
/plugin marketplace add metasaver/claude-marketplace/plugin install core-claude-plugin@metasaver-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
templates/root-readme-consumer.md.templatetemplates/root-readme-library.md.templateThis skill provides README.md templates and validation logic for project documentation following MetaSaver standards based on repository type.
Manage README.md documentation to:
This skill is invoked by the readme-agent when:
Two standard README templates are located at:
templates/root-readme-consumer.md.template
templates/root-readme-library.md.template
Use /skill scope-check if not provided.
Quick Reference: Library = @metasaver/multi-mono, Consumer = all other repos
| Type | Target Lines | Required Sections | Location |
|---|---|---|---|
| Consumer | 75-100 | Title, Overview, Quick Start, Commands, Docs links | Root only |
| Library | 150-200 | Title, Packages, Quick Start, Integration, Commands | Root only |
Target: 75-100 lines of focused, essential information
# @metasaver/consumer-repo-name
**Architecture:** Multi-mono consumer
## Quick Start
pnpm setup:all # Install dependencies
docker:up # Start infrastructure
db:migrate # Run migrations
dev # Start development server
## Documentation
- [Setup Guide](docs/SETUP.md)
- [Development Guide](CLAUDE.md)
# Check title with @metasaver scope
grep -q "# @metasaver/" README.md || echo "VIOLATION: Missing @metasaver scope in title"
# Check architecture line
grep -q "Architecture.*consumer" README.md || echo "VIOLATION: Missing architecture identifier"
# Check required sections
grep -q "## Overview" README.md || echo "VIOLATION: Missing Overview section"
grep -q "## Quick Start" README.md || echo "VIOLATION: Missing Quick Start section"
grep -q "## Commands" README.md || echo "VIOLATION: Missing Commands section"
# Check documentation links
grep -q "SETUP.md" README.md || echo "VIOLATION: Missing SETUP.md link"
grep -q "CLAUDE.md" README.md || echo "VIOLATION: Missing CLAUDE.md link"
# Check line count (guidance, not strict)
LINE_COUNT=$(wc -l < README.md)
[ $LINE_COUNT -gt 120 ] && echo "WARNING: README.md exceeds 100 lines ($LINE_COUNT lines) - consider condensing"
Target: 150-200 lines (flexible based on package count)
# @metasaver/multi-mono
**Architecture:** Multi-mono producer library
## Packages
### Core Packages
- `@metasaver/package-name` - Brief description
### Shared Packages
- `@metasaver/shared-utils` - Brief description
## Quick Start
pnpm install # Install dependencies
pnpm build # Build all packages
pnpm test # Run all tests
## Integration
Add to consumer package.json:
{
"dependencies": {
"@metasaver/package-name": "workspace:\*"
}
}
# Check title
grep -q "# @metasaver/multi-mono" README.md || echo "VIOLATION: Missing library title"
# Check architecture line
grep -q "Architecture.*producer" README.md || echo "VIOLATION: Missing architecture identifier"
# Check required sections
grep -q "## Packages" README.md || echo "VIOLATION: Missing Packages section"
grep -q "## Quick Start" README.md || echo "VIOLATION: Missing Quick Start section"
grep -q "## Integration" README.md || echo "VIOLATION: Missing Integration section"
grep -q "workspace:\*" README.md || echo "VIOLATION: Missing workspace protocol example"
# Line count is flexible for libraries (depends on package count)
LINE_COUNT=$(wc -l < README.md)
[ $LINE_COUNT -lt 100 ] && echo "WARNING: README.md may be too brief ($LINE_COUNT lines) for library repo"
This skill integrates with:
scope parameter. If not provided, use /skill scope-check/skill audit-workflow - Bi-directional comparison workflow/skill remediation-options - Conform/Update/Ignore choices