AI Agent Rule Architect
Standardizes the creation and maintenance of agent constraints and behavioral rules within the .agent-src ecosystem.
The Rule Writing skill provides a rigorous framework for defining agent constraints, ensuring that behavioral rules remain distinct from workflows or reference guidelines. It implements a structured drafting protocol (Understand-Research-Draft), enforces strict size budgets to minimize token bloat, and provides specific pathing conventions for cross-platform compatibility. By automating classification between universal (always) and triggered (auto) rules, it helps maintainers build lean, effective, and governed agent configurations that remain within operational budget limits.
Key Features
01Rule vs. Skill classification logic to prevent workflow bloat
02Automated size enforcement and frugality auditing
037 GitHub stars
04Structured drafting protocol (Understand → Research → Draft)
05Trigger-based description generation for reliable rule activation
06Built-in linter and CI validation paths for rule integrity
Use Cases
01Converting recurring agent mistakes into permanent governed constraints
02Refactoring oversized agent prompts into efficient, modular rules
03Establishing new behavioral boundaries and constraints for an AI agent