rule-loader
CommunitySmart rule-loading for AI agents.
Software Engineering#token-budget#dependency-resolution#ai-rules#rule-loading#foundation-loading#domain-matching#activity-matching
Authorsfc-gh-myoung
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Rule Loader determines which rule files to load for a given user request by evaluating file extensions, directory references, and keywords against RULES_INDEX.md. It coordinates foundation loading, domain matching, activity matching, and dependency resolution while enforcing token budgets across phases.
Core Features & Use Cases
- Foundation loading: always load 000-global-core.md before any other rule.
- Domain and activity matching: map file extensions and keywords to domain rules and activity rules to form a loading plan.
- Dependency resolution: ensure prerequisites are loaded before dependents according to Depends metadata.
- Token budget management: track total tokens and defer low-priority rules when budgets are exceeded.
- Debugging and auditing: output a clear Rules Loaded log with reasons for each loaded or deferred rule.
Quick Start
Use the rule-loader skill in your agent conversation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rule-loader Download link: https://github.com/sfc-gh-myoung/ai_coding_rules/archive/main.zip#rule-loader Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.