diary
Skill này làm gì
Hệ thống này tự động lưu tiến độ phát triển của bạn vào một nhật ký. Nó giữ công việc của từng dự án riêng biệt và có tổ chức, đồng bộ với các dịch vụ như Notion và Obsidian.
Khi nào nên dùng
- ✓Khi bạn muốn ghi lại những gì bạn đã làm trong dự án hôm nay.
- ✓Khi bạn muốn xem lại tiến độ hằng ngày một cách có tổ chức.
- ✓Khi bạn muốn giữ lịch sử riêng cho từng dự án bạn đang làm.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/diary/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Ghi lại tiến độ của tôi cho dự án “personal-website” hôm nay, bao gồm các thay đổi trong file X và Y.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI trước tiên xác định tên dự án của bạn và lưu thành tựu của bạn vào file nhật ký riêng cho dự án đó. Sau đó, nó kết hợp nhật ký này với tiến độ chung và gửi mọi thứ tới Notion và Obsidian.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
📔 Unified Diary System
When to Use This Skill
Use this skill when you want to summarize progress, write a daily dev log, or perform a daily review while keeping project contexts isolated and synced to Notion/Obsidian.
🚨 Agent One-Shot Integrity Constraint (Highest Priority): Steps 1-4 are an indivisible atomic workflow. The AI MUST use Continuous Tool Calling to complete all actions in one breath.
- ABSOLUTELY FORBIDDEN to output conversational text and wait for the user after completing Step 1, 2, or 3.
- Example: Immediately after saving the file in Step 1, you must automatically and instantly call the terminal tool to execute the script in Step 2. Stopping to chat or asking "Should I continue?" is considered a critical error. Only inform the user explicitly if you are stuck due to a technical error.
⚠️ Ironclad Rule 1: The local project diary in Step 1 must NEVER be polluted with global data. It only records the current project. ⚠️ Ironclad Rule 2: When using tools like
run_commandto execute predefined python scripts (Step 2, Step 4), you must set them toSafeToAutoRun: trueto avoid getting stuck waiting for user authorization. ⚠️ Ironclad Rule 3: Never guess the project name. The AI must confirm the current directory name as the project identifier using a terminal command BEFORE taking any action in Step 1.
Step 1: Local Project Archiving (AI Generation)
- Action 0 (Identify): Call the terminal
pwd(Linux/Mac) or(Get-Item .).Name(Windows) to confirm the current folder name. - Action 1 (Write): Summarize the achievements from the current conversation (Git Commits, file changes, task progress), and write them into the current project folder at
diary/YYYY/MM/YYYY-MM-DD-ProjectName.md. - Isolation and Naming Rules (Ironclad Rules):
- 📄 Mandatory Filename Suffix: The local diary MUST include the project name detected just now. It is absolutely forbidden to use a global-level filename (like
2026-02-23.md) locally. - ✅ Pure Content: Only record content exclusive to the current project. Do not mix in other projects.
- 📝 Append Mode: If the project diary already exists, update it using "append", never overwrite the original content.
- 📁 Auto-Creation: Create subfolders
diary/YYYY/MM/based on the year and month. - ⚡ Force Continue: Once writing is complete, do not interrupt the conversation; immediately call the terminal tool and proceed to Step 2.
- 📄 Mandatory Filename Suffix: The local diary MUST include the project name detected just now. It is absolutely forbidden to use a global-level filename (like
Step 1.5: Refresh Project Context (Automation Script)
- Prerequisite: You have confirmed the current project directory path (from Action 0's
pwdresult). - Action: Call the terminal to execute the following command to automatically scan the project state and generate/update
AGENT_CONTEXT.md:python {diary_system_path}/scripts/prepare_context.py "<Project_Root_Path>" - SafeToAutoRun: true (Safe operation; purely reading and writing local files).
- Result:
AGENT_CONTEXT.mdin the project directory is refreshed to the latest state. - After Completion: Force continue to Step 2; do not wait for user confirmation.
Step 2: Extract Global & Project Material (Script Execution)
- Action: Call the extraction script, passing in the absolute path of the project diary just written in Step 1. The script will precisely print "Today's Global Progress" and "Current Project Progress".
- Execution Command:
python {diary_system_path}/scripts/fetch_diaries.py "<Absolute_Path_to_Step1_Project_Diary>" - Result: The terminal will print two sets of material side-by-side. The AI must read the terminal output directly and prepare for mental fusion.
Step 3: AI Smart Fusion & Global Archiving (AI Execution) 🧠
- Action: Based on the two materials printed by the terminal in Step 2, complete a seamless fusion mentally, then write it to the global diary:
{diary_system_path}/diary/YYYY/MM/YYYY-MM-DD.md. - Context Firewall (Core Mechanism):
- No Tag Drift: When reading "Global Progress Material", there may be progress from other projects. It is strictly forbidden to categorize today's conversation achievements under existing project headings belonging to other projects.
- Priority Definition: The content marked as
📁 [Current Project Latest Progress]in Step 2 is the protagonist of today's diary.
- Rewrite Rules:
…
Câu hỏi thường gặp
Điều gì xảy ra nếu tôi đã có nhật ký cho dự án này?
Hệ thống thêm thông tin mới vào nhật ký hiện có, mà không xóa những gì đã có trước đó.
“Context Firewall” là gì?
Đây là một quy tắc đảm bảo nhật ký của một dự án không trộn lẫn thông tin từ các dự án khác, giữ mọi thứ riêng biệt và có tổ chức.
Điều gì xảy ra sau khi nhật ký được lưu?
AI gửi nhật ký tới Notion và Obsidian, rồi hỏi bạn có muốn cập nhật ghi chú chung dựa trên những gì bạn đã học không.
Chi tiết
Mô tả gốc của tác giả
Unified Diary System: A context-preserving automated logger for multi-project development.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #6269
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.