# `mix compile.ledger_ui_skill`
[🔗](https://github.com/devaction-labs/ledger_ui/blob/v0.2.0/lib/mix/tasks/compile.ledger_ui_skill.ex#L1)

A Mix compiler that regenerates `.claude/skills/ledger-ui/` when the installed `ledger_ui` is not
the version the skill was written for, so `mix deps.update ledger_ui` and a compile leave the
skill exact. Opt in, in the host app's `mix.exs`:

    def project do
      [
        compilers: [:ledger_ui_skill] ++ Mix.compilers(),
        ...
      ]
    end

It does nothing when the app has no skill yet (run `mix ledger_ui.install` or
`mix ledger_ui.gen.skill` once), when the skill is already for this version, and in the `:prod`
environment.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
