domain-rules-reviewer

Validate code changes against DOMAIN_RULES.md and generate compliance reports.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/ylazakovich/car-service-platform --skill domain-rules-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-rules-reviewer
Source: https://github.com/ylazakovich/car-service-platform/tree/main/.agents/domain-rules-reviewer
Command: npx skills add https://github.com/ylazakovich/car-service-platform --skill domain-rules-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that critical business logic changes in the codebase strictly adhere to the defined domain rules, preventing regressions and maintaining business integrity.

Core Features & Use Cases

  • Compliance Verification: Automatically checks if code modifications align with DOMAIN_RULES.md.
  • Discrepancy Reporting: Identifies and reports any deviations between implemented logic and established rules.
  • Use Case: Before merging a pull request that modifies pricing calculations, this Skill verifies that the new logic complies with all defined pricing rules in DOMAIN_RULES.md, flagging any inconsistencies.

Quick Start

Run the domain rules reviewer to check the latest code changes against DOMAIN_RULES.md.

Frequently Asked Questions about domain-rules-reviewer

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

FAQPage Schema
How do I validate code changes against business logic rules?

To validate code changes against business logic rules, this tool checks backend, frontend, and API modifications against defined invariants in DOMAIN_RULES.md. It automatically generates a compliance report detailing pass/fail status for each relevant rule and a final approval verdict.

What is domain rules compliance verification in software engineering?

Domain rules compliance verification is the process of ensuring code modifications strictly adhere to established business logic invariants. This mechanism prevents regressions and maintains business integrity by automatically detecting discrepancies between implemented logic and defined rules.

Can I use this to check API contract changes during a pull request?

Yes, you can use this to check API contract changes during a pull request. It supports trigger conditions for changes in business rules, core logic modules, user flows, and API contracts to verify that modifications strictly align with DOMAIN_RULES.md.

How do I report discrepancies between implemented code and domain rules?

To report discrepancies between implemented code and domain rules, the tool identifies deviations from established rules and generates a detailed compliance report. This report outlines pass or fail status for each relevant rule and provides a final approval verdict.

Do I need a DOMAIN_RULES.md file to run domain rules validation?

Yes, you need a DOMAIN_RULES.md file to run domain rules validation. The tool relies on this file as the source of truth for business logic and invariants to verify that backend, frontend, and API code changes strictly conform to defined rules.

What's the best way to prevent business logic regressions before merging code?

The best way to prevent business logic regressions before merging code is to automatically validate modifications against defined domain rules. This tool flags inconsistencies in pricing calculations, user flows, and API contracts, ensuring strict adherence to business invariants.