Skip to content
cccskills
FreePublished on GitHub

trip-log-from-calendar

Google カレンダー primary の予定から旅記録 Markdown を生成し `docs/travel/YYYY-MM-DD_<slug>.md` に保存する。期間指定、任意のタイトルキーワードでフィルタ可能。出力前に抽出結果の承認ステップを必ず挟む。

The English summary is being prepared. Showing the original description.

Works withGoogle Calendar

Run score Not tested

See how to install

Files included (2)

  • SKILL.md3.4 KB
  • templates/travel-log.md1023 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Trip Log From Calendar

旅行期間のカレンダー予定を読み込み、ブログ下書きとしてレビューしやすい旅記録 Markdown を出力する。

想定する使い方

  • /trip-log-from-calendar 2026-04-18 から 2026-04-19 の佐賀旅行をまとめて
  • /trip-log-from-calendar 先週末の旅行を旅記録にして

入力

  • 対象期間: 開始日〜終了日(必須、YYYY-MM-DD)
  • 任意のタイトルキーワード(例: 「佐賀」「旅行」)
  • 任意の旅テーマ(例: 「SVリーグチャンピオンシップ観戦」)
  • slug(未指定なら目的地やテーマから kebab-case で自動生成)

期間が不明な場合は推測せずユーザーに確認する。

前提

  • Google Calendar MCP が利用可能(mcp__claude_ai_Google_Calendar__*)
  • 参照カレンダーは primary のみ
  • タイムゾーンは Asia/Tokyo

手順

  1. 対象期間と slug を確定する。曖昧ならユーザーに確認する。
  2. mcp__claude_ai_Google_Calendar__list_events で対象期間の予定を取得する(calendarId: "primary"、timeZone: "Asia/Tokyo")。
  3. 必要に応じて mcp__claude_ai_Google_Calendar__get_event で詳細を取得する。
  4. 取得結果から以下を抽出する。
    • 日付、イベントタイトル、場所、開始/終了時刻、説明欄のメモ
    • 交通機関系(🚄 プリフィックスのイベント等)は「移動」としてグルーピング
    • 宿泊系(🏨 プリフィックスのイベント等)は「宿泊」としてグルーピング
    • その他のイベントは「訪問/アクティビティ」としてグルーピング
  5. 抽出したイベント一覧をユーザーに表で提示し、出力して良いか承認を得る。プライベート予定は除外指定を受け付ける。
  6. templates/travel-log.md に沿って Markdown を組み立てる。
  7. docs/travel/ が無ければ作成する。
  8. ローカル日付の YYYY-MM-DD_<slug>.md(開始日ベース)で保存する。既存ファイルがある場合は上書き前に確認する。
  9. markdownlint-cli2 --fix <file> を実行する(利用可能な場合)。
  10. 生成ファイルのパスを返す。

出力規約

  • 出力先: docs/travel/YYYY-MM-DD_<slug>.md
  • 見出しは Day 単位で切る(1 日 1 セクション)
  • 時刻は HH:MM、タイムゾーンは冒頭に Asia/Tokyo と明示
  • 原文の予定タイトルは改変せず保持、補足メモのみ整形

注意

  • 抽出結果を勝手に脚色しない(訪問先の感想、推測は書かない)
  • カレンダーに無い情報を作らない。ユーザーが補足したい箇所は TODO: として残す
  • 個人情報(電話番号、予約番号、座席番号)が説明欄に含まれる場合、出力時はそのまま残さずマスクするかユーザーに確認する

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Convert Claude markdown subagent files to Codex CLI TOML format. Parses YAML frontmatter and body, applies model/permission/tool mappings, and outputs to agents/codex/<name>.toml.

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 23, 2026

Create or update a Markdown blog draft from recent work and export it with `YYYY-MM-DD_slug.md` naming. Output directory can be set via environment variable or CLI option; if missing, ask the user and pass it explicitly.

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 23, 2026

変更をコミットしてドラフトPRを作成する一連のGit/ghワークフロー。ユーザーが「コミットして」「PR作って」「draft PR」等を求めたときに使用し、status/diff確認・命令形コミット・push・gh pr create --draft(--assignee hodanov)まで実行する。ユーザーの明示リクエストが無くても、実装完了後にcommitやPRが必要になった場面(dev-workflowのcommitフェーズ等)では必ずこれを使う。`git commit` や `gh pr create` を単体でBash直接実行しない。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 23, 2026

1 つの作業ツリーに混ざった差分を、変更理由ごとの意味単位のコミットへ分割する。ユーザーが「コミットを分割して」「意味単位で分けて」「commit-split」等を求めたとき、または機能追加・付随リファクタ・設定/ドキュメント修正が 1 コミットに混在していると気づいたときに使用する。分割案を提示して承認を得てからステージし、コミットごとに単独で成立することを確認する。メッセージ規約・push・PR の作成は commit-and-draft-pr へ委譲する。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 23, 2026

gitleaks + pre-commit を使ってローカルコミット時のクレデンシャル混入を機械的にブロックする。「クレデンシャル漏洩防止」「シークレット混入対策」「gitleaks」「pre-commit シークレット」「credential leak prevention」に言及した場合に使用する。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 23, 2026

依存パッケージ(Go modules / npm / Terraform provider / GitHub Actions / pre-commit 等)の アップグレードを、outdated 検出 → CHANGELOG・破壊的変更の確認 → 更新 → lint/test 検証 → コミットまで一連の手順で安全に適用する。「依存更新」「パッケージを上げて」「dependency update」 「go get -u」「npm update」「provider を上げる」等に言及されたときに使用する。

The English summary is being prepared. Showing the original description.

hodanov/my-pde3Updated Oct 23, 2026

See all skills by hodanov

Report a problem with this skill