compliance-officer

Audit code against immutable rules in .agent/rules/*.md and report deviations.

Updated Nov 25, 2025
One-click install
npx skills add https://github.com/NikhilVijayakumar/Yantra --skill compliance-officer-nikhilvijayakumar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compliance-officer
Source: https://github.com/NikhilVijayakumar/Yantra/tree/main/.agent/skills/compliance-officer
Command: npx skills add https://github.com/NikhilVijayakumar/Yantra --skill compliance-officer-nikhilvijayakumar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tomli, and includes scripts (resource) components.

What problem does it solve?

Audits code against immutable project rules to ensure consistency, safety, and adherence before changes are merged.

Core Features & Use Cases

  • Scans the repository to verify compliance with .agent/rules/*.md and produces a clear pass/fail report.
  • Identifies missing or violated rules, warns about them, and generates remediation guidance for maintainers.
  • Integrates with CI or manual reviews to enforce governance without executing code.

Quick Start

Run a full audit to validate your codebase against the official rules.

Frequently Asked Questions about compliance-officer

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

FAQPage Schema
How do I audit code for compliance against project rules in CI?

Code compliance auditing scans repository content for rule references and enforces adherence to immutable rules defined in `.agent/rules/*.md` files. It logs pass/fail outcomes in a structured report, useful for CI checks, code reviews, and automated audits across the repository.

How does automated code governance enforcement work?

Automated code governance enforcement works by scanning repository content against immutable rules defined in `.agent/rules/*.md` files. It identifies missing or violated rules, warns about them, and generates remediation guidance for maintainers to ensure consistency and safety before changes are merged.

What is the best way to check repository rules before merging code changes?

The best way to check repository rules before merging is running a full audit to validate the codebase against the official `.agent/rules/*.md` set. It produces a clear pass/fail report, ensuring consistency, safety, and adherence before changes are merged without executing code.

Do I need to define rules in a specific format to use a compliance audit script?

Yes, you need to define rules as Markdown files located within the `.agent/rules/*.md` directory. The compliance audit script scans this specific directory to load the immutable rule set and verify that repository content adheres to it before generating a report.

Can I use this audit script to generate remediation guidance for failed checks?

Yes, you can use this audit script to generate remediation guidance. It identifies missing or violated rules, warns about them, and logs pass/fail outcomes in a structured report, providing specific guidance for maintainers to fix deviations from the `.agent/rules/*.md` set.

What are the limitations of using Markdown files for code review compliance checks?

A limitation of using Markdown files for code review compliance checks is that rules must be manually defined and maintained in `.agent/rules/*.md`. The script enforces these rules without executing code, so it cannot verify runtime behavior or dynamic logic, only static repository content.