Agent Skills
› cobusgreyling/loop-engineering
› post-merge-scan
post-merge-scan
GitHub用于扫描合并到主分支的近期提交,识别技术债务、TODO及调试代码。按小修复、架构债等分类,生成优先级清理列表并更新状态文件,遵循非高峰运行和限制自动修复次数的规则。
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


