What problem does it solve?
After fixing a bug or receiving a correction, valuable lessons are often lost and the same mistakes recur. This Skill persists verified Elixir, Ecto, LiveView, and Hex package knowledge into the right location so it is reused in future sessions.
Core Features & Use Cases
- Verified Lesson Capture: Persists only completed fixes or explicit user-taught rules, rejecting hypotheses and unverified workarounds.
- Library Route: Creates or safely updates user-owned
hex-<package> skills at personal or project scope, recording the locked version from mix.lock and handling scope shadowing conflicts.
- General Correction Route: Routes lessons to project CLAUDE.md, project-keyed auto-memory, or personal instructions based on the narrowest appropriate scope.
- Use Case: After fixing an N+1 query caused by a missing preload, run the skill to record the rule so future sessions check for duplicates and never repeat the mistake.
Quick Start
Ask the assistant to capture the lesson from the fix you just completed, for example by saying to learn from the fix about a missing Ecto preload in the user listing query.