Prompt file imported from TsuyoshiUshio/buka-samples (
.github/prompts/cleanup.prompt.md). Copyright stays with the author.
Cleanup — Checklist Files
Respond in the language the user is using in the chat.
Remove or archive completed checklist files from the project root.
Procedure
-
List all checklist files in the project root matching
checklist-*.md. -
For each file, read it and check its status:
- If ALL steps are marked
[x](complete) or[~](skipped): it is done. - If any steps are still
[ ](incomplete): it is in progress.
- If ALL steps are marked
-
Show a summary to the user:
Checklist files found: ✅ checklist-setup-gmail-api.md — all steps complete ✅ checklist-add-calendar-feature.md — all steps complete 🔄 checklist-write-parser.md — 3 of 5 steps complete -
Ask the user what to do with the completed files:
- Delete: Remove completed checklist files permanently.
- Keep: Leave everything as-is.
-
Execute the user's choice. Never delete in-progress checklists.
