aif-rules

Maintain hierarchical RULES.md files for project-specific coding conventions.

Updated Jul 15, 2026
One-click install
npx skills add https://github.com/o2b3k/idomarketingbot --skill aif-rules-o2b3k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-rules
Source: https://github.com/o2b3k/idomarketingbot/tree/main/.claude/skills/aif-rules
Command: npx skills add https://github.com/o2b3k/idomarketingbot --skill aif-rules-o2b3k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of AI models forgetting project-specific coding standards, architectural patterns, or team-defined conventions over long development sessions.

Core Features & Use Cases

  • Axiom Management: Maintains a centralized RULES.md file that acts as the source of truth for project-wide constraints.
  • Area-Specific Rules: Supports modular rule sets for specific domains like API, frontend, or database layers.
  • Use Case: When a team decides that all database queries must use repository classes, this Skill allows you to codify that rule so the AI consistently enforces it across all future tasks.

Quick Start

Use the aif-rules skill to add a new convention that all database queries must be performed through repository classes.

Frequently Asked Questions about aif-rules

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

FAQPage Schema
How do I enforce project-specific coding conventions during AI development sessions?

You can enforce coding conventions by maintaining a hierarchical RULES.md artifact that acts as a centralized source of truth for project-wide constraints, ensuring consistent AI behavior across long development sessions.

What is the best way to manage area-specific architectural rules for AI code generation?

Managing area-specific rules involves codifying modular rule sets for distinct domains like API, frontend, or database layers, ensuring the AI consistently applies architectural patterns such as using repository classes for all database queries.

How do I stop AI models from forgetting my team's coding standards over time?

To stop AI models from forgetting team coding standards, you codify project-level constraints into a centralized rules file, maintaining consistent behavior across all future implementation tasks and long development sessions.

Do I need specific configuration access to manage project-level AI coding rules?

Yes, managing project-level AI coding rules requires read and write access to the project's .ai-factory configuration and rules directory to properly enforce the defined architectural constraints.

Can I define global axioms and modular rule sets separately for my development project?

Yes, you can define rules separately by maintaining global axioms for project-wide constraints alongside area-specific modules, allowing you to codify distinct conventions for different domains like frontend or database layers.