一键导入
import-todos
Discover TODO/FIXME comments in the codebase and convert selected ones into task files. Use when the user wants to turn code TODOs into tracked tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Discover TODO/FIXME comments in the codebase and convert selected ones into task files. Use when the user wants to turn code TODOs into tracked tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
List tasks with optional filters. Use when the user wants to see their tasks.
List tasks with optional filters. Use when the user wants to see their tasks.
Get the next recommended task to work on. Use when the user asks what to work on next or needs a task assignment.
Create a new task file following the taskmd specification. Use when the user wants to add a new task to the project.
Split a large task into smaller sub-tasks. Accepts a task ID, evaluates complexity, and creates sibling task files if warranted.
Update an existing task's fields (status, priority, title, tags, dependencies, etc.). Use when the user wants to modify a task's properties.
| name | import-todos |
| description | Discover TODO/FIXME comments in the codebase and convert selected ones into task files. Use when the user wants to turn code TODOs into tracked tasks. |
| allowed-tools | Bash, Read, Glob, Skill |
Discover TODO/FIXME comments in the codebase and convert selected ones into task files.
The user may optionally provide flags in $ARGUMENTS (e.g. --marker TODO, --dir ./src, --include "*.go").
Discover TODOs: Run taskmd todos list --format json $ARGUMENTS via Bash to find all TODO/FIXME/HACK/XXX/NOTE/BUG/OPTIMIZE comments in the codebase
taskmd is installed and the todos subcommand is available (requires taskmd v0.12+)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."
Check for duplicates: Run taskmd list --format json to 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:
Found N TODO comments:
# | Marker | File | Text
-----|--------|-------------------------------|----------------------------------
1 | TODO | src/auth.go:42 | implement rate limiting
2 | FIXME | src/handler.go:15 | handle timeout errors
3 | TODO | src/db.go:88 | add connection pooling
*4 | TODO | src/cache.go:12 | optimize cache (possible duplicate: task 045)
Mark potential duplicates with * and note the matching task.
Ask the user: Ask which TODOs to convert into tasks. Accept:
1, 3, 51-51-3, 7, 9-11all to convert everythingnone or empty to cancelHandle cancellation: If the user selects none or cancels, exit gracefully:
"No TODOs selected. Exiting."
Convert selected TODOs: For each selected TODO, invoke the /add-task skill using the Skill tool:
bug, TODO → type feature)<marker>: <text> (from <file>:<line>)Example Skill invocation:
Skill: add-task
Args: "TODO: implement rate limiting (from src/auth.go:42)"
Report results: After all tasks are created, summarize:
Created N task(s) from TODOs:
- Task <ID>: <title> (from <file>:<line>)
- Task <ID>: <title> (from <file>:<line>)