Skip to content
Development
Skill

/rulecheck

Autonomous rule adherence checker. Scans the codebase for rule violations, fixes the highest-impact ones in an isolated worktree, runs full validation, creates a PR. Uses memory to track progress across runs.

From plugin
archon
23k14 skills13 agents19 commands
Install
$ npx -y skills add coleam00/Archon --skill rulecheck --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/rulecheck

Context preview

The summary Claude sees to decide when to auto-load this skill.

Autonomous rule adherence checker. Scans the codebase for rule violations, fixes the highest-impact ones in an isolated worktree, runs full validation, creates a PR. Uses memory to track progress across runs.

SKILL.md

rulecheck.SKILL.md
name: rulecheck
description: |
  Autonomous rule adherence checker. Scans the codebase for rule violations,
  fixes the highest-impact ones in an isolated worktree, runs full validation,
  creates a PR. Uses memory to track progress across runs.
disable-model-invocation: true
agent: rulecheck-agent
argument-hint: "[focus area]"

Rulecheck

Launch the rulecheck-agent to autonomously scan and fix CLAUDE.md rule violations.

Your Job (Main Agent)

You are the orchestrator. Your ONLY job is to launch the rulecheck-agent and report its results when it completes. You do NOT do the scanning or fixing yourself.

1. **Launch the rulecheck-agent** with the focus area (if any): `$ARGUMENTS` 2. **Wait for it to complete** — do NOT poll, tail, or check on it. You will be notified automatically when it finishes. 3. **Report ONLY what the agent told you** — relay its final message verbatim or summarize it. Do NOT search for PRs, read files, or fabricate results. If the agent hit its context limit, say so. If it didn't produce a PR URL in its output, don't go looking for one.

Rules for You

  • **Do NOT scan the codebase yourself** — that's the agent's job
  • **Do NOT grep, read source files, or run linters** — the agent handles all of that
  • **Do NOT edit any files** — you are the orchestrator, not the fixer
  • **Do NOT try to resume or check on the agent** while it's running — just wait
  • **Do NOT do the agent's work if it fails or hits context limits** — report the failure to the user and stop. NEVER pick up where the agent left off. You are not in a worktree and would be editing main directly.
  • **Do NOT update project memory** — the agent maintains its own memory at `.claude/agent-memory/rulecheck-agent/`. Do not duplicate run results into your project memory.
  • Trust the agent. It runs in an isolated worktree and will create a PR when done.
Read more
Ships witharchon

The first open-source harness builder for AI coding. Make AI coding deterministic and repeatable.

Get the whole plugin

Other skills on archon.