rule-audit

Identify AGENTS.md invariant D-01 through D-27 deviations with file:line evidence.

5|Updated Nov 18, 2025
One-click install
npx skills add https://github.com/DuqueOM/ML-MLOps-Portfolio --skill rule-audit-duqueom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-audit
Source: https://github.com/DuqueOM/ML-MLOps-Portfolio/tree/main/.devin/skills/rule-audit
Command: npx skills add https://github.com/DuqueOM/ML-MLOps-Portfolio --skill rule-audit-duqueom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated scan of a service/repo for compliance with AGENTS.md invariants D-01 through D-27 — produces a PASS/FAIL report with file:line evidence.

Core Features & Use Cases

  • Invariant catalog checks across the D-01 → D-27 suite, surfacing violations with precise evidence.
  • Integrates with conftest and Rego-based policies to validate Kubernetes manifests, CI pipelines, and code repositories.
  • Produces an auditable remediation plan (CONSULT) and supports selective scope via subset flags.

Quick Start

Run rule-audit against your service directory to generate a PASS/FAIL report with evidence.

Frequently Asked Questions about rule-audit

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

FAQPage Schema
How do I audit my repository for AGENTS.md invariant compliance?

To audit AGENTS.md invariant compliance, run rule-audit against your service directory to scan code, infrastructure manifests, and CI pipelines for deviations across invariants D-01 through D-27. It generates a structured PASS/FAIL report with precise file:line evidence.

Does the governance audit automatically fix invariant violations in my code?

The governance audit does not automatically fix invariant violations. It is a READ-ONLY tool that identifies deviations and produces an auditable remediation plan for human approval, ensuring you maintain control over all codebase changes.

Can I use conftest and Rego policies to validate Kubernetes manifests?

Yes, you can use conftest and Rego-based policies to validate Kubernetes manifests. The audit integrates with these tools to evaluate infrastructure configurations and CI pipelines against the defined D-01 through D-27 invariants.

How do I scan only a specific subset of invariants instead of the full D-01 to D-27 range?

To scan a specific subset of invariants, use the selective scope subset flags provided by the tool. This allows you to target particular checks within the D-01 through D-27 suite rather than running the full compliance audit.

What is the best way to generate an auditable remediation plan for CI pipeline deviations?

The best way to generate an auditable remediation plan for CI pipeline deviations is to run rule-audit across your repository. It surfaces invariant violations with precise file:line evidence and proposes structured remediation actions for human consultation.