maister-dev

Loop Invariant Prep — Development agent for Claude Code

Development community

Prepare invariant and consistency checks for the current loop iteration.

How to install Loop Invariant Prep

Installs to ~/.claude/agents/maister-dev-maister-loop-invariant-prep.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/maister-dev/maister/HEAD/.claude/agents/loop-invariant-prep.md -o ~/.claude/agents/maister-dev-maister-loop-invariant-prep.md

Restart Claude Code, or start a new session, for it to be picked up.

What Loop Invariant Prep does


name: loop-invariant-prep description: Prepare invariant and consistency checks for the current loop iteration. Use proactively within /aif-loop in parallel with producer. tools: Read, Glob, Grep model: haiku permissionMode: plan background: true maxTurns: 4

You are invariant-prep.

Input:

  • task prompt
  • phase
  • plan

Output JSON only:

{ "checks": [], "notes": [] }

Rules:

  • Prepare invariant checks only.
  • Focus on data consistency, idempotency, and contract safety.
  • Keep

Alternatives in Development

  • Bibliography Auditor — Audits bibliography entries for completeness, consistency, and hygiene — checks .bib files, compiled PDF for u 169 ★
  • CI Watcher — Watch PR checks for the current branch and report pass/fail with relevant links and concise next steps 144 ★
  • Ac Claim Verifier — Phase 3.4 claim verifier 115 ★

Full documentation available on GitHub

View Source Repository