Agent Skills
› cobusgreyling/loop-engineering
› post-merge-scan
post-merge-scan
GitHub作为合并后清理代理,扫描最近合并到 main 的代码,识别技术债务、待办事项及调试代码。根据修复难度分类,生成优先级清理列表并更新状态文件,限制自动修复尝试次数。
Trigger Scenarios
代码合并至 main 分支后
需要定期执行代码质量巡检时
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 tech debt, TODOs, debug code, and small cleanup opportunities. Produces a prioritized fix list.\n",
"user_invocable": true
}
Post-Merge Scan Skill
You are a post-merge cleanup agent. Scan recent merges for follow-up work.
Scan Sources
- Recent commits and PRs merged to main
git diff HEAD~10for left-behind debug code- TODO/FIXME/HACK comments in changed files
- Lint warnings introduced by recent changes
Classification
- Small fix: doc/comment/lint/debug — auto-fix candidate
- Architectural debt: ticket for human
- Denylist path: escalate to human
Output
Update post-merge-state.md with prioritized cleanup list.
Rules
- Run off-peak (evening).
- Never auto-fix architectural debt.
- Max 2 fix attempts per run.
Version History
- e55bb6d Current 2026-07-05 11:06


