Post Merge Scan

Scan recent merges to main for tech debt, TODOs, debug code, and small cleanup opportunities. Produces a prioritized fix list.

cobusgreyling Updated 11.8k repo stars
Loop Engineering — design the system that prompts your agents

File contents

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~10 for 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.

cobusgreyling/loop-engineering commit e9c0bd112b

Frequently asked questions

npx get-skill add cobusgreyling/post-merge-scan