keep-green

Installation
SKILL.md

Keep Green

Keep the current branch green by running the full gate, repairing breaks, and committing the fix.

Steps

  1. Detect the project's check commands — package.json scripts, Makefile, cargo, or pyproject.toml.
  2. Run in order: typecheck → tests → build. Stop at the first red gate.
  3. Read the failure output. Fix minimally — do not refactor beyond the break.
  4. Re-run the failed gate until it passes, then run the full sequence to confirm nothing regressed.
  5. Commit from the repo root with a conventional message: fix: <what was broken>.

Constraints

  • Never push to main/master.
  • Never run migrations or touch .env/secrets.
  • Never deploy.
  • Give up after 3 attempts on the same failure — report the blocker instead of guessing.

Report format (each run)

Installs
1
First Seen
Jun 9, 2026
keep-green — jpoindexter/ai-agent-skills