mix compile.ledger_ui_skill (LedgerUI v0.2.0)

Copy Markdown View Source

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.