import-todos
Import TODOs
Discover TODO/FIXME comments in the codebase and convert selected ones into task files.
Instructions
The user may optionally provide flags in $ARGUMENTS (e.g. --marker TODO, --dir ./src, --include "*.go").
-
Discover TODOs: Run
taskmd todos list --format json $ARGUMENTSvia Bash to find all TODO/FIXME/HACK/XXX/NOTE/BUG/OPTIMIZE comments in the codebase- If the command fails, check that
taskmdis installed and thetodossubcommand is available (requires taskmd v0.12+)
- If the command fails, check that
-
Handle empty results: If no TODOs are found (empty JSON array
[]or no output), inform the user:"No TODO/FIXME comments found in the codebase. Try widening your search with
--diror removing--markerfilters."- Stop here — do not proceed further
-
Check for duplicates: Run
taskmd list --format jsonto get existing task titles. For each TODO, check if its text closely matches an existing task title (case-insensitive substring match). Flag any potential duplicates. -
Present the list: Display the TODOs as a numbered list in this format:
More from driangle/taskmd
complete-task
Mark a task as completed. Use when the user wants to mark a task as done or complete.
26do-task
Look up a task by ID or name and start working on it. Use when the user wants to pick up and execute a task.
25add-task
Create a new task file following the taskmd specification. Use when the user wants to add a new task to the project.
23next-task
Get the next recommended task to work on. Use when the user asks what to work on next or needs a task assignment.
22get-task
Get details of a specific task by ID or name. Use when the user wants to view or look up a task.
21verify-task
Run verification checks for a task and evaluate results. Use when the user wants to verify a task's acceptance criteria.
21