What problem does it solve? After solving a problem through trial and error, you often discover patterns worth capturing—rules, workflows, or guidelines that prevent repeating the same mistakes. This Skill helps you systematically extract those insights and embed them where they will actually be followed: as static lint rules, documentation rules, or reusable skills. Without this, insights stay in your head and disappear. ## Core Features & Use Cases - Failure-Success Pairing: Identify what failed first, what finally worked, and why—extracting the "should-have-known" insight. - Deduplication: Cross-check against existing rules and skills to prevent bloat and conflicting guidance. - Destination Classification: Route insights to ast-grep rules (machine-detectable), CLAUDE.md (short directives), or new skills (multi-step procedures). - Use Case: You spent hours debugging because a codebase used Array.from(set).length instead of set.size. Extract this as an ast-grep rule so it never happens again. ## Quick Start When a task ends or the user says "codify this lesson," describe what failed first, what worked finally, and the bridging insight to classify it into a rule, skill, or documentation update.