Agent skill · Backend & API

learn-from-fix

Capture Elixir/Ecto/LiveView lessons and Hex API rules. Use after corrections or when asked to document learning, record a lesson, prevent a fixed mistake, or remember package guidance with --library.

oliver-kriskagithub.com/oliver-kriskaGitHub ↗
claude-codeMIT
Install
npx skills add oliver-kriska/claude-elixir-phoenix --skill learn-from-fix --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: plugins/elixir-phoenix/skills/learn-from-fix/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 515
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Learn From Fix After fixing a bug or receiving a correction, capture the lesson to prevent future mistakes. ## Usage ``` /phx:learn-from-fix Fixed N+1 query in user listing - was missing preload /phx:learn-from-fix String vs atom key mismatch in params handling /phx:learn-from-fix LiveView assign_async needs render_async in tests /phx:learn-from-fix --library ical --scope personal ICal.to_ics output needs CRLF line endings /phx:learn-from-fix --library ical --scope project Use method: "PUBLISH" for calendar feeds ``` ## Workflow ### Step 1: Verify the Lesson Persist only one of: - A completed fix verified by tests, reproduction, or user confirmation - An explicit rule the user taught or asked to save Stop without writing if neither condition is met. Do not save a hypothesis, unverified workaround, investigation narrative, or unsolved error. Use `/phx:compound` for a detailed completed investigation. Capture the root cause as a concise actionable rule, not the symptom. ### Step 2: Select the Route When both `--library <package>` and `--scope personal|project` are present, use the [Library Route](#library-route). Require both flags; do not guess scope. For the skill directory only,

What's inside
Steps it walks through
  1. Usage
  2. Workflow
  3. Step 1: Verify the Lesson
  4. Step 2: Select the Route
  5. Step 3: Check Existing Knowledge
  6. Library Route
  7. Resolve Scope and Precedence
  8. Read the Locked Version
  9. Create or Safely Update the Skill
  10. General Correction Route
  11. Output
  12. Iron Laws
  13. References (READ-ONLY — do NOT edit)
Ships with 1 file
  • references/common-mistakes.md
More from claude-elixir-phoenix
All skills →
About this skill
What does the learn-from-fix skill do?

Capture Elixir/Ecto/LiveView lessons and Hex API rules. Use after corrections or when asked to document learning, record a lesson, prevent a fixed mistake, or remember package guidance with --library.

How do I install it?

Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill learn-from-fix --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From oliver-kriska/claude-elixir-phoenix, a repository with 515 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going