Skip to content
Agentmart
Submit a tool

green-loop

Run a bounded validation loop for current changes: tests, compile/checks, reviewer, verifier, fixes, then repeat until green or capped.

Skill by FrauH0lle

IndexedGPL-3.0★ 16
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/frauh0lle-green-loop

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Run a bounded validation loop for current changes: tests, compile/checks, reviewer, verifier, fixes, then repeat until green or capped. Use when user asks to make changes green, run review and verify, 'until everything passes', or prepare a change for final validation.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/green-loop

What's inside

Skill name
green-loop
Description
Run a bounded validation loop for current changes: tests, compile/checks, reviewer, verifier, fixes, then repeat until green or capped. Use when user asks to make changes green, run review and verify, 'until everything passes', or prepare a change for final validation.
License
GPL-3.0
Instructions
66 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Green Loop

Run an explicit, bounded validation loop for the current change in the active
main request. The goal is not to chase perfection indefinitely; it is to surface
the real state of the work, fix actionable issues, and stop with a clear report.

This skill runs inline on purpose. Apply in-scope fixes directly in the main
loop when edit tools are available. Use agents only for read-only review,
verification, or focused investigation.

## Loop contract

Use at most three review/verify rounds unless the user explicitly asks for more.

Each round:

1. Identify the changed files and the intended behavior.
2. Run the most focused relevant validation first.
   - Prefer matching ERT files when the changed module has one.
   - Run `npx @emacs-eask/cli compile` for shared or cross-module Elisp changes.
   - Use broader `npx @emacs-eask/cli test ert test/test-*.el` only when the change
     warrants it.
3. Run a reviewer for code-review findings when there are non-trivial diffs.
4. Run a verifier for adversarial validation. Treat `VERDICT: FAIL` as blocking.
5. Fix only actionable issues that are in scope for the requested change. Make
   these edits yourself in the main request; do not ask an explorer, reviewer,
   or verifier to edit.
6. Re-run the failing or most relevant validation after each fix batch.

Stop early when:

- focused validation passes,
- reviewer has no blocking findings,
- verifier returns `VERDICT: PASS`, and
- no unresolved diagnostics remain in touched files.

Stop and ask when:

- findings contradict the user's requested direction,
- the fix requires a scope expansion,
- validation needs an unavailable environment, or
- edit tools are unavailable in the current preset,
- the loop would need a third round.

## Constraints

- Do not make unrelated refactors while trying to get green.
- Do not hide failing checks. Report exact commands and failures.
- Do not use destructive Git commands.
- Do not edit generated artifacts such as `*.elc`.
- Keep reviewer/verifier findings tied to exact `file:line` references.
- Do not delegate implementation to read-only agents. They may return analysis,
  review findings, or verification results only.

## Final report

Return:

- changed files,
- validation commands run and results,
- reviewer findings fixed or remaining,
- verifier verdict,
- remaining risks,
- whether another round is recommended.

From FrauH0lle/mevedel, GPL-3.0.

More from FrauH0lle/mevedel

Signals

Stars
16
Forks
1
Open issues
0
Last commit (this folder)
Aug 21, 2026 (2 months ago)
Last release
Oct 22, 2026 (7 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
GPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from FrauH0lle

Cite this page

green-loop skill. Agent Mart. https://agentmart.dev/skills/frauh0lle-green-loop (last updated 2026-10-24)