aif-rules

Solid

Add project-specific rules and conventions to the configured RULES.md artifact. Each invocation appends new rules. These rules are automatically loaded by $aif-implement before execution. Use when user says "add rule", "remember this", "convention", or "always do X".

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

# AI Factory Rules - Project Conventions Add short, actionable rules and conventions for the current project. Rules are saved to the configured RULES.md artifact (default: `.ai-factory/RULES.md`) and automatically loaded by `$aif-implement` before task execution. ## Rules Hierarchy AI Factory supports a three-level rules hierarchy: 1. **RULES.md** - Axioms (universal project rules) - Managed by this skill (`$aif-rules`) - Short, flat list of hard requirements - Loaded by all skills 2. **rules/base.md** - Project-specific base conventions - Created by `$aif` during project setup - Naming conventions, module boundaries, error handling patterns - Auto-detected from codebase analysis 3. **rules.<area>** - Area-specific conventions - Created by this skill (Mode C) - Registered in `.ai-factory/config.yaml` as named keys such as `rules.api` - Area-specific patterns and constraints **Priority:** More specific rules win. `rules.<area>` > `rules/base.md` > `RULES.md` ## Workflow ### Step 0: Load Config **FIRST:** Read `.ai-factory/config.yaml` if it exists to resolve: - **Paths:** `paths.rules_file` and `paths.rules` - **Language:** `language.ui` for prompts If config.yaml doesn't exist, use defaults: - RULES.md: `.ai-factory/RULES.md` - rules/: `.ai-factory/rules/` - Language: `en` (English) ### Step 0.1: Load Skill Context **Read `.ai-factory/skill-context/aif-rules/SKILL.md`** - MANDATORY if the file exists. This file contains project-specifi...

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