aif-rules-check

Solid

Run a standalone read-only rules compliance gate against changed files or a git ref. Use when you need a dedicated project-rules check without a full review or verify pass.

AI & Automation 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Rules Compliance Gate Run a standalone read-only rules gate for project rules. This command checks rule compliance only; it does not replace `$aif-review` or `$aif-verify`. ## Step 0: Load Contract - Read `references/RULES-CHECK-CONTRACT.md` first. - Treat it as the canonical source for verdict semantics and report structure. - If examples in this file drift from the reference, follow the reference. ## Step 1: Load Config **FIRST:** Read `.ai-factory/config.yaml` if it exists to resolve: - `paths.rules_file` - `paths.rules` - `paths.plan` - `paths.plans` - `language.ui` - `git.enabled` - `git.base_branch` - `rules.base` - named `rules.<area>` entries - `workflow.plan_id_format` (default: `slug`) — used by the optional branch-based plan-context lookup in Step 2.3. Active values: `slug` and `sequential`. When `sequential`, the resolver globs `<paths.plans>/[0-9]{4}_<branch_stem>.md` first and falls back to `<paths.plans>/<branch_stem>.md` only if no numbered match is found. `timestamp` and `uuid` are **reserved values** and currently behave like `slug`. Treat any unknown value as `slug`. If config is missing or partial, use defaults: - `paths.rules_file`: `.ai-factory/RULES.md` - `paths.rules`: `.ai-factory/rules/` - `paths.plan`: `.ai-factory/PLAN.md` - `paths.plans`: `.ai-factory/plans/` - `git.enabled`: `true` - `git.base_branch`: detect the repo default branch from git metadata; fall back to `main` only when detection is unavailable - `rules.base`: `.ai-fa...

Details

Author
maister-dev
Repository
maister-dev/maister
Created
2 weeks ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category