用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill stale-todo-finder命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | stale-todo-finder |
| description | name: finding-stale-todos Use when this capability is needed. |
name: finding-stale-todos description: Find and analyze stale TODO, FIXME, HACK comments in codebases using git history. Use when user mentions stale TODOs, old comments, tech debt cleanup, forgotten TODOs, or code archaeology. run-in-subagent: true allowed-tools:
Find forgotten TODO/FIXME/HACK comments and track their age using git blame.
Copy this checklist:
Stale TODO Analysis:
- [ ] Step 1: Scan for TODO comments
- [ ] Step 2: Analyze staleness with git blame
- [ ] Step 3: Categorize by age
- [ ] Step 4: Generate actionable report
Find all TODO-style comments in the codebase:
python scripts/find_todos.py <directory> --format json
Patterns detected:
TODO, FIXME, HACK, XXX, BUG, OPTIMIZECorrelate TODOs with git history:
python scripts/analyze_staleness.py <directory> --min-age 90
Output includes:
TODOs are grouped into staleness buckets:
| Category | Age | Priority |
|---|---|---|
| 🔴 Ancient | >1 year | High - likely forgotten |
| 🟠 Stale | 6-12 months | Medium - needs review |
| 🟡 Aging | 3-6 months | Low - monitor |
| 🟢 Recent | <3 months | OK - still relevant |
Create actionable markdown report:
python scripts/generate_report.py <directory> --output stale_todos.md
Report includes:
| Script | Purpose |
|---|---|
find_todos.py | Find all TODO comments |
analyze_staleness.py | Git blame analysis |
generate_report.py | Generate markdown report |
generate_html_report.py | Generate interactive HTML report |
User: "Find forgotten TODOs in this project"
find_todos.py . → Finds 47 TODOsanalyze_staleness.py . → 12 are older than 1 yeargenerate_report.py . → Creates report with:
Sample output:
## 🔴 Ancient TODOs (>1 year) - 12 found
| File | Line | Age | Author | Content |
| ------------ | ---- | -------- | ------ | ------------------------ |
| src/utils.py | 42 | 847 days | @alice | TODO: optimize this loop |
| lib/auth.js | 156 | 623 days | @bob | FIXME: handle edge case |
Filter by patterns or paths:
# Only FIXME and BUG
python scripts/find_todos.py . --patterns FIXME,BUG
# Exclude vendor directories
python scripts/find_todos.py . --exclude "vendor/*,node_modules/*"
# Only show TODOs older than 6 months
python scripts/analyze_staleness.py . --min-age 180
Converted and distributed by TomeVault — claim your Tome and manage your conversions.