rule-sweep

Capture architectural rules, sweep repositories for violations, and enforce conformance.

8|1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/Heavy-Chain-Engineering/etc --skill rule-sweep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-sweep
Source: https://github.com/Heavy-Chain-Engineering/etc/tree/main/skills/rule-sweep
Command: npx skills add https://github.com/Heavy-Chain-Engineering/etc --skill rule-sweep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

In-flight architecture-rule capture and sweep ensures that human-stated architectural rules are captured and transformed into machine-enforced gates, preventing drift and enabling consistent conformance.

Core Features & Use Cases

  • Capture mid-build rules and append them to the baseline with provenance
  • Sweep the repository for violations and dispatch file-isolated fix agents
  • Re-run the conformance checker to enforce rules going forward in live gates

Quick Start

Invoke rule-sweep to capture a mid-build rule and dispatch fix agents to sweep the repository for violations.

Frequently Asked Questions about rule-sweep

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

FAQPage Schema
How do I automate architectural rule capture and enforce conformance during active development?

Automated rule capture transforms human-stated architectural rules into machine-enforced gates, preventing drift by sweeping repositories for violations and applying mechanical repairs during active development.

How do I sweep a multi-repo session for architectural rule violations?

Sweeping a multi-repo session involves dispatching file-isolated fix agents to detect architectural rule violations, execute safe mechanical repairs, and re-run a conformance checker to enforce live gates.

What is the best way to baseline mid-build rules with provenance for continuous conformance?

Baselining mid-build rules involves capturing human-stated rules and appending them to a baseline with provenance, enabling consistent conformance checking and live gate enforcement going forward.

Can I execute safe mechanical repairs automatically when architectural drift is detected?

Yes, a file-isolated fix agent system executes safe mechanical repairs automatically when architectural drift is detected, sweeping the repository and re-running conformance checks to enforce rules.

Does architectural gatekeeping work for both single-repo and multi-repo development sessions?

Architectural gatekeeping applies to both single-repo and multi-repo development sessions, requiring a baseline management flow, conformance checker, and file-isolated fix agents to enforce mid-build rules.

Why do I need a baseline management flow and conformance checker for rule sweeps?

A baseline management flow and conformance checker are needed for rule sweeps to capture mid-build rules with provenance, append them to the baseline, and re-run live gates to prevent architectural drift.