aif-rules

Append project-specific rules to .ai-factory/RULES.md with duplicate detection.

Updated Aug 4, 2025
One-click install
npx skills add https://github.com/Svarog83/php-log-monitor --skill aif-rules-svarog83
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-rules
Source: https://github.com/Svarog83/php-log-monitor/tree/main/.cursor/skills/aif-rules
Command: npx skills add https://github.com/Svarog83/php-log-monitor --skill aif-rules-svarog83

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add project-specific rules and conventions to .ai-factory/RULES.md. 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".

Core Features & Use Cases

  • Append new rules to .ai-factory/RULES.md and load them for future invocations.
  • Interactive mode to add rules when no argument is provided.
  • Duplicate detection to prevent redundant rules and maintain a clean RULES.md.

Quick Start

Provide a rule text to add, and the system will append it to .ai-factory/RULES.md.

Frequently Asked Questions about aif-rules

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

FAQPage Schema
How do I persist project-specific conventions and rules for future AI task execution?

To persist project-specific conventions, you can append new rules to a centralized .ai-factory/RULES.md file. This ensures the guidelines are automatically loaded and enforced during future task executions.

What is the best way to automatically load project rules and guidelines during developer workflows?

The best way to automatically load project rules is by storing them as entries in a .ai-factory/RULES.md file. The system loads these persisted rules automatically before executing subsequent tasks.

How do I add a new rule to my project standards without creating duplicates?

To add a new rule to your project standards without duplicates, the system validates existing rules in RULES.md during the append process. This duplicate detection maintains a clean and non-redundant ruleset.

Can I use interactive mode to add project rules when no specific argument is provided?

Yes, you can use an interactive mode to add project rules when no argument is provided. This allows you to manually input and capture evolving guidelines on demand.

When do I need to update my project-specific rules and conventions in RULES.md?

You need to update project-specific rules in RULES.md when user guidelines evolve and must be enforced during task execution. This applies to developer workflows where you want the system to remember specific conventions.

Does the rule management system work without external dependencies?

Yes, the rule management system works without external dependencies. It autonomously updates the .ai-factory/RULES.md file and handles rule persistence and duplicate validation internally.