aif-rules

Append project-specific AI rules to .ai-factory/RULES.md for consistent policy application.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/afterwork/arra-aif --skill aif-rules-afterwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-rules
Source: https://github.com/afterwork/arra-aif/tree/main/.cursor/skills/aif-rules
Command: npx skills add https://github.com/afterwork/arra-aif --skill aif-rules-afterwork

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool enables teams to codify project-specific AI operating rules by appending them to the central .ai-factory/RULES.md. Each invocation ensures policy consistency across tasks and sessions.

Core Features & Use Cases

  • Rule accumulation: Append new conventions to RULES.md with each invocation.
  • Automatic loading: Rules are automatically loaded by /aif-implement before execution.
  • Use Case: A developer adds a policy that all rule prompts must be signed by an alias before processing sensitive data.

Quick Start

Invoke /aif-rules with your rule text to 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 define project-specific AI rules for consistent task execution?

You can define project-specific AI rules by invoking the tool with your rule text to append conventions to the .ai-factory/RULES.md file, ensuring policies apply consistently across sessions.

How are AI conventions loaded before executing a development task?

AI conventions are automatically loaded by the /aif-implement signal before execution, ensuring the central RULES.md policies are actively enforced during your development task.

What is the best way to manage accumulated AI automation conventions for a project?

Managing AI automation conventions is handled by appending new rules to a central RULES.md file with each invocation, accumulating project policies for consistent application across tasks.

Can I enforce a rule that prompts must be signed before processing sensitive data?

Yes, you can enforce a rule that prompts must be signed by an alias before processing sensitive data by adding it to the central RULES.md file through this tool.

Do I need any specific dependencies to set up AI automation rules?

No specific dependencies are required to set up AI automation rules; the tool operates independently by reading user input and appending it directly to the central RULES.md file.