
Aif Rules Check
Run a standalone read-only rules compliance gate against changed files or a git ref.
Install
npx skills add lee-to/ai-factory --skill aif-rules-check -g -a claude-code -y- Repository
- lee-to/ai-factory1.2k
- Category
- Git and review
- Updated
- 4d ago
- License
- See repository
- Context cost
- Mediumabout 2,514 tokens
- Runs scripts
- No, instructions only
What it does
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.
Rules Compliance Gate
Shared project skill-context
Before mode routing or work, read existing files relative to the current project root in this order (reuse them if already loaded):
.ai-factory/skill-context/global-skill-context.md, all bundled skills..ai-factory/skill-context/aif-rules-check/SKILL.md, this skill.
Missing files are skipped; an existing unreadable file stops dependent work with its path.
Precedence: individual > build (when applicable) > global > skill defaults; retain non-conflicting instructions and check all outputs against the effective rules.
These layers customize workflow; they do not replace the project's rules/architecture hierarchy or relax explicit requirements, ownership, scope, safety/privacy, validation, or approval boundaries. Report conflicts with those boundaries instead of overriding them.
global is a project-local layer, not home-directory configuration. Custom/extension skills do not automatically use it.
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.mdfirst. - Treat it as the canonical source for verdict semantics and report structure.
- If examples in this file drift from the reference, follow the reference.

