Agent Skills
› cobusgreyling/loop-engineering
› post-merge-scan
post-merge-scan
GitHub用于扫描最近合并到 main 分支的代码,识别 TODO、废弃 API、断链文档及过期特性标志等遗留问题,并评估风险与修复建议,辅助后续清理工作。
Trigger Scenarios
代码合并后自动触发
定期执行代码库健康检查
Install
npx skills add cobusgreyling/loop-engineering --skill post-merge-scan -g -y
SKILL.md
Frontmatter
{
"name": "post-merge-scan",
"description": "Scan recent merges to main for follow-up cleanup: TODOs, deprecations, broken doc links, stale flags. Use in post-merge cleanup loops.\n",
"user_invocable": true
}
Post-Merge Scan Skill
Output per merge
### PR #N — title (merged DATE)
- Follow-ups found: (list with file:line)
- Risk: low | medium | high
- Effort: small | medium | large
- Suggested loop action: minimal-fix | ticket | escalate-human | skip
What to look for
TODO/FIXMEintroduced in merge- Deprecated APIs still referenced
- Broken internal doc links
- Stale feature flags marked for removal
- Unused imports or dead code clusters (small only)
Rules
- Only scan merges from the last 7 days unless state says otherwise.
- Large refactors → ticket, not auto-fix.
- Medium+ risk paths → escalate-human.
- Be concise — this runs off-peak, not during active dev hours.
Version History
- e55bb6d Current 2026-07-05 11:07


