スキル一覧に戻る
DBS-Dev2000

create-briefing-entry

by DBS-Dev2000

Version-controlled repository for Claude Code and Claude Desktop agents and skills

0🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: create-briefing-entry description: Creates a new Notion database entry for daily briefings. Triggers on "Create a briefing entry for [date]", "Initialize today's briefing", "Set up a new daily briefing". Called by briefing-generator orchestrator as step 1. Validates date, checks for existing entries, applies standard template, initializes Status=Collecting, Phase=1-Email.

Create Briefing Entry

Creates new daily briefing entries in the Notion database with proper template structure.

Input Parameters

ParameterRequiredFormatDescription
dateYesYYYY-MM-DDBriefing date (past/present/future allowed)

Execution Workflow

Step 1: Validate Date

  • Format must be YYYY-MM-DD
  • Must be a real date (no 2026-13-45)
  • Use system date for "today" references

Step 1.5: Format Title

Generate a human-readable title from the date:

Format: "Day, Month Date Year" (e.g., "Wednesday, January 14, 2026") Use full day name (Monday, Tuesday, etc.) Use full month name (January, February, etc.) This will be used as the page title property

Step 2: Check for Existing Entry

Tool: notion_query_database

{
  "database_id": "b063f8ee-870e-4caa-956b-1e1e24da31cf",
  "filter": {
    "property": "Date",
    "date": { "equals": "2026-01-15" }
  }
}

If results found, return already_exists: true with entry details.

Step 3: Create Database Entry

Tool: notion_create_database_item

{
  "database_id": "b063f8ee-870e-4caa-956b-1e1e24da31cf",
  "properties": {
    "Name": {
      "title": [{ "text": { "content": "Wednesday, January 15, 2026" } }]
    },
    "Date": {
      "date": { "start": "2026-01-15" }
    },
    "Status": {
      "select": { "name": "Collecting" }
    },
    "Phase": {
      "select": { "name": "1-Email" }
    },
    "Meeting Count": { "number": 0 },
    "Unread Email Count": { "number": 0 },
    "Active Task Count": { "number": 0 },
    "Deep Work Hours": { "number": 0 }
  }
}

Save the returned page_id (entry_id) - you will need it for Step 4.

Step 4: Apply Template Content to Page Body (MANDATORY)

DO NOT SKIP THIS STEP - The page body MUST be populated with the template.

Tool: notion_append_block_children

{
  "block_id": "[entry_id from Step 3]",
  "children": [
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Generated: [Timestamp added by generate-briefing-summary]" }, "annotations": { "bold": true } }]
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "heading_2",
      "heading_2": {
        "rich_text": [{ "type": "text", "text": { "content": "📅 Today's Schedule" } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "Work Calendar (Prisma)" } }]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "Personal Calendar" } }]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "Family Calendar" } }]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "DataBusiness Calendar" } }]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "Google Calendar" } }]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "heading_2",
      "heading_2": {
        "rich_text": [{ "type": "text", "text": { "content": "📧 Email Highlights" } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "Prisma Work" } }]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Action Required:" }, "annotations": { "bold": true } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "DataBusiness" } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    {
      "object": "block",
      "type": "heading_3",
      "heading_3": {
        "rich_text": [{ "type": "text", "text": { "content": "Personal" } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "heading_2",
      "heading_2": {
        "rich_text": [{ "type": "text", "text": { "content": "✅ Wrike Tasks - Active" } }]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "heading_2",
      "heading_2": {
        "rich_text": [{ "type": "text", "text": { "content": "💬 Teams Chat Action Items" } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "heading_2",
      "heading_2": {
        "rich_text": [{ "type": "text", "text": { "content": "✅ Action Items" } }]
      }
    },
    {
      "object": "block",
      "type": "to_do",
      "to_do": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }],
        "checked": false
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "heading_2",
      "heading_2": {
        "rich_text": [{ "type": "text", "text": { "content": "⚠️ System Alerts Requiring Attention" } }]
      }
    },
    {
      "object": "block",
      "type": "numbered_list_item",
      "numbered_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Loading..." } }]
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "heading_2",
      "heading_2": {
        "rich_text": [{ "type": "text", "text": { "content": "📊 Quick Stats" } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Meetings Today: " }, "annotations": { "bold": true } }, { "type": "text", "text": { "content": "0" } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Unread Emails: " }, "annotations": { "bold": true } }, { "type": "text", "text": { "content": "0" } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Active Wrike Tasks: " }, "annotations": { "bold": true } }, { "type": "text", "text": { "content": "0" } }]
      }
    },
    {
      "object": "block",
      "type": "bulleted_list_item",
      "bulleted_list_item": {
        "rich_text": [{ "type": "text", "text": { "content": "Deep Work Available: " }, "annotations": { "bold": true } }, { "type": "text", "text": { "content": "0 hours" } }]
      }
    },
    { "object": "block", "type": "divider", "divider": {} },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [
          { "type": "text", "text": { "content": "Status: " }, "annotations": { "bold": true } },
          { "type": "text", "text": { "content": "COLLECTING" } }
        ]
      }
    },
    {
      "object": "block",
      "type": "paragraph",
      "paragraph": {
        "rich_text": [{ "type": "text", "text": { "content": "Generated by Claude Daily Briefing Skill" }, "annotations": { "italic": true } }]
      }
    }
  ]
}

⛔ VERIFY the append succeeded before returning success.

Template Content Reference

The above Step 4 applies this template structure as page content:

**Generated:** [Timestamp added by generate-briefing-summary]

---

## 📅 Today's Schedule

### Work Calendar (Prisma)
| Time | Event | Details |
|------|-------|---------|

### Personal Calendar
| Time | Event |
|------|-------|

### Family Calendar
| Time | Event | Location |
|------|-------|----------|

### DataBusiness Calendar
| Time | Event |
|------|-------|

### Google Calendar
| Time | Event |
|------|-------|

---

## 📧 Email Highlights

### Prisma Work
**Action Required:**
- 

**System Alerts:**
- 

### DataBusiness
**Action Required:**
- 

### Personal
**Action Required:**
- 

**Financial Notices:**
- 

### Gmail (Low Priority)
- 

---

## ✅ Wrike Tasks - Active (Top Priority)

### 🔴 In Progress
| Task | Due | Link |
|------|-----|------|

### 🟡 Final Review in Production
| Task | Link |
|------|------|

### 🟠 On Hold
| Task | Link |
|------|------|

### 🔵 Awaiting Feedback
| Task | Link |
|------|------|

### 📋 Submitted/Backlog
| Task | Link |
|------|------|

---

## 💬 Teams Chat Action Items

- 

---

## ✅ Action Items

- [ ] 

---

## ⚠️ System Alerts Requiring Attention

1. 

---

## 📊 Quick Stats

- **Meetings Today:** 
- **Unread Emails:** 
- **Active Wrike Tasks:** 
- **Deep Work Available:** 
- **Financial Notices:** 

---

**Status:** COLLECTING  
*Generated by Claude Daily Briefing Skill*

Output Format

Success

{
  "success": true,
  "entry_id": "2e8c2c7a-5990-81c4-86a5-cff8fb4ee9d1",
  "date": "2026-01-15",
  "url": "https://notion.so/...",
  "status": "Collecting",
  "phase": "1-Email",
  "already_exists": false
}

Already Exists

{
  "success": true,
  "entry_id": "...",
  "already_exists": true,
  "message": "Entry for 2026-01-15 already exists"
}

Error Codes

CodeDescriptionAction
VAL001Invalid date formatReturn error, request YYYY-MM-DD
VAL002Invalid date valueReturn error, request valid date
DB001Notion connection failedRetry once after 5s, then fail
DB002Database not foundFail immediately

Configuration

const CONFIG = {
  database_id: "b063f8ee-870e-4caa-956b-1e1e24da31cf",
  timezone: "America/New_York"
};

⛔ MANDATORY: SAVE BEFORE COMPLETING

This skill is NOT complete until BOTH:
1. Database entry is created (notion_create_database_item)
2. Template content is applied (notion_append_block_children)

DO NOT return success until BOTH operations succeed.
Unsaved data WILL BE LOST on context compaction.

Integration

  • Called by: briefing-generator orchestrator, direct user request
  • Followed by: get-calendar-events (Phase 2)
  • API calls: 3-4 (search existing, create page, append template blocks)
  • Expected time: 3-6 seconds
  • ⛔ MUST SAVE: Entry AND template content BEFORE returning

スコア

総合スコア

45/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です