About
The write-rules skill is a specialized tool for Agentic Context Engineering, allowing developers to automate the creation and management of .claude/rules/ files. By utilizing glob patterns and path-scoping, it ensures that Claude receives the right instructions for the right files—such as API standards for backend code or testing protocols for spec files—without cluttering the global context. This modular approach optimizes token usage while maintaining strict adherence to project-specific architectural patterns and coding styles.