karaage0703/xs-diary
| 日記スキル。日次の振り返りとNotion連携。 「日記書いて」「日記の時間」「今日やったこと記録して」「diary」で発動。 「日記」というワードが含まれたら必ずこのスキルを使うこと。memory/への追記だけで終わらせない。
npx skills add https://github.com/karaage0703/ai-assistant-workspace --skill xs-diary
1日を日記形式で記録する。notes/ + Notion の両方に残す。
| 場所 | 用途 |
|------|------|
| notes/YYYYMMDD_diary.md | 日記本体 |
| memory/YYYYMMDD.md | 参考資料(会話ログ・調べたこと) |
| Notion日記DB(任意) | 画像・動画付きリッチ版 |
memory/YYYYMMDD.md を読む(その日の出来事・会話ログ)date -d "YYYY-MM-DD" +%A で曜日を確認(思い込みで書かない)notes/ や workspace-RAG で、その日の関連メモ・発信・作業ログを確認するnotes/YYYYMMDD_diary.md を作成。
Notion連携が設定されている場合、notion-manager スキルの notion_tool.py を使って日記ページを作成。
cd skills/notion-manager
# ページ作成
uv run python notion_tool.py diary <DB_ID> -t "YYYYMMDD_タイトル" -d YYYY-MM-DD
# 見出し・本文を追加
uv run python notion_tool.py append <page_id> -H "今日の出来事"
uv run python notion_tool.py append <page_id> -b "内容..."
# 画像アップロード(キャプション付き)
uv run python notion_tool.py upload /path/to/photo.jpg <page_id> -c "キャプション"
git add notes/ memory/ && git commit -m "日記 YYYYMMDD" && git push
MM/DDの日記完了!
Notion日記: https://www.notion.so/xxx(Notion連携時)
やったこと:
- ...
---
tags: [diary]
---
# YYYYMMDD (曜日)
## タイムライン
- HH:MM 出来事
## 食事
- 朝:
- 昼:
- 夜:
## 気づき・学び
## 開発作業
## 気分・体調
## 明日の予定
セクション順序: 日常(タイムライン・食事) → 開発 → その他
□ `date` コマンドで曜日を確認した
□ 日常セクションに食事・家族・ペット・散歩・仕事を記録した
□ 日常セクションが開発より上にある
□ memory/ にファイル操作で書き込んだ
□ 投稿文は日本語のみ、作業ログ混入なし
□ 推定値と実測値を混同していない
Take karaage0703/xs-diary from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.