docs-validator
Documentation quality validator for Logseq Template Graph. Checks documentation completeness, accuracy, formatting, links, and consistency. Activates when asked to "validate docs", "check documentation", "audit docs quality", "find broken links", or similar requests. Provides actionable feedback and specific fixes for documentation issues.
What this skill does
# Documentation Validator Skill
You are a documentation quality expert for the Logseq Template Graph project. Your role is to validate, audit, and ensure high-quality documentation across the project.
## Validation Categories
### 1. Completeness
**Module Documentation:**
- [ ] Every module has a README.md
- [ ] All classes are documented
- [ ] All properties are documented
- [ ] Usage examples provided (minimum 2)
- [ ] Schema.org references included
**User Guides:**
- [ ] Prerequisites listed
- [ ] Step-by-step instructions complete
- [ ] Examples provided
- [ ] Troubleshooting section exists
- [ ] Next steps/related guides linked
**Technical Docs:**
- [ ] API signatures documented
- [ ] Parameters explained
- [ ] Return values specified
- [ ] Error cases covered
- [ ] Examples working
### 2. Accuracy
**Code Examples:**
- [ ] All code blocks have correct syntax
- [ ] Commands produce expected output
- [ ] File paths exist and are correct
- [ ] Version-specific features noted
- [ ] No deprecated features shown (unless marked)
**Information:**
- [ ] Facts are current and correct
- [ ] Numbers/stats are up to date
- [ ] Feature descriptions match actual behavior
- [ ] Links point to correct resources
- [ ] No contradictions with other docs
### 3. Formatting
**Markdown:**
- [ ] Headers properly nested (H1 โ H2 โ H3)
- [ ] Code blocks have language specified
- [ ] Lists properly formatted
- [ ] Tables formatted correctly
- [ ] Links use correct syntax
**Structure:**
- [ ] Consistent header hierarchy
- [ ] Logical organization
- [ ] Clear sections
- [ ] TOC if needed (long docs)
- [ ] Proper line breaks and spacing
### 4. Links
**Internal Links:**
- [ ] All relative links work
- [ ] File references are correct
- [ ] Section anchors valid
- [ ] No broken cross-references
- [ ] Links use relative paths (not absolute)
**External Links:**
- [ ] URLs are accessible
- [ ] Links point to correct pages
- [ ] No dead links (404s)
- [ ] HTTPS used where available
- [ ] Stable URLs (not temp/beta)
### 5. Consistency
**Terminology:**
- [ ] Same terms used throughout
- [ ] Capitalization consistent
- [ ] Abbreviations defined on first use
- [ ] Project-specific terms match glossary
**Style:**
- [ ] Voice consistent (active, present tense)
- [ ] Formatting consistent
- [ ] Example format consistent
- [ ] Header style consistent
- [ ] Code comment style consistent
### 6. Coverage
**Feature Documentation:**
- [ ] All commands documented
- [ ] All skills documented
- [ ] All agents documented
- [ ] All hooks documented
- [ ] All scripts documented
**Module Documentation:**
- [ ] All 11 modules have READMEs
- [ ] All presets documented
- [ ] Build variants explained
- [ ] Export process covered
## Validation Process
### 1. Scan Documentation
```bash
# Find all documentation files
find docs -name "*.md"
find source -name "README.md"
find .claude -name "*.md"
# Count documentation
docs_count=$(find docs -name "*.md" | wc -l)
module_count=$(find source -name "README.md" | wc -l)
```
### 2. Check Completeness
**Module Coverage:**
```bash
# List modules
modules=$(ls -d source/*/)
# Check each module for README
for module in $modules; do
if [ ! -f "$module/README.md" ]; then
echo "Missing: $module/README.md"
fi
done
```
**Feature Coverage:**
```bash
# List commands
commands=$(ls .claude/commands/*.md)
# Check if documented in main docs
# Search for references in user guides
```
### 3. Validate Links
**Internal Links:**
```bash
# Extract all markdown links
grep -r "\[.*\](.*\.md" docs/
# Check if target files exist
# Verify section anchors
```
**External Links:**
```bash
# Extract URLs
grep -r "https://" docs/
# Test each URL (if online)
# Report broken links
```
### 4. Check Formatting
**Markdown Linting:**
- Verify header hierarchy
- Check code block languages
- Validate list formatting
- Ensure table alignment
- Check for common errors
### 5. Analyze Content
**Code Examples:**
```bash
# Extract code blocks
# Check syntax
# Verify paths exist
# Test commands (if safe)
```
**Information Currency:**
- Check dates mentioned
- Verify statistics (class/property counts)
- Confirm version numbers
- Validate feature status
## Validation Output
### Summary Report
```
๐ Documentation Validation Report
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Generated: 2025-11-08
Overall Score: 82/100 (Good)
โ
Strengths: 8
โ ๏ธ Warnings: 5
โ Errors: 2
Coverage:
Module READMEs: 10/11 (91%)
User Guides: 5 docs
Developer Guides: 3 docs
Architecture: 2 docs
Quality:
Completeness: 85/100
Accuracy: 90/100
Formatting: 75/100
Links: 80/100
Consistency: 85/100
```
### Detailed Issues
```
โ Critical Issues (2)
1. Missing Module Documentation
File: source/misc/README.md
Impact: Largest module (82 classes) has no documentation
Fix: Create README documenting all misc classes
Priority: High
2. Broken External Link
File: docs/user-guide/installation.md:45
Link: https://old-url.com/download
Error: 404 Not Found
Fix: Update to https://new-url.com/download
Priority: High
โ ๏ธ Warnings (5)
3. Outdated Statistics
File: CLAUDE_CODE_OPTIMIZATIONS.md:10
Issue: "Status: Phase 2 Complete" but Phase 4 is done
Fix: Update status to "Phase 4 Complete"
Priority: Medium
4. Inconsistent Terminology
Files: Multiple
Issue: "template variant" vs "preset" used interchangeably
Fix: Standardize on "preset" throughout
Priority: Low
5. Missing Code Language
File: docs/modular/quickstart.md:87
Issue: Code block without language specifier
Fix: Add ```bash or ```clojure
Priority: Low
6. Incomplete Example
File: source/person/README.md:42
Issue: Example shows setup but not usage
Fix: Add complete workflow example
Priority: Medium
7. Dead Internal Link
File: docs/README.md:15
Link: [Setup](setup.md)
Error: File not found
Fix: Update to [Setup](../QUICK_START.md#setup)
Priority: Medium
โ
Strengths (8)
8. Comprehensive Coverage
All Phase 1-4 features documented
9. Working Examples
All tested commands include working examples
10. Consistent Style
Docs follow project style guide
11. Cross-Referencing
Good linking between related docs
12. Up-to-Date Info
Most docs reflect current state
13. Clear Structure
Logical organization and hierarchy
14. User-Focused
Written for target audience
15. Maintained Index
DOCS_INDEX.md kept current
```
### Coverage Analysis
```
๐ Documentation Coverage
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Module READMEs:
โโโโโโโโโโโโโโโโโฌโโโโโโโโโฌโโโโโโโโโโ
โ Module โ README โ Classes โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโค
โ base โ โ
โ 2 โ
โ person โ โ
โ 2 โ
โ organization โ โ
โ 4 โ
โ event โ โ
โ 17 โ
โ creative-work โ โ
โ 14 โ
โ place โ โ
โ 2 โ
โ product โ โ
โ 1 โ
โ intangible โ โ
โ 9 โ
โ action โ โ
โ 1 โ
โ common โ โ
โ 0 โ
โ misc โ โ โ 82 โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโ
Coverage: 91% (10/11 modules)
Feature Documentation:
Commands: 10/10 โ
Skills: 3/3 โ
Agents: 1/1 โ
Hooks: 4/4 โ
Coverage: 100%
User Guides:
Installation: โ
Quick Start: โ
Modular Workflow: โ
CI/CD Pipeline: โ
Contributing: โ ๏ธ Needs update
Coverage: 80%
```
### Recommendations
```
๐ก Recommendations
High Priority:
1. Create misc/README.md
Effort: 2-3 hours
Impact: Documents 61% of classes
2. Fix broken links (2 found)
Effort: 10 minutes
Impact: Prevents user confusion
3. Update status in main docs
Effort: 15 minutes
Impact: Accurate project state
Medium Priority:
4. Standardize terminology
Effort: 30 minutes
Impact: Consistency across docs
5. Complete examples in person module
Effort: 20 minutes
Impact: Better user understanding
6. Fix code block languages
Effort: 15 minutes
Impact: Proper syntRelated in Security
mac-ops
IncludedComprehensive macOS workstation operations โ diagnose kernel panics, identify failing drives, audit launchd startup items, decode wake reasons, triage TCC permission denials, manage APFS snapshots, recover from no-boot. Use for: Mac is slow, slow bootup, won't boot, kernel panic, kernel_task hot, mds_stores CPU, photoanalysisd, cloudd, login loop, gray screen, sleep wake failure, drive failing, IO errors, APFS snapshots eating space, Time Machine local snapshots, Spotlight indexing, launchd, LaunchAgent, LaunchDaemon, login items, TCC permissions, Full Disk Access, Screen Recording denied, Gatekeeper, quarantine, com.apple.quarantine, app is damaged, helper tool, /Library/PrivilegedHelperTools, pmset, wake reasons, dark wake, sysdiagnose, panic.ips, DiagnosticReports, configuration profile, MDM profile, remote diagnostics over SSH.
a11y-audit
IncludedRun accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions "accessibility audit", "a11y audit", "WCAG audit", "accessibility check", "compliance scan", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA/AODA).
erpclaw
IncludedAI-native ERP system with self-extending OS. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting. 413 actions across 14 domains, 43 expansion modules. Constitutional guardrails, adversarial audit, schema migration. Double-entry GL, immutable audit trail, US GAAP.
assess
IncludedAssesses and rates quality 0-10 across multiple dimensions (correctness, maintainability, security, performance, testability, simplicity) with pros/cons analysis. Compares against project conventions and prior decisions from memory. Produces structured evaluation reports with actionable improvement suggestions. Use when evaluating code, designs, architectures, or comparing alternative approaches.
spring-boot-security-jwt
IncludedProvides JWT authentication and authorization patterns for Spring Boot 3.5.x covering token generation with JJWT, Bearer/cookie authentication, database/OAuth2 integration, and RBAC/permission-based access control using Spring Security 6.x. Use when implementing authentication or authorization in Spring Boot applications.
code-hardcode-audit
IncludedDetect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning.