aif-rules

Append project-specific coding rules and conventions to a central RULES.md file.

2|Updated Aug 22, 2025
One-click install
npx skills add https://github.com/drsapaev/final --skill aif-rules-drsapaev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-rules
Source: https://github.com/drsapaev/final/tree/main/.codex/skills/aif-rules
Command: npx skills add https://github.com/drsapaev/final --skill aif-rules-drsapaev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps maintain project consistency by allowing you to define and enforce specific coding rules and conventions.

Core Features & Use Cases

  • Rule Management: Add new rules or conventions to a project-wide RULES.md file.
  • Consistency Enforcement: Ensures that all team members adhere to the same standards.
  • Use Case: When starting a new project, you can use this Skill to establish rules like "Always use DTO classes instead of arrays" or "Routes must use kebab-case".

Quick Start

Use the aif-rules skill to add the rule that all database queries must go through repository classes.

Frequently Asked Questions about aif-rules

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

FAQPage Schema
How do I define and enforce coding standards in an AI-driven development workflow?

To enforce coding standards in AI-driven development, you define specific project conventions that are appended to a central RULES.md file. This ensures the AI and team members consistently adhere to established guidelines.

What is the best way to manage project-specific rules for consistent code generation?

Managing project-specific rules is best handled by adding rules directly to a project-wide RULES.md file or defining them interactively. This approach guarantees adherence to your coding standards and best practices.

Can I use a central rules file to establish conventions like using kebab-case for routes?

Yes, you can use a central rules file to establish conventions like requiring kebab-case for routes or mandating DTO classes instead of arrays. The system supports both direct rule addition and interactive rule definition.

How do I add a rule that all database queries must go through repository classes?

You can add a rule that database queries must go through repository classes by appending it to the central RULES.md file. This ensures the convention is enforced across the entire project workflow.

Does this approach support interactive rule definition for new software projects?

Yes, this approach supports interactive rule definition for new software projects alongside direct rule addition. You can interactively establish and append project-specific rules to a central RULES.md file to maintain consistency.