From document-generator
Audit existing README.md compliance with standards without making changes
npx claudepluginhub bradleyboehmke/brads-marketplace --plugin document-generator# Validate README ## Activated Agent **Activate**: `readme-author` agent The agent will audit your README.md against Personal minimal standards. ## Objective Validate existing README.md structure and content against 8-section minimal requirements, identify missing or incomplete sections, and provide actionable recommendations for improvement. ## Command Parameters | Parameter | Options | Default | Description | |-----------|---------|---------|-------------| | `--tier` | `prototype`, `mvp`, `production` | Auto-detect | Project tier to validate against | | `--format` | `console`, `m...
Activate: readme-author agent
The agent will audit your README.md against Personal minimal standards.
Validate existing README.md structure and content against 8-section minimal requirements, identify missing or incomplete sections, and provide actionable recommendations for improvement.
| Parameter | Options | Default | Description |
|---|---|---|---|
--tier | prototype, mvp, production | Auto-detect | Project tier to validate against |
--format | console, markdown | console | Output format (console display vs. report file) |
--output | <path> | ./reports/readme-validation-report.md | Custom report path (requires --format=markdown) |
Examples:
/document-generator:validate-readme # Console output, auto-detect tier
/document-generator:validate-readme --tier=mvp --format=markdown
/document-generator:validate-readme --format=markdown --output=./docs/readme-validation.md
The agent will activate these skills:
readme-standards - minimal README validation criteriareadme-authoring - Reference templates for comparisonThe agent will follow this workflow:
Check if README.md exists:
If README.md not found in current directory:
❌ No README.md found in current directory.
Use `/document-generator:generate-readme` to create one.
Aborting validation.
If README.md exists: Proceed with validation
Agent will detect project tier (if not specified via --tier) and display for user. Validation will use tier-appropriate standards from readme-standards skill.
Read and analyze README.md:
Extract sections - Identify which of the 8 sections are present (with flexible section names):
# {Title} and description)## Description or ## Overview acceptable)## Installation or ## Quick Start)## Documentation section OR links within ## Guides/other sections)## Supporting Components)## Contributing section OR link within ## Documentation/## Guides)## Bugs section OR link within ## Contributing/## Documentation)Check heading hierarchy:
###### headings (keep it minimal)Count sections - Track which required vs. optional sections are present
For each section, validate content:
Title & One-Liner (REQUIRED):
Badges (OPTIONAL, tier-dependent):
Short Description (REQUIRED):
## Description or ## Overview heading present## Business Problem or ## Solution sections acceptable if brief and focusedInstallation (REQUIRED):
## Installation heading presentdocs/setup.md existsDocumentation (REQUIRED):
## Documentation section OR within ## Guides or similar section)adr/ but not linked anywhere: Recommend linkingSupporting Components (OPTIONAL):
Contributing Link (REQUIRED):
## Contributing section OR link within ## Documentation/## Guides)CONTRIBUTING.md if file exists (can be in any section)CONTRIBUTING.md, basic guidance provided somewhere in READMECONTRIBUTING.md exists but not linked anywhere: Recommend linkingCONTRIBUTING.md: Suggest creating oneIssue Reporting (REQUIRED):
## Bugs section OR link within ## Contributing/## Documentation)Check documentation links referenced in README:
Relative links - Verify files exist:
docs/setup.mddocs/architecture.mdadr/CONTRIBUTING.mdExternal links - Note but don't verify (assume valid):
Flag broken links:
❌ Broken link: docs/quickstart.md (file not found)
Scan for documentation not linked in README:
# Check for common doc files
test -f docs/architecture.md && echo "Architecture doc exists"
test -d adr && echo "ADRs exist"
test -f CONTRIBUTING.md && echo "Contributing guide exists"
If documentation exists but not linked:
⚠️ Found documentation not linked in README:
- docs/architecture.md exists but not linked in Documentation section
- adr/ exists (3 ADRs) but not linked
Tier-appropriate validation using readme-standards skill criteria.
Calculate compliance score:
Assign compliance level:
Console format (--format=console, default):
📋 README Validation Report
Project: {Project Name}
Tier: {Detected Tier}
Compliance Level: ✅✅ Standard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ COMPLIANT SECTIONS (5/6 required, 1/2 optional)
1. Title & One-Liner - Clear and descriptive
2. Short Description - Business context included
3. Installation - Simple command with setup link
4. Documentation - 3 resources linked
5. Bugs & Enhancements - Issue tracker linked
ℹ️ OPTIONAL SECTIONS
6. Badges - Not present (MVP tier - recommended)
7. Supporting Components - Not applicable
⚠️ INCOMPLETE SECTIONS (1)
8. Contributing - Section present but CONTRIBUTING.md not linked
→ CONTRIBUTING.md exists at ./CONTRIBUTING.md
→ Add link in Contributing section
❌ MISSING SECTIONS (1)
9. (None)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 RECOMMENDATIONS
Priority 1 (Required):
- Link to CONTRIBUTING.md in Contributing section
Priority 2 (Suggested):
- Add badges (project is MVP tier - version, lifecycle, docs, code style)
- Link to ADRs in Documentation section (3 ADRs found in adr/)
Priority 3 (Optional):
- Create quickstart guide (docs/quickstart.md)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ NEXT STEPS
Run `/document-generator:update-readme` to automatically fix issues.
Markdown format (--format=markdown):
Generate detailed report using structure from readme-standards skill Resources section.
Write to output path (default: ./reports/readme-validation-report.md):
# README Validation Report
**Project**: {Project Name}
**Date**: {Date}
**Tier**: {Detected Tier}
**Compliance Level**: ✅✅ Standard
## Summary
- ✅ 5 of 6 required sections compliant
- ⚠️ 1 section incomplete
- ❌ 0 sections missing
- ℹ️ 1 of 2 optional sections present
## Detailed Assessment
### ✅ Compliant Sections
1. **Title & One-Liner** - Clear and descriptive
- Title: "Customer Segmentation Engine"
- One-liner present and specific
2. **Short Description** - Business context included
- Business problem: Marketing teams need customer segmentation
- Solution: Clustering service for targeted campaigns
- Core functionality described
...
### ⚠️ Incomplete Sections
8. **Contributing** - Section present but incomplete
- Section exists with basic guidance
- CONTRIBUTING.md exists at `./CONTRIBUTING.md` but not linked
- **Recommendation**: Add link to CONTRIBUTING.md
### ❌ Missing Sections
(None)
## Recommendations
### Priority 1 (Required)
- Link to CONTRIBUTING.md in Contributing section
### Priority 2 (Suggested)
- Add badges (MVP tier: version, lifecycle, docs, code style)
- Link to ADRs in Documentation section
### Priority 3 (Optional)
- Create quickstart guide
## Next Steps
Run `/document-generator:update-readme` to automatically fix issues.
Create reports directory if needed:
mkdir -p reports
Confirm report creation:
✓ Validation report saved to ./reports/readme-validation-report.md
Console output - Structured, scannable report with emojis for visual clarity
Markdown report - Detailed, archivable document following structure from readme-standards skill
Using progressive validation from readme-standards skill:
Level 1: Structure (must pass for minimal compliance):
Level 2: Content (standard compliance):
Level 3: Quality (excellent compliance):
README.md not found:
/document-generator:generate-readmeCannot create reports directory:
README.md unreadable:
Validation report should:
/document-generator:generate-readme - Create new README/document-generator:update-readme - Fix identified issues