smart-rules
Installation
SKILL.md
Smart Rules
A skill that analyzes user prompts and efficiently loads only relevant rule/guide documents.
Key Features
- Auto-initialization: Scans project documents and auto-generates config file on first invocation
- Config-based: Category-document mapping defined in project-specific
smart-rules.yaml - Efficient loading: Skips if no match, loads only what's needed
- Dual invocation: Auto-execute before tasks or manual
/smart-rulescommand - Post-TodoWrite trigger: Analyzes todo content and loads relevant rules after TodoWrite
⛔ CRITICAL: Auto-Invocation Rules
AI MUST automatically invoke smart-rules in these situations: