← Back to list

todo-collector
by DennisToma
⭐ 0🍴 0📅 Jan 13, 2026
SKILL.md
name: todo-collector description: Scan codebase for TODO, FIXME, and HACK comments and generate a prioritized report. Use when user wants to find or track technical debt. allowed-tools: "Grep,Read" version: 1.0.0
TODO Collector
Scan the codebase for technical debt markers and generate a prioritized report.
Overview
This skill finds TODO, FIXME, HACK, and XXX comments across the codebase, categorizes them by priority and type, and produces a structured report for tracking technical debt.
Instructions
Step 1: Scan for Markers
Use Grep to find all technical debt markers:
Grep pattern: (TODO|FIXME|HACK|XXX|BUG)[\s:]+
Search in common source directories: src/, lib/, app/, or project root.
Step 2: Categorize Findings
For each match, extract:
- File path and line number
- Marker type (TODO, FIXME, HACK, XXX, BUG)
- Comment text - the description after the marker
- Author (if available from git blame)
Assign priority:
- Critical: FIXME, BUG
- High: HACK, XXX
- Normal: TODO
Step 3: Generate Report
Present findings in this format:
# Technical Debt Report
## Summary
- Total items: X
- Critical: X | High: X | Normal: X
## Critical Priority
### [filename:line] FIXME
> Comment text here
## High Priority
...
## Normal Priority
...
Step 4: Optional - Suggest Actions
For each finding, optionally suggest:
- Whether it's still relevant (check surrounding code)
- Estimated complexity to resolve
- Related files that might be affected
Output Format
Markdown report with:
- Summary statistics
- Grouped findings by priority
- Each finding shows file, line, type, and full comment
Example Output
# Technical Debt Report
## Summary
- Total items: 15
- Critical: 2 | High: 5 | Normal: 8
## Critical Priority
### src/auth/login.ts:47 FIXME
> FIXME: SQL injection vulnerability - sanitize input before query
### src/api/users.ts:123 BUG
> BUG: Race condition when updating user profile concurrently
Notes
- This skill only reads and searches, it does not modify files
- For large codebases, consider filtering to specific directories
- Pair with code review skill for deeper analysis of critical items
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon