Agent Skills
› cobusgreyling/loop-engineering
› post-merge-scan
post-merge-scan
GitHub扫描合并到 main 分支的近期提交,识别技术债务、待办事项、调试代码及清理机会。对问题进行分类并生成优先级修复列表,更新状态文件。仅在非高峰时段运行,限制自动修复次数,架构债务需人工处理。
触发场景
代码合并至 main 分支后
需要定期技术债务扫描时
安装
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.
版本历史
- e55bb6d 当前 2026-07-05 11:06


