TODO extractor
Turns scattered comments into a planning list.
When to use
- The user asks "what is left to do in this repo?".
- Planning a cleanup sprint or a release, where known shortcuts must be reviewed.
- Before archiving or handing over a project.
How to run
bashpython scripts/find_todos.py src/ python scripts/find_todos.py . --tags TODO,FIXME
Hidden folders, node_modules, venv, dist, build and binary files are skipped.
Output
JSON with total, by_tag (counts) and items, a list of {"file", "line", "tag", "text"}
sorted by file and line. The exit code is always 0 when the path exists.
After running
- Lead with the counts per tag.
FIXMEandHACKusually matter more thanTODO. - Group items by file or folder and point out hot spots.
- Propose an order of work, and mark items that look stale (they mention past dates or removed code).
Errors
A path that does not exist exits with code 2.


