commit
Create git commits with user approval and no Claude attribution
Validate and update documentation by comparing against current codebase and recent changes using parallel agents
$ npx -y skills add dcouple/Pane --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/validate-codebase-docsContext preview
What this command does when you run it.
Validate and update documentation by comparing against current codebase and recent changes using parallel agents
allowed-tools: Task, Read, Glob, Grep, Bash(git log:*), Bash(git diff:*), Edit, MultiEdit, TodoWrite description: Validate and update documentation by comparing against current codebase and recent changes using parallel agents
This command orchestrates multiple specialized agents to systematically validate documentation against the current codebase and recent changes, then updates outdated content automatically.
First, gather information about the documentation landscape and recent changes:
# Get list of all documentation files ls -la docs/ # Review recent changes that might affect docs git log --oneline -30 # Check for any pending changes git status
Create a comprehensive list of all markdown files in the docs folder, categorizing them by:
Launch multiple specialized agents IN PARALLEL to validate and update different aspects of documentation. Use the Task tool to launch ALL agents simultaneously for maximum efficiency.
**Documentation Analyzer Agent (per doc file):**
Focus: Extract and catalog all verifiable claims from documentation Input: Specific documentation file path Tasks: 1. Read the documentation file thoroughly 2. Extract all technical claims: - File paths and directory structures - Component and service names - API endpoints and routes - Database schemas and tables - Command examples - Dependencies and package versions - Configuration file references 3. Create a structured validation checklist 4. Return list of claims to validate
**Codebase Structure Validator Agent:**
Focus: Verify all file paths and structural claims Input: List of file paths and structures from docs Tasks: 1. Check each referenced file path exists 2. Verify directory structures match documentation 3. Validate component and service locations 4. Check for moved or renamed files 5. Identify new files not documented 6. Return validation results with corrections
**API & Routes Validator Agent:**
Focus: Validate API endpoints and route definitions Input: List of API endpoints from documentation Tasks: 1. Read current route definitions from: - apps/api/src/routes/ - apps/api/src/controllers/ - apps/webapp/app/api/ 2. Compare documented endpoints with actual implementation 3. Check HTTP methods match (GET, POST, etc.) 4. Verify request/response schemas if documented 5. Identify new endpoints not documented 6. Return list of discrepancies and updates needed
**Database Schema Validator Agent:**
Focus: Verify database schemas and models Input: Database documentation references Tasks: 1. Read current schema from apps/api/src/db/schema.ts 2. Compare with documented tables and fields 3. Check for new tables or columns 4. Verify relationships and constraints 5. Validate migration references 6. Return schema updates needed
**Dependencies & Commands Validator Agent:**
Focus: Validate package dependencies and CLI commands Input: List of dependencies and commands from docs Tasks: 1. Check package.json files for mentioned dependencies 2. Verify version numbers if specified 3. Test documented npm/npx commands for validity 4. Check for deprecated packages 5. Identify new dependencies not documented 6. Return list of updates needed
**Changelog Cross-Reference Agent:**
Focus: Identify recent changes requiring doc updates Tasks: 1. Analyze git log for last 30-50 commits 2. Review merged PRs and their descriptions 3. Identify major features and breaking changes: - Authentication system changes - New workspace features - AI agent implementations - Audio recording improvements - Dashboard architecture changes 4. Check if these are reflected in docs 5. Return list of missing documentation
After validation completes, launch update agents for each category of changes:
**File Path Updater Agent:**
Focus: Fix all file path and structure references Tasks: 1. Update moved or renamed file references 2. Correct directory structure descriptions 3. Add new important files to listings 4. Mark deprecated paths with notes
**API Documentation Updater Agent:**
Focus: Update API and endpoint documentation Tasks: 1. Update endpoint URLs and methods 2. Add newly created endpoints 3. Mark deprecated endpoints 4. Update request/response examples 5. Fix authentication requirements
**Technical Content Updater Agent:**
Focus: Update technical details and features Tasks: 1. Update architecture descriptions 2. Add new features from changelog 3. Update technology stack sections 4. Fix command examples 5. Update configuration examples
**CLAUDE.md Synchronization Agent:**
Focus: Ensure consistency with CLAUDE.md Tasks: 1. Read CLAUDE.md as source of truth 2. Update other docs to match CLAUDE.md 3. Propagate command changes 4. Sync environment setup instructions 5. Ensure deployment procedures match
After all vali
Repo: dcouple/Pane
Create git commits with user approval and no Claude attribution
You are tasked with creating detailed implementation plans through an interactive, iterative process. You should be skeptical, thorough, and work…
Generate comprehensive PR descriptions following repository templates
You are tasked with implementing an approved technical plan from `thoughts/shared/plans/`. These plans contain phases with specific changes and success…
Iterate on existing implementation plans with thorough research and updates
You are tasked with conducting comprehensive research across the codebase to answer user questions. You will spawn one or more parallel sub-agents to perform…