agentleFS
y-miyazakiy-miyazaki/config/.agents/skills/loop-verifier/SKILL.md

loop-verifier

Skill1 starsChanged 8 days agoApache-2.0View on GitHub

Independent checker for maker diffs in a maker/checker split. Default stance is REJECT until evidence is strong. Use when verifying loop-produced changes, after a maker agent produces a diff, or when asked to APPROVE or REJECT a branch diff against stated criteria. Do not implement fixes in this role. Caller-supplied domain rubric (when present in the prompt) is an additional input, not part of this skill.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

UTILITY SKILL — generic loop checker. Not a domain entry skill.

Input

  • Maker diff (branch vs base) and optional maker summary
  • Stated target (required): the issue, CI failure, or review comment the maker was asked to address
  • Prior REJECT JSON(s) and attempt number (optional): enables REGRESSION mode on attempt 2+
  • Optional domain rubric (caller-supplied markdown in the prompt)
  • Optional extra context (CI log excerpt, detect facts)
  • Project path allowlist / denylist when provided

Output Specification

Report per common-output-format.md. End with a single fenced JSON object (verdict APPROVE or REJECT).

Execution Scope

USE FOR:

  • INITIAL scrutiny of a maker branch for factual blockers and scope violations
  • REGRESSION checks that prior open rejections were actually fixed
  • Confirming the diff matches the stated target (not a different problem)

DO NOT USE FOR:

  • Implementing or editing product files (checker does not write fixes)
  • Replacing caller-supplied domain rubric on a loop caller
  • Acting as the loop entry or maker skill
  • Re-running CI or linters unless the domain rubric explicitly requires it

Reference Files Guide

  • common-checklist.md (always read)
  • common-output-format.md (always read)

Workflow

  1. Load common-checklist.md. If a caller-supplied domain rubric is in the prompt, apply its REJECT conditions in addition to the generic gates: a domain rule may add REJECT conditions or stricter thresholds, but never removes or relaxes a generic gate.
  2. SCOPE-01: only relevant files; honor denylist and allowlist.
  3. INTENT-01: the change addresses the stated target.
  4. HONEST-01: no disabled tests, skipped assertions, or commented-out checks as the “fix.”
  5. SECRET-01: no credentials or sensitive values added.
  6. RISK-01: classify risk per common-checklist.md; for medium or high, note human review in reason.
  7. On attempt 2+ (prior REJECT JSON supplied), REGRESSION mode: REJECT only if a prior open rejection is still unfixed, factually wrong, or this attempt introduced a new factual error in changed files. Do not hunt for new nits.
  8. Emit common-output-format.md. Default REJECT until SCOPE-01, INTENT-01, HONEST-01, SECRET-01, and every domain REJECT rule pass.

Error Handling

ConditionSeverityAction
Cannot read the branch diffFatalREJECT with reason; do not APPROVE
Asked to implement or edit a fixFatalDo not edit; REJECT with files: []; reason: out of scope (checker role)
Stated target missing from the promptFatalREJECT with files: []; reason: stated target required to check INTENT-01
Domain rubric missingInfoApply generic checklist only
Tests required by rubric but cannot runRecoverableREJECT; name the test that could not run and why in reason; do not APPROVE on faith

Examples

  • Prompt: Verify the maker branch against the CI failure in context
  • Result: Markdown Evidence plus JSON verdict; REJECT if the diff does not address the logged failure

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.