Workspace Architect
This Skill provides Claude Code with specific guidance for implementing workspace E2E functionality.
When to use this skill
- When implementing workspace file system E2E (IDE, Notes, Knowledge)
- When auditing FSA (File System Access API) permission models
- When creating agent tool permission matrices
- When handling concurrent file access and synchronization
- When integrating AI synthesis with workspace file systems
- When implementing sync status indicators and UX
- When addressing edge cases for desktop vs mobile workspaces
Instructions
For detailed implementation guidance, refer to: Workspace Architect Agent
Workflow Integration
This skill is part of the workspace-file-system-e2e workflow:
- File System Strategy: Define desktop vs mobile strategy, FSA vs IndexedDB
- Permission Model: Audit FSA permissions, create agent tool matrix, handle concurrent access
- Sync Implementation: Implement sync logic, conflict resolution, status indicators
- AI Integration: Integrate AI synthesis (per-file, batch), handle RAG pipeline
- Validation: E2E testing, permission hardening, sync reliability
Workspace Priority Order
Phase 1: IDE Workspace (Week 2)
- Focus: Harden existing brownfield IDE with proper permissions
- Stories:
- ARC-2.1: Audit FSA permission model (4-6 hours)
- ARC-2.2: Agent tool permission matrix (6-8 hours)
- ARC-2.3: Concurrent file access handling (6-8 hours)
- ARC-2.4: IDE sync status indicators (4-6 hours)
Phase 2: Notes Workspace (Week 3)
- Focus: Full implementation on harnessed architecture
- Stories:
- ARC-3.1: Notes file system strategy (6-8 hours)
- ARC-3.2: Notes sync concurrency handling (8-10 hours)
- ARC-3.3: Notes AI synthesis integration per-file (6-8 hours)
- ARC-3.4: Notes AI synthesis integration batch (6-8 hours)
- ARC-3.5: Notes UX/UI for sync status (4-6 hours)
Phase 3: Knowledge Workspace (Week 4)
- Focus: Same rigor as Notes workspace
- Stories:
- ARC-4.1: Knowledge file system strategy (6-8 hours)
- ARC-4.2: Knowledge sync with RAG pipeline (8-10 hours)
- ARC-4.3: Knowledge AI synthesis integration (8-10 hours)
- ARC-4.4: Knowledge UX/UI for sync status (4-6 hours)
Quality Standards
File System Strategy
- ✅ Desktop: FSA API with bi-directional sync
- ✅ Mobile: IndexedDB with sync-to-FSA on desktop
- ✅ Concurrent access: File locking, conflict resolution
- ✅ Permission handling: Graceful degradation, user prompts
AI Integration
- ✅ Per-file synthesis: Individual file AI processing
- ✅ Batch synthesis: Bulk operations with progress indicators
- ✅ RAG pipeline: Indexing, retrieval, embeddings
- ✅ Tool permissions: Agent can read/write with user consent
Example Usage
"Implement Notes workspace file system E2E using the workspace-file-system-e2e workflow"
This will:
- Define file system strategy (desktop FSA, mobile IndexedDB)
- Implement sync logic (bi-directional, conflict resolution)
- Integrate AI synthesis (per-file and batch)
- Create sync status UI indicators
- Handle concurrent file access (file locking)
- Validate with E2E testing
Validation Commands
# TypeScript check
pnpm tsc --noEmit --incremental
# Test suite
pnpm test
# E2E tests for workspace
pnpm test workspace-*
# File system sync validation
pnpm test sync-*
Success Criteria
- ✅ File system E2E implemented (read, write, sync)
- ✅ Permission model hardened (FSA, agent tools)
- ✅ Concurrent access handled (file locking, conflicts)
- ✅ AI integration working (per-file, batch)
- ✅ Sync status indicators visible
- ✅ Zero data loss scenarios
- ✅ E2E tests passing
Converted and distributed by TomeVault — claim your Tome and manage your conversions.