本文へスキップ
Skillpedia
タスクとプロジェクト7.6k · #13200

integrations

できること

このスキルは、予約アプリが接続できるカレンダーとビデオのサービスを説明します。それぞれの接続の設定と更新の方法も扱います。新しい連携を追加する開発者や、壊れた接続を直す人向けです。

使う場面

  • ✓Google CalendarやOffice 365などのカレンダーを接続するとき。
  • ✓予約アプリに新しいビデオ会議のサービスを追加するとき。
  • ✓カレンダーの接続が止まり、再接続が必要になったとき。

スキルのリンク

https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/integrations/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/integrations/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Google Calendarを接続して、私が予定の入っている時間をアプリが把握し、ビデオのリンクを追加できるようにしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

ユーザーはサインインして接続し、アプリはアクセス権を保存して、選んだカレンダーの予定が入っている時間を読み取ります。期限切れのアクセス権は自動的に更新され、それが失敗した場合にはユーザーに再接続を求めます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Integrations

Calendar providers

  • google_calendar — OAuth; read freeBusy + write events; optionally create Google Meet conference via includeConference=true.
  • office365_calendar — Microsoft Graph; read freeBusy + write events.
  • caldav (planned) — generic CalDAV for Apple iCloud, Fastmail, etc.

Video providers

  • builtin_video — Daily.co-backed; zero OAuth; server-to-server API key.
  • zoom_video — OAuth; create meetings via Zoom REST API.
  • google_meet — piggy-backs on Google Calendar credential.
  • teams_video — delegated Microsoft OAuth for work or school accounts; creates and cancels standalone meetings through Microsoft Graph.

Credential lifecycle

  1. User clicks "Connect" → connect-calendar returns authUrl + state
  2. Redirect to provider → consent → provider redirects to our callback
  3. Server exchanges code → writes scheduling_credentials row + core oauth_tokens entry
  4. We fetch calendar list, let user pick "checked" + "destination"
  5. Token expires → refresh flow runs silently; on failure, set invalid: true and show re-connect banner

Busy-time aggregation

aggregateBusy({userEmail, rangeStart, rangeEnd}) merges:

  • Confirmed bookings hosted by the user
  • External busy from each selected_calendars entry via the provider

Cached in calendar_cache (short TTL, default 5 min). Busted on any booking write for that host.

Writing a new provider

See docs/providers.md for the full interface.

Common tasks

User Action
"Connect Google Calendar" connect-calendar --kind google_calendar --redirectUri ... → redirect to returned authUrl
"Stop checking my vacation calendar" toggle-selected-calendar --include false for that externalId
"Default to Zoom for new bookings" set-default-conferencing-app --credentialId <zoom-cred>
"Connect Microsoft Teams" connect-video --kind teams_video --redirectUri ... → complete the callback with completeVideoOAuth()
"Default to Teams for new bookings" set-default-conferencing-app --credentialId <teams-cred>
"Refresh calendar cache" refresh-busy-times

Microsoft Teams setup

Register createTeamsProvider() as a video provider with the deployment's Microsoft client id and secret plus consumer-owned getAccessToken, updateTokens, and markInvalid callbacks. The provider defaults to the organizations tenant because Graph's delegated online-meeting API supports work or school accounts, not personal Microsoft accounts. It requests only offline_access, OnlineMeetings.ReadWrite, and User.Read.

Use connect-video to start OAuth and completeVideoOAuth() in the callback; inserting a teams_video row with install-conferencing-app alone does not grant Microsoft access. Token refresh remains the consumer's responsibility in getAccessToken. The booking service stores the returned meeting id and join URL in booking_references and calls the provider again on cancellation.

よくある質問

どのカレンダーが対象ですか?

Google CalendarとOffice 365です。一般的なCalDAVの選択肢は、計画中として説明されています。

予定が入っている時間はどのくらいの間保存されますか?

短い時間キャッシュされ、既定では約5分です。

接続の更新に失敗するとどうなりますか?

その接続は無効とマークされ、再接続を促すバナーが表示されます。

詳細

作者による元の説明

Calendar + video provider integrations — Google Calendar, Office 365, Zoom, built-in video, Google Meet — and how to write new ones.

repo: BuilderIO/agent-native

人気

GitHubのスター
7.6k
ランキング
#13200
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル