4D Workflow Backend Architecture & Sync

Community

Backend sync for Notion and Google Calendar

Authorbibo1243
Version1.0.0
Installs0

System Documentation

What problem does it solve?

負責維護 4D Workflow 的後端雙向同步機制,透過 Notion 與 Google Calendar 的整合架構,提供前端可用的 RESTful API,並處理資料過濾與樂觀更新的預想。

Core Features & Use Cases

  • NotionService 封裝官方 @notionhq/client,負責從 Notion 的 Tasks(每日行動)資料庫中抓取未完成任務並映射至領域模型。
  • GCalService 封裝官方 googleapis,負責在特定時段自動在主要日曆中建立區塊,並將任務完成狀態同步至日曆。
  • SyncOrchestrator 提供樂觀更新策略,確保跨 Notion 與 GCal 的邏輯一致性與衝突處理。
  • SyncWorker 透過輪詢機制偵測外部變動,確保本地介面與後端狀態同步。

Quick Start

Configure and run the backend to synchronize Notion tasks with Google Calendar and expose the REST API endpoints.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 4D Workflow Backend Architecture & Sync
Download link: https://github.com/bibo1243/claw_memory/archive/main.zip#4d-workflow-backend-architecture-sync

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.