Agent Skills
› cobusgreyling/loop-engineering
› post-merge-scan
post-merge-scan
GitHub用于在合并后扫描最近7天至main分支的PR,识别新引入的TODO、废弃API引用、失效文档链接及过期特性标志。根据风险和建议操作(如最小修复、提票或人工升级)生成结构化清理报告,适用于非高峰时段的自动化后续处理流程。
触发场景
代码合并到主分支后的自动清理循环
需要检查近期提交中遗留技术债务的场景
安装
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.
版本历史
- e55bb6d 当前 2026-07-05 11:06


