dev-diary
Skill2 starsChanged 6 months agoMITView on GitHub
Manage the project development diary (docs/DEVELOPMENT.md). Add TODO items, mark tasks as done with solutions, list status, and update entries. Use /dev-diary slash commands to interact with the development tracker.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- git-statusSkill
- hello-worldSkill
- markdown-statsSkill
- pdf-to-markdownSkill
- pipeline-analyzerSkill
- run-testsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 6 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
Add a new TODO item to the ## 待解决 section.
- Very specific: line 57
If --id is not provided, generate one by scanning all existing #P-N patterns in the file and using #P-{max+1}
- Very specific: line 59
If --desc is empty, use *(待补充描述)*
- Very specific: line 60
Write the file back (create .backup first via shutil.copy2)
- Very specific: line 69
Search for a line matching - [ ] <title>...
- Distinctive: line 70
If multiple matches, list them all and ask the user to disambiguate with a more specific title
- Distinctive: line 71
If not found, report: "未找到标题匹配 '<title>' 的待解决条目"
- Distinctive: line 72
Remove the line from its priority subsection
- Very specific: line 73
If --phase is provided, use it.
- Very specific: line 76
If --solution is not provided, use *(无详细方案记录)*
- Distinctive: line 77
Write back and report: what was moved, to which phase
- Very specific: line 84
Read and parse docs/DEVELOPMENT.md
- Very specific: line 91
Default --filter all shows both
- Very specific: line 99
Search for the title in ## 待解决 (same matching as done)
- Distinctive: line 100
If not found or ambiguous, report accordingly
- Distinctive: line 106
Write back and report all changes made
- Very specific: line 121
ALWAYS create a .backup of docs/DEVELOPMENT.md before writing
- Very specific: line 122
ALWAYS preserve the --- divider and trailing sections (工具清单, 关键文件索引)
- Very specific: line 123
Use — (em dash) as the separator between title and description, not --
- Very specific: line 126
When a priority subsection becomes empty after done, keep the heading with *(暂无)* placeholder
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dev Diary Skill
Manage docs/DEVELOPMENT.md — the project's development tracker. Use this skill whenever the user asks to record a task, mark work as complete, review project status, or update an existing entry.
File Format
The diary file (docs/DEVELOPMENT.md) has this structure:
# Development Tracker
## 已完成
### <Phase Name> (<date>)
- [x] **<Title>** — <description>
## 待解决
### 高优先级(阻断真实使用)
- [ ] **<Title> (<issue-id>)** — <description>
### 中优先级(体验缺口)
- [ ] **<Title> (<issue-id>)** — <description>
### 低优先级(工程健壮性)
- [ ] **<Title> (<issue-id>)** — <description>
---
## 工具清单
...
## 关键文件索引
...IMPORTANT: Preserve the --- divider, ## 工具清单, and ## 关键文件索引 sections exactly as-is. Never modify these trailing sections.
Commands
/dev-diary add "<title>" [--priority high|medium|low] [--desc "<description>"] [--id "<issue-id>"]
Add a new TODO item to the ## 待解决 section.
Algorithm:
- Read
docs/DEVELOPMENT.md - Locate the
## 待解决section - Map
--priorityto the correct subsection:high→### 高优先级(阻断真实使用)medium→### 中优先级(体验缺口)(default)low→### 低优先级(工程健壮性)
- If
--idis not provided, generate one by scanning all existing#P-Npatterns in the file and using#P-{max+1} - Append:
- [ ] **<title> (<issue-id>)** — <description>to the end of the subsection's list - If
--descis empty, use*(待补充描述)* - Write the file back (create
.backupfirst viashutil.copy2) - Report: what was added, at what priority, with what ID
/dev-diary done "<title>" [--solution "<description>"] [--phase "<phase name>"]
Mark a pending item as completed, moving it from ## 待解决 to ## 已完成.
Algorithm:
- Read
docs/DEVELOPMENT.md - Search for a line matching
- [ ] **<title>...**in## 待解决(case-insensitive substring match) - If multiple matches, list them all and ask the user to disambiguate with a more specific title
- If not found, report: "未找到标题匹配 '
<title>' 的待解决条目" - Remove the line from its priority subsection
- If
--phaseis provided, use it; otherwise use常规迭代(YYYY-MM-DD)with today's date - Locate or create the phase subsection under
## 已完成 - Append:
- [x] **<title>** — <solution> - If
--solutionis not provided, use*(无详细方案记录)* - Write back and report: what was moved, to which phase
/dev-diary list [--filter all|pending|completed]
Display a structured summary of the development diary.
Algorithm:
- Read and parse
docs/DEVELOPMENT.md - Display counts and groupings:
- Completed: grouped by phase, with item count per phase
- Pending: grouped by priority (high → medium → low), with item count per priority
- Format as a clean markdown summary with bullet points
--filter pendingshows only## 待解决--filter completedshows only## 已完成- Default
--filter allshows both
/dev-diary update "<title>" [--new-title "..."] [--priority high|medium|low] [--desc "<new desc>"] [--id "<new-id>"]
Modify an existing pending entry.
Algorithm:
- Read
docs/DEVELOPMENT.md - Search for the title in
## 待解决(same matching asdone) - If not found or ambiguous, report accordingly
- Apply specified changes:
--new-title: replace the title text--priority: move the item to the target priority subsection--desc: replace the description after—--id: replace the issue-id in parentheses
- Write back and report all changes made
Error Handling
| Scenario | Response |
| Title not found in pending | "未找到标题匹配 '<title>' 的待解决条目" |
| Multiple title matches | List all candidates with priority and full title, ask for disambiguation |
## 待解决 section missing | "文件中未找到 ## 待解决 段落" |
## 已完成 section missing | Create it before ## 待解决 |
| Priority subsection missing | Create it with the standard label format |
| File missing entirely | "docs/DEVELOPMENT.md 不存在" |
Important Rules
- ALWAYS create a
.backupofdocs/DEVELOPMENT.mdbefore writing - ALWAYS preserve the
---divider and trailing sections (工具清单, 关键文件索引) - Use
—(em dash) as the separator between title and description, not-- - Pending items use
- [ ], completed items use- [x] - Issue IDs in titles use full-width parentheses:
(#P-1)— but accept half-width(#P-1)as well - When a priority subsection becomes empty after
done, keep the heading with*(暂无)*placeholder - Report results in Chinese (matching the project language)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

