aif-rules

Append project-specific rules to the central RULES.md artifact.

Updated Mar 23, 2024
One-click install
npx skills add https://github.com/Ard2p/sk-bar-site --skill aif-rules-ard2p
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-rules
Source: https://github.com/Ard2p/sk-bar-site/tree/main/.cursor/skills/aif-rules
Command: npx skills add https://github.com/Ard2p/sk-bar-site --skill aif-rules-ard2p

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Maintains consistent project conventions by automatically aggregating and persisting rules in the central RULES.md artifact.

Core Features & Use Cases

  • Automated rule consolidation: appends new rules to the central RULES.md artifact on each invocation.
  • Context-aware updates: loads project-specific overrides from .ai-factory/skill-context and .ai-factory/config.yaml to guide updates.
  • Area-aware registration: supports area-specific rules and ensures they are mirrored in the configuration for accurate policy enforcement.

Quick Start

Use /aif-rules to add a new rule for the current project and automatically register it in the appropriate rules file.

Frequently Asked Questions about aif-rules

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

FAQPage Schema
How do I automatically enforce project conventions across a codebase?

You can enforce project conventions by automatically aggregating new policies into a central RULES.md artifact. This approach applies project-specific policies across the codebase using deterministic rule creation with conflict checks.

How do I add a new project convention rule without causing conflicts?

To add a new project convention rule safely, append it to the central RULES.md file using a process that includes conflict checks. This ensures deterministic rule creation and safe integration into your existing implementation workflow.

Does config.yaml support area-specific rules for different parts of a project?

Yes, config.yaml supports area-specific rules by loading project-specific overrides from the .ai-factory directory. Area-aware registration ensures specific rules are mirrored in the configuration for accurate policy enforcement.

What is the best way to maintain consistent coding standards in an automated workflow?

The best way to maintain consistent coding standards is by automatically consolidating policies into a central RULES.md file. Loading context overrides from config.yaml guides updates and ensures safe integration into automated implementation workflows.

Why are my project conventions not applying correctly when the codebase updates?

Project conventions may not apply correctly if skill-context overrides in .ai-factory are not loaded properly. Deterministic rule creation requires loading these context-aware updates from config.yaml to guide accurate policy enforcement across the codebase.