Skill
Community

readme-config

Install
1
Install the plugin
$
npx claudepluginhub metasaver/metasaver-marketplace --plugin core-claude-plugin

Want just this skill?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

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.

Tool Access

This skill uses the workspace's default tool permissions.

Supporting Assets
View in Repository
templates/root-readme-consumer.md.template
templates/root-readme-library.md.template
Skill Content

README.md Configuration Skill

This skill provides README.md templates and validation logic for project documentation following MetaSaver standards based on repository type.

Purpose

Manage README.md documentation to:

  • Provide clear project overview and quick start
  • Follow repository type conventions (library vs consumer)
  • Include required sections and structure
  • Link to detailed documentation
  • Maintain appropriate content length

Usage

This skill is invoked by the readme-agent when:

  • Creating new README.md files at monorepo root
  • Auditing existing README.md documentation
  • Validating README.md against type-specific standards

Templates

Two standard README templates are located at:

templates/root-readme-consumer.md.template
templates/root-readme-library.md.template

Repository Type Detection

Use /skill scope-check if not provided.

Quick Reference: Library = @metasaver/multi-mono, Consumer = all other repos

Standards by Repository Type

TypeTarget LinesRequired SectionsLocation
Consumer75-100Title, Overview, Quick Start, Commands, Docs linksRoot only
Library150-200Title, Packages, Quick Start, Integration, CommandsRoot only

Consumer Repository README Standards

Target: 75-100 lines of focused, essential information

Required Sections

  1. Title with @metasaver scope
# @metasaver/consumer-repo-name

**Architecture:** Multi-mono consumer
  1. Overview section with features
  • Brief project description
  • Key features (3-5 bullet points)
  • Technology stack
  1. Quick Start section
## Quick Start

pnpm setup:all # Install dependencies
docker:up # Start infrastructure
db:migrate # Run migrations
dev # Start development server
  1. Commands section
  • Development commands (dev, build)
  • Database commands (db:migrate, db:seed)
  • Quality commands (lint, test)
  • Docker commands (docker:up, docker:down)
  1. Documentation links
## Documentation

- [Setup Guide](docs/SETUP.md)
- [Development Guide](CLAUDE.md)

Validation

# 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"

Library Repository README Standards

Target: 150-200 lines (flexible based on package count)

Required Sections

  1. Title (@metasaver/multi-mono)
# @metasaver/multi-mono

**Architecture:** Multi-mono producer library
  1. Producer/library role explanation
  • Explain shared package purpose
  • Describe workspace protocol usage
  • Note consumer repository dependencies
  1. Packages section with descriptions
## Packages

### Core Packages

- `@metasaver/package-name` - Brief description

### Shared Packages

- `@metasaver/shared-utils` - Brief description
  1. Quick Start section
## Quick Start

pnpm install # Install dependencies
pnpm build # Build all packages
pnpm test # Run all tests
  1. Integration guide showing workspace:* protocol
## Integration

Add to consumer package.json:

{
"dependencies": {
"@metasaver/package-name": "workspace:\*"
}
}
  1. Commands section
  • Build commands (build, build:packages)
  • Test commands (test, test:watch)
  • Quality commands (lint, type-check)

Validation

# 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"

Best Practices

  1. Root only - README.md belongs at repository root
  2. Consumer: FOCUSED - 75-100 lines with essential info only
  3. Library: FLEXIBLE - As long as needed for package descriptions
  4. Link to detailed docs - README is entry point, docs/ have details
  5. Detect repo type first - Check package.json name for @metasaver scope
  6. Re-audit after changes - Verify compliance

Repository Type Considerations

  • Consumer Repos: Strict enforcement, concise content, quick start emphasis
  • Library Repos: Flexible length, package descriptions, integration guide emphasis
  • All Repos: Must have README.md at root only (not in subdirectories for monorepo root)

Integration

This skill integrates with:

  • Repository type provided via scope parameter. If not provided, use /skill scope-check
  • /skill audit-workflow - Bi-directional comparison workflow
  • /skill remediation-options - Conform/Update/Ignore choices
Stats
Stars0
Forks0
Last CommitDec 16, 2025

Similar Skills