rulecheck

Scan codebases for rule violations, apply fixes in isolated worktrees, and generate PRs.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/ChatGPT-KB/Archon-mirror --skill rulecheck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rulecheck
Source: https://github.com/ChatGPT-KB/Archon-mirror/tree/main/.claude/skills/rulecheck
Command: npx skills add https://github.com/ChatGPT-KB/Archon-mirror --skill rulecheck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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.

Core Features & Use Cases

  • Autonomous rule-checking agent that scans, fixes, validates, and creates PRs with memory of past runs.
  • Worktree isolation ensures changes are isolated from the main repository.
  • Persistent memory across runs to improve future performance and backlog management.
  • Hooks-based safety gates, automated lint fixes, Slack notifications, and meta-judge feedback.

Quick Start

Launch the rulecheck-agent with an optional focus area to automatically scan, fix, validate, and PR rule violations.

Frequently Asked Questions about rulecheck

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate codebase rule violation detection and fixes?

Autonomous rule-checking automates codebase rule violation detection by scanning your project against defined rule sets, applying fixes in isolated worktrees, running full validation, and generating pull requests to ensure compliance.

What is the best way to enforce CLAUDE.md rules in a CI/CD pipeline?

Enforcing CLAUDE.md rules in CI/CD pipelines uses an autonomous agent to scan for violations, apply automated lint fixes, validate changes in isolated worktrees, and submit PRs with persistent memory tracking progress across runs.

How does persistent memory improve automated code quality checks across runs?

Persistent memory improves automated code quality checks by tracking progress across runs, which enhances future performance and manages the backlog of rule violations for continuous, autonomous remediation without losing context.

Can I isolate code quality lint fixes from the main repository branch?

Yes, you can isolate lint fixes from the main repository branch by applying changes in isolated worktrees, ensuring that automated code remediation and validation occur safely without affecting the primary codebase directly.

Do I need safety hooks to prevent dangerous actions during autonomous pull request generation?

Safety hooks are necessary to prevent dangerous actions during autonomous pull request generation, ensuring that automated code fixes, validation processes, and remediation steps operate within safe, controlled boundaries.

Why use worktree isolation for automated code remediation?

Worktree isolation for automated code remediation ensures that rule violation fixes are contained in separate branches, preventing unintended changes to the main repository while running full validation before merging.