AgentSkillsCN

close-daily

当用户希望“结束每日事项”“完成昨日笔记”“取消剩余待办事项”或“清理每日笔记”时,应使用此技能。它将自动关闭昨日的每日笔记。

SKILL.md
--- frontmatter
name: close-daily
description: This skill should be used when the user wants to "close daily", "finish yesterday's note", "cancel remaining todos", or "clean up daily note". Closes out yesterday's daily note.
version: 1.0.0

Close Daily Skill

This skill closes out yesterday's daily note by canceling unchecked todos and fixing completion dates.

Instructions

  1. Calculate yesterday's date from today's date (use the current date provided in the environment)

  2. Construct the file path for yesterday's daily note:

    • Format: 2. Area/Daily Note/YYYY/MM/YYYY-MM-DD.md
    • Example: 2. Area/Daily Note/2026/01/2026-01-29.md
  3. Read the daily note file using the Read tool

  4. Process unchecked todos (- [ ]):

    • Change checkbox to canceled status: - [-]
    • Append ❌ YYYY-MM-DD using yesterday's date
    • Example: - [ ] Some task becomes - [-] Some task ❌ 2026-01-29
  5. Fix completion dates for checked todos (- [x]):

    • Look for todos with followed by a date
    • If the date doesn't match yesterday's date (the file name), update it
    • Example: - [x] Task ✅ 2026-01-30 becomes - [x] Task ✅ 2026-01-29
  6. Save changes using the Edit tool (make targeted edits for each change)

  7. Report results to the user:

    • Number of todos canceled
    • Number of completion dates fixed
    • Confirm the file was updated

Important Notes

  • Only process the daily note for yesterday, not today
  • Preserve all other content in the file unchanged
  • The emoji characters are: ❌ (canceled) and ✅ (completed)