A comprehensive CQA 2.1 (Content Quality Assessment) skill for auditing Red Hat technical documentation with automated batch processing and full repository support.
You need to have:
- Claude Code installed and configured
- Your product-specific OPL PDF ready
- File name format:
OPL-<ProductName>.pdf - Examples:
OPL-OpenShift.pdf,OPL-RHEL.pdf,OPL-Ansible.pdf
- File name format:
Don't have your product OPL? The installation will work, but product name validation will be incomplete. Get your OPL PDF before running audits.
cqa-2.0/ # Clone this repository
├── .claude/
│ └── skills/
│ ├── doc-quality-audit.md # Main skill workflow
│ └── install.sh # Installation script
├── standards/ # Gets installed to ~/.claude/cqa-standards/
│ ├── CQA-Step-by-Step-Assessment-Guide.md
│ ├── modular-docs.md
│ ├── peer-review-style.md
│ ├── templates/ # Official AsciiDoc templates
│ ├── OPL.pdf # General OPL (278 KB)
│ └── REQUIRED_FILES_README.md # Setup documentation
└── README.md # This file
After Installation:
~/.claude/skills/ # Global skills location
└── doc-quality-audit.md # CQA skill available globally
~/.claude/cqa-standards/ # Global standards location
├── CQA-Step-by-Step-Assessment-Guide.md
├── modular-docs.md
├── peer-review-style.md
├── templates/
├── OPL.pdf
├── OPL-<YourProduct>.pdf # You add this
└── REQUIRED_FILES_README.md
your-doc-project/ # Your documentation project
└── (your doc files only) # ✅ COMPLETELY CLEAN - no CQA files!
Note: Install CQA 2.0 once globally, then use it in any documentation project. Zero files added to your doc repos!
-
Clone this repository (one-time setup):
cd ~ git clone https://github.com/shivanisathe25/cqa-2.0.git
-
Run the global installer:
cd ~/cqa-2.0/.claude/skills ./install.sh
This installs globally:
- ✅ Skill →
~/.claude/skills/doc-quality-audit.md - ✅ Standards →
~/.claude/cqa-standards/ - ✨ Your doc projects stay completely clean!
- ✅ Skill →
-
⚠️ ADD your product-specific OPL PDF:cp /path/to/your/OPL-ProductName.pdf ~/.claude/cqa-standards/ -
Verify setup:
ls ~/.claude/skills/doc-quality-audit.md ls ~/.claude/cqa-standards/*.pdf
You should see the skill file and both
OPL.pdf+OPL-<YourProduct>.pdf
Open your documentation project in Claude Code and use the following prompt:
cd /path/to/your-doc-project
claude
# Then in Claude:
Audit all files in .<folder/assembly-name>
Alternative phrasings:
Assess all documentation in /path/to/docsRun CQA audit on <folder-name>/Audit assembly-<assembly-name>.adoc and all its modules
| Category | Requirements | Details |
|---|---|---|
| AsciiDoc | 1 | Assembly structure, formatting |
| Modularization | 5 | Templates, separation, user stories |
| Titles & Descriptions | 3 | Quality, format, character counts (50-300) |
| Procedures | 1 | Prerequisites formatting |
| Editorial | 2 | Grammar, content type correctness |
| URLs & Links | 3 | Broken links, redirects, interlinking |
| Legal & Branding | 2 | Product names, disclaimers |
Generates comprehensive report: assessments/assessment_<repo-name>_<date>.md
Includes:
- Executive summary with compliance metrics
- Assembly-based organization
- File-by-file assessment with ✅/❌ status
- Character count analysis with attribute resolution
- Critical blockers requiring fixes
- Prioritized action list with effort estimates
- Migration readiness checklist
Before running audits, verify your setup:
# Check that skill is installed globally
ls ~/.claude/skills/doc-quality-audit.md
# Check that standards are installed globally
ls ~/.claude/cqa-standards/
# Check for required PDFs
ls ~/.claude/cqa-standards/*.pdf✅ Correct setup:
$ ls ~/.claude/skills/doc-quality-audit.md
/home/user/.claude/skills/doc-quality-audit.md
$ ls ~/.claude/cqa-standards/*.pdf
/home/user/.claude/cqa-standards/OPL.pdf
/home/user/.claude/cqa-standards/OPL-OpenShift.pdf$ ls ~/.claude/cqa-standards/*.pdf
/home/user/.claude/cqa-standards/OPL.pdf
# Action needed:
cp /path/to/your/OPL-ProductName.pdf ~/.claude/cqa-standards/❌ Not installed:
$ ls ~/.claude/cqa-standards/
ls: cannot access '~/.claude/cqa-standards/': No such file or directory
# Action needed: Run installation
cd ~/cqa-2.0/.claude/skills
./install.sh# 1. Clone CQA 2.0 (one-time setup)
cd ~
git clone https://github.com/shivanisathe25/cqa-2.0.git
# 2. Install globally (one-time setup)
cd ~/cqa-2.0/.claude/skills
./install.sh
# Installation output:
# ✅ Skill installed to ~/.claude/skills/doc-quality-audit.md
# ✅ Standards installed to ~/.claude/cqa-standards
# ✨ Your documentation projects stay completely clean!
# 3. Add product-specific OPL to global location
cp ~/downloads/OPL-OpenShift.pdf ~/.claude/cqa-standards/
# 4. Verify setup
ls ~/.claude/skills/doc-quality-audit.md
ls ~/.claude/cqa-standards/*.pdf
# Should show: skill file, OPL.pdf and OPL-OpenShift.pdf
# 5. Open ANY doc project in Claude Code (OpenShift example)
cd ~/openshift-docs
claude
# 6. Request audit (natural language)
You: Audit all files in .
# 7. Claude automatically:
# ✓ Finds skill from ~/.claude/skills/
# ✓ Verifies prerequisites from ~/.claude/cqa-standards/
# ✓ Discovers 106 .adoc files
# ✓ Groups by assemblies
# ✓ Processes all files
# ✓ Generates comprehensive report
# 8. Review report
cat assessments/assessment_openshift-docs_2026-02-27.md
# Output shows:
# - Overall compliance: 98% (104/106 files passing)
# - Critical blockers: 2 files
# - Estimated fix effort: 2 hours
# - ✅ READY FOR MIGRATION (after fixes)
# 9. Use in another project (no installation needed!)
cd ~/rhel-docs
claude
You: Audit all files in .
# Works immediately! Same global skill and standards.
# 10. Check your doc projects - still clean!
ls ~/openshift-docs/.claude/ # Does NOT exist
ls ~/rhel-docs/.claude/ # Does NOT exist
# ✅ Zero CQA files in your doc repositories!# No installation needed! Since everything is global:
cd ~/openshift-docs
claude
# Skill works immediately
cd ~/rhel-docs
claude
# Skill works here too
cd ~/ansible-docs
claude
# And here!
"Skill not found"
# Verify skill is installed globally
ls ~/.claude/skills/doc-quality-audit.md
# If missing, install globally
cd ~/cqa-2.0/.claude/skills
./install.sh"Standards not found" or "Prerequisites check failed"
# Check global standards location
ls ~/.claude/cqa-standards/
# If empty or missing, install globally
cd ~/cqa-2.0/.claude/skills
./install.sh"Product name validation incomplete"
# Check for product-specific OPL
ls ~/.claude/cqa-standards/OPL-*.pdf
# If only OPL.pdf exists, add your product OPL
cp /path/to/OPL-YourProduct.pdf ~/.claude/cqa-standards/