aif-rules

Append new project rules to .ai-factory/RULES.md and load them before task execution.

2|Updated Sep 13, 2022
One-click install
npx skills add https://github.com/horizontalsystems/solana-kit-ios --skill aif-rules-horizontalsystems
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aif-rules
Source: https://github.com/horizontalsystems/solana-kit-ios/tree/main/.claude/skills/aif-rules
Command: npx skills add https://github.com/horizontalsystems/solana-kit-ios --skill aif-rules-horizontalsystems

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 before task execution.
  • Deduplicate existing rules and ensure consistent formatting across the rules set.
  • Support interactive or direct-rule input to fit different workflows and prompt patterns.

Quick Start

Provide the rule text to /aif-rules to append it to the project 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 append project conventions to a rules file automatically?▼

To append project conventions automatically, provide the rule text to the Skill, which appends it to .ai-factory/RULES.md. It creates the directory and file if they do not exist, saving rules under the specified header.

Can I add multiple project rules at once without creating duplicates?▼

You can add multiple project rules at once using direct-add or interactive modes without creating duplicates. The Skill features built-in deduplication to ensure consistent formatting and prevent repeated entries in the rules set.

How are project rules loaded before task execution?▼

Project rules are loaded before task execution by saving them to .ai-factory/RULES.md. These saved conventions are then automatically loaded and applied by /aif-implement prior to executing subsequent tasks.

What is the best way to manage coding conventions for automated workflows?▼

The best way to manage coding conventions for automated workflows is centralized governance. This Skill appends new rules to a single RULES.md file, ensuring automated tasks consistently retrieve and apply established project standards.

Does adding a rule require manually creating the .ai-factory directory first?▼

Adding a rule does not require manually creating the .ai-factory directory first. The Skill automatically creates the .ai-factory directory and the RULES.md file if they are missing during the rule appending process.