Imported from T5ive/t5ive-skills (
skills/productivity/todo-sweep/SKILL.md). Install upstream withnpx skills add T5ive/t5ive-skills --skill todo-sweep. Copyright stays with the author.
Todo Sweep
Archive done task files in one sweep.
Use the user's target project; if none is named, use the current workspace. Resolve todo/ and run git mv from that project's repository root.
Workflow
- Scan
todo/(excludearchive/) for files withstatus: done. - Destination per file:
todo/archive/YYYY-MM/whereYYYY-MMcomes from the file'sdone:field. - Show the move list and wait for the user's explicit confirmation. Then
git mveach file (create the archive subfolder if needed). Silence is not confirmation. Not a git repo → plain move. - Propose one commit following the git-commit skill format:
chore(🔧todo): เก็บกวาด N ไฟล์ done ลง archive/YYYY-MM
Safety
- Never delete task files.
- Never move a file whose status is not
done. done:missing or unparsable → stop for that file and report; never guess the month.- Nothing to sweep → say so; do not create empty archive folders.