dot_claude/skills/daily-report/SKILL.md
GitHub、Google Calendar、Gmail、Notion、ローカル Git の日次アクティビティを取得し、Obsidian Daily Note の Memo セクションに作業ログとして書き出す。ユーザーが「今日の作業まとめ」「daily report」「作業ログ」「/daily-report」と言ったときに使用する。
npx skillsauth add lv416e/dotfiles daily-reportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
複数データソースから日次アクティビティを取得し、Obsidian Daily Note に構造化された作業ログとして書き出す。
/daily-report # 今日のアクティビティ
/daily-report 2026-02-20 # 指定日のアクティビティ
引数なしの場合は当日(currentDate)を対象とする。日付が引数として渡された場合はその日を対象とする。
| ソース | ツール | 用途 |
|--------|--------|------|
| GitHub | gh CLI | Issues, PRs の Open/Close/Merge |
| Google Calendar | mcp__claude_ai_Google_Calendar__* | 会社 + 個人のイベント |
| Gmail | mcp__claude_ai_Gmail__* | 会社メールのサマリ |
| Notion | mcp__claude_ai_Notion__* | ワークスペース更新ページ |
| ローカル Git | git log | 未 push コミットの走査 |
以下の全データソースを可能な限り並列で取得する。
gh api user --jq '.login'
対象日を $DATE として 4 クエリを並列実行:
gh search issues --author=$USER --created=$DATE --json title,url,state,repository,createdAt,closedAt --limit 50
gh search issues --author=$USER --closed=$DATE --json title,url,state,repository,createdAt,closedAt --limit 50
gh search prs --author=$USER --created=$DATE --json title,url,state,repository,createdAt,closedAt --limit 50
gh search prs --author=$USER --closed=$DATE --json title,url,state,repository,createdAt,closedAt --limit 50
以下の 3 カレンダーからイベントを並列取得:
| calendarId | 種別 |
|------------|------|
| primary(= [email protected]) | 会社 |
| [email protected] | 個人 |
| [email protected] | 個人 |
各カレンダーで gcal_list_events を呼び出す:
timeMin: $DATE T00:00:00timeMax: $DATE T23:59:59timeZone: Asia/Tokyogmail_search_messages で対象日のメールを取得:
after:$PREV_DATE before:$NEXT_DATE -category:promotions -category:updates -category:socialmaxResults: 20カレンダー招待の自動返信(承諾: / 辞退: / 仮承諾:)は除外してよい。
notion-search で DB collection://2ac4cfaf-30e6-807f-b7b5-000b93dde2d1(🔬 Procurement AI Lab Tech Notes)を対象に検索:
{
"data_source_url": "collection://2ac4cfaf-30e6-807f-b7b5-000b93dde2d1",
"filters": {
"created_date_range": { "start_date": "$DATE", "end_date": "$NEXT_DATE" },
"created_by_user_ids": ["29bd872b-594c-815c-95c0-000292feb9fe"]
}
}
created_by_user_ids で自分(松島)が作成したページのみに絞り込む編集ページの補足(常時実行): notion-search と並行して、Gmail で from:[email protected] after:$PREV_DATE before:$NEXT_DATE を検索し、Notion 更新通知から自分が関わった更新(編集・コメント含む)を取得する。notion-search の結果と重複するページは統合して 1 件として扱う。
ページ内容の要約: 検索でヒットしたページは notion-fetch でコンテンツを取得し、Daily Note には以下を記載する:
ghq 配下のリポジトリから未 push コミットを走査:
# ghq 配下の全リポジトリを列挙
find ~/ghq -name .git -type d -maxdepth 5
# 各リポジトリで対象日のコミットを取得
git -C $REPO_DIR log --all --oneline --since="$DATE 00:00" --until="$NEXT_DATE 00:00" --author="$(git -C $REPO_DIR config user.name)"
GitHub に push 済みのコミットと重複する場合は省略する。未 push のコミットや、GitHub 上で PR になっていないローカル作業のみ記載する。
各 PR と Issue の詳細を取得する。
PR の詳細(全 PR について取得):
gh pr view $NUMBER --repo $REPO --json title,body,additions,deletions,files,commits \
--jq '{title, additions, deletions, commits: .commits | length, files: [.files[].path], body: .body[:500]}'
Issue の詳細(作成した Issue + body が充実している Close 済み Issue について取得):
gh issue view $NUMBER --repo $REPO --json title,body,labels \
--jq '{title, labels: [.labels[].name], body: .body[:400]}'
/Users/mary/ghq/github.com/lv416e/vault-of-obsidian/Daily Note/$DATE.md## Memo セクション内のプレースホルダー(### Topic 1 / #### sub topic 1)を各セクションに置き換えるDaily Note 書き出し後、mcp__memory__create_entities で当日のサマリを Knowledge Graph に保存する。
daily-report/$DATEDailyReport勤務形態: オフィス / リモート(Calendar の workingLocation や個人カレンダーの出社イベントから判定)Calendar: 主要イベントの時刻とタイトル(簡潔に)PR Merged / PR Open / PR Closed: 番号とタイトルIssue Open / Issue Close: 番号とタイトル主な作業テーマ: その日の作業を 1 行で要約既にエンティティが存在する場合は mcp__memory__add_observations で不足分を追記する。
## Memo セクション内に以下の順序で書き出す。データが無いセクションは省略する。
### Calendar### GitHub Activity### Email Summary### Notion Updates### Local Git### Calendar
| 時間 | イベント | 場所 |
|------|---------|------|
| 終日 | マンジャロ投与Day 🏷️個人 | — |
| 10:00-10:30 | 🌞UPCYCLE Core Daily | — |
| 10:30-11:00 | OKR3定例 | 7F グレーMTGスペース |
| 14:00-15:00 | PEAI 開発タスク | 7F グレーMTGスペース |
🏷️個人 を付与して区別するeventType: "workingLocation" のイベント(例: オフィス)は省略可[email protected] は共有カレンダー。C〇〇(例: C work)はパートナーの予定なので 🏷️パートナー を付与する。R〇〇(例: R Office Day!)は自分の予定なので 🏷️個人 を付与する— と記載する### GitHub Activity (`owner/repo`)
---
#### Pull Requests
##### Merged: [#番号](URL) タイトル
- **+追加行 / -削除行** | ファイル数 files | コミット数 commits
- 変更の要点(PR body から要約)
- サブポイント(大きな変更の場合はカテゴリ別に整理)
- Closes #関連Issue(ある場合)
##### Open: [#番号](URL) タイトル
- (同上の形式)
---
#### Issues - 新規 Open
##### [#番号](URL) タイトル
- Issue の概要(body から要約。body が空なら1行で簡潔に)
---
#### Issues - Close(完了)
| # | タイトル | 概要 | 対応 PR |
|---|---------|------|---------|
| [#番号](URL) | タイトル | 概要 | #PR番号 |
Merged > Open > Closed の順で記述する**+行数 / -行数** のメトリクスは必ず含めるCloses #N から判定)### Email Summary
- 📩 **川島さん**: 査定AIのDB共有などなど(3/10 MTG 招待)
- 📩 **Notion**: 高橋さん他 2名が A1A ワークスペースを更新
### Notion Updates
- [調達AIの競合調査](https://www.notion.so/xxx) — 3/4 更新
### Local Git(未 push)
- `repo-name`: `abc1234` feat: some local work
vault backup:)は除外するdevelopment
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization | 新しいスキルの作成、既存スキルの編集、またはデプロイ前にスキルが機能するか検証する際に使用 - プロセスドキュメントにTDDを適用し、記述前にサブエージェントでテストし、合理化に対して堅牢になるまで反復
development
Use when design is complete and you need detailed implementation tasks for engineers with zero codebase context - creates comprehensive implementation plans with exact file paths, complete code examples, and verification steps assuming engineer has minimal domain knowledge | 設計が完了し、コードベースの知識がゼロのエンジニア向けに詳細な実装タスクが必要な場合に使用 - 正確なファイルパス、完全なコード例、検証ステップを含む包括的な実装計画を作成。エンジニアの領域知識が最小限であることを前提
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.