Back to skills
SKILL.md
Collection
ASecurityUnified documentation validation ecosystem with AI-powered features
- 24 stars
- 0 votes
- 0 copies
- 4 views
- Added September 8, 2026
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 21 files and shows the line behind each finding
npx -y skills add mattnigh/skills_collection --skill collection --agent claude-codeAre you the author of Collection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mattnigh-collection-4e0bea9a)---
name: moai-docs-unified
version: 4.0.0
updated: 2025-11-20
status: stable
tier: specialization
description: Unified documentation validation ecosystem with AI-powered features
allowed-tools: [Read, Bash, WebSearch, WebFetch]
---
# Unified Documentation Expert
**Comprehensive Documentation Validation & Management**
> **Focus**: Markdown Linting, Mermaid Validation, Korean Typography, CI/CD
> **Tools**: Python, uv, GitHub Actions
---
## Overview
A complete ecosystem for maintaining high-quality documentation across multiple languages.
### Core Components
| Phase | Script | Purpose |
| ------- | ---------------------------------------- | ----------------------------------------------- |
| **1** | `lint_korean_docs.py` | Markdown syntax, structure, and link validation |
| **2** | `validate_mermaid_diagrams.py` | Mermaid syntax check and rendering verification |
| **2.5** | `extract_mermaid_details.py` | Diagram code extraction and preview generation |
| **3** | `validate_korean_typography.py` | Korean encoding, spacing, and punctuation check |
| **4** | `generate_final_comprehensive_report.py` | Aggregated quality reporting and prioritization |
---
## Usage Patterns
### 1. Single Script Execution
Run individual validation phases using `uv`.
```bash
# Phase 1: Markdown Linting
uv run .claude/skills/moai-docs-unified/scripts/lint_korean_docs.py --path docs/src/ko
# Phase 2: Mermaid Validation
uv run .claude/skills/moai-docs-unified/scripts/validate_mermaid_diagrams.py
# Phase 3: Korean Typography
uv run .claude/skills/moai-docs-unified/scripts/validate_korean_typography.py
# Phase 4: Generate Report
uv run .claude/skills/moai-docs-unified/scripts/generate_final_comprehensive_report.py
```
### 2. Complete Validation Pipeline
Run all checks sequentially.
```bash
#!/bin/bash
echo "Running Documentation Validation Suite..."
# Run all phases
uv run .claude/skills/moai-docs-unified/scripts/lint_korean_docs.py
uv run .claude/skills/moai-docs-unified/scripts/validate_mermaid_diagrams.py
uv run .claude/skills/moai-docs-unified/scripts/validate_korean_typography.py
uv run .claude/skills/moai-docs-unified/scripts/generate_final_comprehensive_report.py
echo "Check reports in .moai/reports/"
```
### 3. CI/CD Integration (GitHub Actions)
Automate validation on Pull Requests.
```yaml
name: Docs Validation
on: [pull_request]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install uv
run: pip install uv
- name: Run Validation
run: |
uv run .claude/skills/moai-docs-unified/scripts/lint_korean_docs.py
uv run .claude/skills/moai-docs-unified/scripts/validate_mermaid_diagrams.py
uv run .claude/skills/moai-docs-unified/scripts/validate_korean_typography.py
uv run .claude/skills/moai-docs-unified/scripts/generate_final_comprehensive_report.py
- name: Upload Reports
uses: actions/upload-artifact@v3
with:
name: doc-reports
path: .moai/reports/*.txt
```
---
## Script Details
### Markdown Linting (`lint_korean_docs.py`)
- **Checks**: Header hierarchy, code block syntax, link validity, list formatting.
- **Output**: Detailed error list by file and line number.
### Mermaid Validation (`validate_mermaid_diagrams.py`)
- **Supported Types**: Flowchart, Sequence, Class, State, ER, Gantt.
- **Checks**: Syntax validity, node relationships, complexity metrics.
### Korean Typography (`validate_korean_typography.py`)
- **Checks**: UTF-8 encoding, full-width characters, spacing rules.
- **Goal**: Ensure professional and consistent Korean text.
### Comprehensive Report (`generate_final_comprehensive_report.py`)
- **Features**: Aggregates all findings, assigns priority (Critical/High/Low), and generates an executive summary score.
---
## Validation Checklist
- [ ] **Structure**: Headers are hierarchical (H1 -> H2 -> H3).
- [ ] **Links**: All relative links resolve to existing files.
- [ ] **Code**: Code blocks have language identifiers (e.g., \`\`\`python).
- [ ] **Diagrams**: Mermaid syntax is valid and renders correctly.
- [ ] **Language**: Korean text follows typography standards.
---
## Related Skills
- `moai-mermaid-diagram-expert`: Creating valid diagrams
- `moai-project-documentation`: Documentation standards
- `moai-devops-ci`: CI/CD pipeline configuration
---
**Last Updated**: 2025-11-20
Files in this skill
- 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md
- 17hz__nextjs-template__claude__skills__example-skill__SKILL.md
- 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md
- 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md
- 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md
- 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md
- 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md
- 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md
- 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md
- 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md
- 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md
Attribution
Related skills
View all in devops →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.