~ / rigs / MilczekT1 / Corral

MilczekT1/Corral

ArchUnit rules that fail in the test loop your coding agent already runs, and tell it how to fix them

↗ GitHub ★ 2 MIT updated 24d ago project Claude Code
field: unknown workflow: Testing & TDDPR / code review
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~2.5k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit MilczekT1/Corral/.claude ./rig-corral  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit MilczekT1/Corral/.claude/skills/adding-a-rule .claude/skills/adding-a-rule
$ curl -fsSL --create-dirs -o .claude/agents/rule-reviewer.md https://raw.githubusercontent.com/MilczekT1/Corral/main/.claude/agents/rule-reviewer.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Skills (1)

Subagents (1)

rule-reviewer
model: opus
Reviews an implemented Corral rule (a branch diff, a rule class or a rule id) for the defects that leave the build green while enforcing nothing. Report-only. Runs predicate mutation testing in a thro

Slash commands (1)

/review-rule-proposal

Similar rigs

copied ✓