update-workspace-map
Validate Workspace Map
Ensure workspace-map.md stays synchronized with actual 04-workspace/ folder structure up to 3 levels deep.
Purpose
The workspace-map.md file helps AI understand your custom folder organization in 04-workspace/. When it becomes stale (folders added/removed/reorganized but not documented), AI navigation becomes unreliable.
This skill:
- Scans workspace structure 3 levels deep (root → level 1 → level 2 → level 3)
- Compares actual folders with documented folders at all levels
- Identifies mismatches (missing or extra folders, incorrect nesting)
- Provides detailed structure report with depth indicators
- Guides you through comprehensive updates
- Validates accuracy after changes
Improvements over v1:
- ✅ 3-layer deep scanning (vs 1 layer)
- ✅ Hierarchical validation (parent-child relationships)
- ✅ File detection (warns about files that should be documented)
- ✅ Depth indicators in reports (├──, │ ├──, │ │ ├──)
- ✅ Comprehensive documentation prompts for nested structures
When to use:
- You reorganized 04-workspace/ folders
- You notice AI can't find your folders
- During onboarding (Project 03, Task 5.6)
- As part of regular maintenance (via close-session)
Workflow
Step 1: Scan Actual Workspace Structure (3 Levels Deep)
Scan workspace recursively (up to 3 levels):
find 04-workspace -maxdepth 3 -type d | sort
Parse into hierarchical structure:
04-workspace/
├── input/
│ ├── skills/
│ │ ├── examples/
│ │ └── templates/
│ └── docs/
├── clients/
│ ├── acme/
│ │ ├── deliverables/
│ │ └── notes/
│ └── globex/
└── templates/
Also scan for important files (for documentation warnings):
find 04-workspace -maxdepth 3 -type f -name "*.md" -o -name "README*" | sort
Store:
- ACTUAL_STRUCTURE (tree with 3 levels)
- IMPORTANT_FILES (markdown/README files)
Exclude:
- Hidden folders (., .., .git, .DS_Store)
- workspace-map.md itself
- System folders
Time: 10 seconds
Step 2: Parse workspace-map.md (3 Levels Deep)
Read: 04-workspace/workspace-map.md
Extract documented structure:
-
From tree structure (in "Your Workspace Structure" section):
- Parse lines with
├──,│ ├──,│ │ ├──(depth indicators) - Build hierarchical tree from indentation
- Capture folder descriptions (inline comments with
#)
- Parse lines with
-
From folder descriptions (in "Folder Descriptions" section):
- Parse
###headers (level 1 folders) - Parse
####headers (level 2 folders) - Parse
#####headers (level 3 folders) - Extract purpose, contents, and notes
- Parse
-
Cross-reference both sections for completeness
Store:
- MAPPED_STRUCTURE (tree with 3 levels)
- MAPPED_DESCRIPTIONS (folder purposes and details)
Time: 10 seconds
Step 3: Deep Comparison (Hierarchical)
Compare at each level:
Level 1 (04-workspace/ direct children):
- Missing from map
- Extra in map (stale)
- Matches
Level 2 (within each level 1 folder):
- For each level 1 folder, compare children
- Track parent-child relationships
- Identify orphaned level 2 folders (parent missing)
Level 3 (within each level 2 folder):
- For each level 2 folder, compare children
- Validate full path accuracy
- Identify deeply nested mismatches
Identify:
- Missing folders (at each level)
- Extra folders (stale documentation at each level)
- Hierarchy issues (documented under wrong parent)
- Undocumented files (important .md files with no description)
- Perfect match (all levels accurate)
Time: 5 seconds
Step 4: Generate Comprehensive Report
Show detailed validation results at all 3 levels with clear depth indicators and actionable feedback.
Total Time Estimates
Scenarios:
- Perfect match (3 levels): ~20 seconds
- Minor updates (1-2 folders): 2-3 minutes
- Major reorganization (5+ folders): 5-7 minutes
- Deep restructure (many level 2-3 changes): 8-10 minutes
Integration
close-session Integration
This skill is automatically triggered during close-session. If mismatches found, prompts user to update.
Remember: Deep 3-level validation = Comprehensive AI navigation!
More from abdullahbeam/nexus-design-abdullah
mental-models
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.
64notion-connect
Connect to any Notion database by name. Load when user mentions 'notion', 'connect notion', 'setup notion', 'query [database-name]', 'add to [database]', 'notion databases', or any database name from persistent context. Meta-skill that discovers workspace, caches schemas, and routes to appropriate operations.
24google-tasks
Manage Google Tasks and task lists. Load when user mentions 'google tasks', 'tasks', 'todo list', 'create task', 'complete task', or references task/todo management.
21google-sheets
Read and write Google Sheets data. Load when user mentions 'google sheets', 'spreadsheet', 'update sheet', 'read sheet', 'append to sheet', or references extracting data to update a tracking sheet.
20airtable-master
Shared resource library for Airtable integration skills. DO NOT load directly - provides common references (setup, API docs, error handling, field types) and scripts used by airtable-connect, airtable-query, and airtable-sync.
19google-integration
Complete Google Workspace integration (Gmail, Docs, Sheets, Calendar, Drive, Tasks, Slides). Load when user mentions 'google', 'gmail', 'email', 'google docs', 'google sheets', 'spreadsheet', 'google calendar', 'schedule meeting', 'calendar', 'google drive', 'upload file', 'download file', 'google tasks', 'todo', 'google slides', 'presentation', or any Google service operation.
18