todo-clean
Clean up stale TODOs by comparing each open TODO against git history since its creation timestamp. Asks before marking each as done. Use when user says "/todo-clean", "clean up todos", "check for resolved todos", or "prune stale todos".
- License 许可
- GPL-3.0
- 所属仓库
- matkatmusic/jot
- 最近更新
- 2026-05-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- todo-clean
- description
- Clean up stale TODOs by comparing each open TODO against git history since its creation timestamp. Asks before marking each as done. Use when user says "/todo-clean", "clean up todos", "check for resolved todos", or "prune stale todos".
02 资源文件 1
- 脚本tests/frontmatter-parse-test.sh1.2 KB
03 SKILL.md 正文
/todo-clean — Resolve Stale TODOs
Scan open TODOs and check if git history suggests they've been resolved.
Workflow
- Check for Todos/ directory. If it doesn't exist, say "No Todos/ folder found." and stop.
- Read all
.mdfiles inTodos/(notTodos/done/). Parse YAML frontmatter for: id, title, status, created, branch. - For each open TODO:
a. Extract the
createdtimestamp from frontmatter. b. Rungit log --oneline --since="{created}" -- .to get all commits from that timestamp to now. c. Read the TODO's Idea, Context, and Dependencies sections. d. Compare the commit messages and changed files against the TODO's description. Look for:- Commits that reference the same feature/area described in the TODO
- Files mentioned in the TODO's "Uncommitted files" that have since been committed
- Keywords from the TODO title appearing in commit messages
e. If evidence suggests the TODO was resolved, present it to the user via
AskUserQuestion: - question: "Mark TODO {id} ({title}) as done?"
- options: ["Yes — move to Todos/done/", "No — keep open", "Skip — review later"]
f. If the user picks "Yes", move the file to
Todos/done/and update frontmatter: setstatus: doneand addresolved: {current ISO timestamp}.
- If no TODOs appear resolved, say "All open TODOs still look active."
- Print summary: "Cleaned N of M open TODOs. K remaining."
Rules
- Always ask before moving a TODO to done. Never auto-resolve.
- Create
Todos/done/if it doesn't exist. - If a TODO has no
createdtimestamp, check the full git history and warn about the missing date. - If not in a git repo, say "Cannot clean TODOs without git history." and stop.
- Read-only on all files except the TODO files being moved/updated.
- Be conservative: only flag a TODO as resolved when commit evidence is reasonably clear. When uncertain, skip it.
04 同仓库更多 Skills
todo
Capture a mid-development TODO via "/todo <idea>". Reads a pending-context JSON file left by the UserPromptSubmit hook, asks clarifying questions if the idea is vague, then spawns a background Claude worker in tmux that scans git context and writes the final numbered TODO file. Use when user says "/todo", "park this idea", "save this for later", or "add a todo".
todo-list
Show all open TODOs from the project's Todos/ folder with ID, title, date, and branch. Use when user says "/todo-list", "show my todos", "what todos are open", or "list todos".
plate
暂无简介
jot
Capture a mid-development idea via "/jot <idea>" without losing focus. Writes idea + git state, open TODOs, and recent conversation context to Todos/{timestamp}_input.txt; a background Claude (persistent per project in tmux) converts it into a proper TODO file — all without interrupting your current conversation.
debate
Multi-agent debate (Claude + Gemini + Codex) in tmux. Agents independently analyze, cross-critique, then synthesize. Use when user types "/debate <topic>".
debate-retry
Resume the most recent incomplete debate invoked from this conversation.