What problem does it solve? Agent mistakes, test failure patterns, and repeated user corrections often get fixed once and then forgotten, causing the same errors to recur. This Skill automates the error-to-rule cycle so every incident becomes a permanent, enforceable rule in your project documentation. ## Core Features & Use Cases - Root Cause Classification: Categorizes incidents into six root causes such as ambiguous instructions, missing context, or missing enforcement. - Structured Rule Drafting: Generates rules with trigger, root cause, MUST/MUST NOT statements, correct and incorrect examples, and enforcement method. - Placement Guidance: Routes each rule to the right file, such as AGENTS.md for global policy, GOLDEN-PRINCIPLES.md for code style, or a specific SKILL.md. - Use Case: After an agent repeatedly creates files without the required naming prefix, run this Skill to draft a mandatory naming rule, get approval, and write it into the governing documentation with a verification pass. ## Quick Start Ask the agent to reflect on the recent mistake where it created files without the required prefix and turn it into a permanent rule.