00-system/skills/system/validate-docs-implementation/SKILL.md
Load when user says "validate docs", "check documentation consistency", "docs vs implementation", or "find documentation mismatches". Systematically compares implementation code against documentation to identify and fix inconsistencies.
npx skillsauth add abdullahbeam/nexus-design-abdullah validate-docs-implementationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Purpose: Systematically identify and fix mismatches between actual implementation code and documentation.
Load When:
Core Value: Ensures documentation accurately reflects actual implementation, preventing user confusion and wasted debugging time.
What This Skill Does:
Typical Mismatches Found:
Goal: Understand what the code actually does
Actions:
Example Output:
## Implementation Analysis: init_project.py
**Creates**:
- 4 directories: 01-planning/, 02-resources/, 03-working/, 04-outputs/
- 3 files in 01-planning/: overview.md, plan.md, steps.md
**Does NOT create**:
- design.md (old name)
- tasks.md (old name)
- requirements.md (never existed)
Goal: Find all references to the entities/behavior
Actions:
Use Grep to search for old/mismatched terms across documentation:
# Search for old file names
grep -r "design\.md\|tasks\.md\|requirements\.md" 00-system/
# Search for old folder structure
grep -r "02-working\|03-outputs" 00-system/
Identify all files that contain references
For each file, note line numbers and context
Output: List of files needing updates with specific locations
Goal: Categorize what needs fixing
Actions:
For each documentation file found:
Prioritize fixes:
Goal: Update documentation to match implementation
Actions:
For each file with mismatches:
Common fix patterns:
# File name fixes
OLD: "design.md" → NEW: "plan.md"
OLD: "tasks.md" → NEW: "steps.md"
# Structure fixes
OLD: "02-working/" → NEW: "03-working/"
OLD: "03-outputs/" → NEW: "04-outputs/"
ADD: "02-resources/" (was missing)
# Count fixes
OLD: "3 core files"
NEW: "4 directories (01-planning/, 02-resources/, 03-working/, 04-outputs/) + 3 planning files"
Track progress with TodoWrite:
Goal: Confirm all fixes are consistent and create permanent validation record
Actions:
5A. Verification:
Re-search for old terms to verify they're gone:
grep -r "design\.md" 00-system/ # Should return no results
Spot-check fixed files to ensure consistency
5B. Determine Report Location:
First time or if location not set:
AI: "Where should I save validation reports? Options:
1. 04-workspace/validation-reports/ (recommended - organized, searchable)
2. 01-memory/validation-reports/ (persistent record)
3. Custom location (you specify)
Or say 'skip' to not save reports."
User: [Chooses option]
AI: "Got it! I'll save reports to [location]. This will be remembered for future validations."
If location already configured (from previous validation):
AI: "Saving report to configured location: [location]"
5C. Generate & Save Report:
references/report-template.md)validation-{implementation}-YYYY-MM-DD.md
validation-init-project-2025-11-24.mdReport includes:
Example output:
✅ Validation complete!
**Summary**:
- 6 files updated
- 23 total fixes
- 0 grep results for old terms
📄 Full report saved: [04-workspace/validation-reports/validation-init-project-2025-11-24.md](04-workspace/validation-reports/validation-init-project-2025-11-24.md)
Symptoms:
Process:
Example: The create-project validation we just did
Symptoms:
Process:
Symptoms:
Process:
✅ Zero grep results for old/deprecated terms ✅ All structure diagrams match actual folder structure ✅ All counts match actual artifact counts ✅ All file references use current names ✅ User can follow docs without confusion
Remember: Documentation debt compounds quickly. Fix mismatches systematically and completely the first time!
development
Load when user says "mental model", "think through this", "structured thinking", "help me decide", "analyze this problem", "first principles", "pre-mortem", "stakeholder mapping", "what framework should I use", or any specific model name. Provides 59 thinking frameworks for decision-making, problem decomposition, and strategic analysis.
development
Generate comprehensive philosophy and standards documents for any domain (UX design, landing pages, email outbound, API design, etc.). Load when user says "create philosophy doc", "generate standards for [domain]", "build best practices guide", or "create benchmarking document". Conducts deep research, synthesizes findings, and produces structured philosophy documents with principles, frameworks, anti-patterns, checklists, case studies, and metrics.
development
Validate Nexus-v3 system integrity and fix common issues automatically. Load when user mentions "validate system", "check system", or "fix problems". Runs comprehensive checks on folder structure, metadata files, and framework consistency with auto-repair capabilities.
testing
Validate workspace-map.md accuracy against actual 04-workspace/ structure (3 levels deep). Load when user says "validate workspace map", "update workspace map", "check workspace map", or from close-session. Ensures deep structure validation with comprehensive documentation.