| name | Knowledge Sync Strategy |
| description | Specialized workflow for implementing Knowledge workspace file synchronization with RAG pipeline integration, source import handling, and AI synthesis. Use this workflow when implementing sync for Knowledge workspace, integrating RAG indexing with file sync, or handling source document imports. |
Knowledge Sync Strategy Workflow
This Workflow provides Claude Code with step-by-step guidance for implementing Knowledge workspace sync.
When to use this workflow
- When implementing Knowledge workspace file system sync
- When integrating RAG pipeline with file synchronization
- When handling source document imports (PDF, URL, local files)
- When managing embeddings sync with document changes
- When creating sync status indicators for Knowledge workspace
Workflow Steps
Step 1: Knowledge File System Strategy (2-3 hours)
Agent: file-sync-specialist
Input: Knowledge workspace requirements
Output: File system strategy document
Acceptance Criteria:
Step 2: RAG Pipeline Integration (4-6 hours)
Agent: workspace-architect
Input: File system strategy
Output: RAG sync implementation
Acceptance Criteria:
Step 3: AI Synthesis Integration (4-6 hours)
Agent: workspace-architect
Input: RAG sync implementation
Output: AI integration with Knowledge workspace
Acceptance Criteria:
Step 4: Sync Status UX/UI (2-3 hours)
Agent: component-splitter
Input: AI integration
Output: Sync status UI components
Acceptance Criteria:
Step 5: Validation & Testing (2-3 hours)
Agent: test-writer
Input: Complete Knowledge sync implementation
Output: Test suite + validation report
Acceptance Criteria:
Example Usage
"Implement Knowledge sync strategy using the knowledge-sync-strategy workflow"
Validation Commands
pnpm tsc --noEmit --incremental
pnpm test
pnpm test knowledge-*
pnpm test rag-*
pnpm test sync-knowledge-*
Success Criteria
- ✅ Knowledge file system sync working (read, write, sync)
- ✅ RAG pipeline integrated (indexing, search, retrieval)
- ✅ Source imports working (PDF, URL, local files)
- ✅ AI integration working (per-document, batch, RAG search)
- ✅ Sync status indicators visible (syncing, indexing, offline)
- ✅ Embeddings sync working (Orama WASM with IndexedDB)
- ✅ Zero data loss scenarios
- ✅ Test coverage ≥80%
- ✅ E2E tests passing
Artifacts
For detailed workflow documentation, refer to:
Knowledge Sync Strategy Workflow