Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By oliver-kriskav0.1.0MITIn 1 marketplace
Plans a rewrite of an existing app into idiomatic Elixir, starting from what each feature and mechanism is for. Experimental v0.1.0, tested only on small apps; needs the elixir-phoenix plugin.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
rewrite, migration, legacy-code, phoenix, porting, architecture, code-migration, port ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Plan, build and check a rewrite of an existing application into idiomatic Elixir. Experimental (v0.1.0).
An agent that ports one file or feature at a time tends to produce translationese: the legacy framework rebuilt in
Elixir. Callbacks turn into hidden side effects, a job queue turns into a GenServer, the old directory tree reappears
under lib/, and every mechanism is kept because nobody asked why it existed. The public Elixir port of Campfire
(basecamp/once-campfire-elixir) is one example: it runs on raw Plug with a hand-written Action Cable and uses no
Phoenix, Ecto or Oban, while the Django, Laravel, Express and Rust ports of the same app each used their target's usual
framework. That is an observation about the published code, not proof of how it was produced.
This plugin asks the missing questions first: what each feature is for, why each mechanism exists, and which contracts must keep working. Only then does it design the Elixir way of meeting those goals. The source can be any language and any app shape: web apps, APIs, workers and consumers, data pipelines, CLIs, daemons, IoT. Stack packs for Rails, Django, Laravel/PHP, Node, Go and JVM/.NET speed up discovery; every other stack uses the generic method.
/plugin marketplace add oliver-kriska/claude-elixir-phoenix
/plugin install elixir-phoenix
/plugin install rewrite@oliver-kriska
rewrite depends on elixir-phoenix: it hands slices to /phx:plan and /phx:work and consults phx specialists.
Its scripts need python3 (stdlib only; 3.11+ parses pyproject.toml and Pipfile structurally, older versions fall
back to a regex and list those manifests as unparsed). Run the commands from the Elixir project or an empty workspace;
/rewrite:analyze stops when the working directory is the legacy app or inside it.
Each command runs one phase and reads the previous phase's files, so a new session resumes from disk.
/rewrite:start → /rewrite:analyze → /rewrite:architect → /rewrite:roadmap
↓ per slice
/rewrite:verify ← /phx:work ← /phx:plan
| Command | What it does | Writes to .claude/rewrite/ |
|---|---|---|
/rewrite:start [<path>] [--status] [--auto] | Explains the method, detects the phase, checks the source snapshot on resume, names the next command | — |
/rewrite:analyze <path> [--target DIR] [--oracle DIR] [--scope …] [--auto] | Deterministic inventory, charter, then four analysts in parallel | inventory/, kb/, charter.md, analysis/, status.md |
/rewrite:architect [--auto] [--revise ADR-NNN] | Compatibility bar (ADR-000), phx consults for named open questions, architecture, ledger check | architecture/, ledger.md |
/rewrite:roadmap [--next] [--slice NN] [--all] [--no-plan] [--auto] | Cuts vertical slices, writes the seed for one slice, calls /phx:plan | roadmap.md, ../plans/rewrite-NN-*/ |
/rewrite:verify <NN> [--no-run] [--full] | Preflight, fresh test evidence, idiom and parity audits, ledger update, slice gate | verify/NN/ |
elixir-way is a reference skill, not a command: the shared vocabulary, the default mapping, and the knowledge base
that /rewrite:analyze copies into kb/.
.claude/rewrite/
├── status.md # phase, source sha and fingerprints, artifact states
├── charter.md # goals, constraints, scope, steering files, ASSUMED values
├── inventory/ # inventory.json + inventory.md
├── kb/ # copy of the elixir-way references (agents cannot read plugin files)
├── analysis/ # features.md, mechanisms.md, runtime.md, contracts.md (+ domains.md for large apps)
├── architecture/ # ADR-000-compatibility-bar.md, architecture.md, decisions.md, divergences.md, adr/, consults/
├── ledger.md # one row per mechanism (M-), runtime role (R-) and contract (C-)
├── roadmap.md # slices, states, blockers
└── verify/NN/ # preflight.md, evidence/, idiom.md, parity.md, report.md
.claude/plans/rewrite-NN-{name}/
├── interview.md # requirements seed for /phx:plan
├── scratchpad.md # seeded DECISION and DEAD-END entries
└── plan.md # written by /phx:plan
7-day copy clicks
npx claudepluginhub oliver-kriska/claude-elixir-phoenix --plugin rewritePlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.