Design the idiomatic Elixir architecture for a rewrite: set the compatibility bar (ADR-000), consult phx specialists on open questions, then build contexts, ledger and ADRs. Use after /rewrite:analyze.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Rewrite Architect — Compatibility Bar, Then Design
Phase 2. First decide **what must stay compatible** (ADR-000), then design
the Elixir system that meets the goals inside that bar. The bar comes first
because "idiomatic" and "compatible" pull in different directions, and only
the user can trade them.
```text
/rewrite:analyze → /rewrite:architect <-- YOU ARE HERE
↓
/rewrite:roadmap → /phx:plan → /phx:work → /rewrite:verify
```
## Iron Laws
1. **ADR-000 BEFORE ANY DESIGN** — never spawn the architect without an accepted or ASSUMED bar
2. **THE USER OWNS TRADE-OFFS** — cutover mode, forced logouts, schema changes and UI changes are asked, never inferred
3. **CONSULT BY QUESTION** — spawn a phx specialist only for a named open question, with an evidence packet
4. **LEDGER MUST CHECK CLEAN** — run `ledger.py check` and fix or report every error before presenting
5. **ASSUMED IS NOT APPROVED** — `--auto` decisions stay `ASSUMED` until the user accepts them
6. **SPAWN FROM THIS SESSION** — agents never spawn phx orchestrators (nesting depth)
## Workflow
### 1. Preconditions
…
The line at the top of this page pins the label git:20261016.60a2294, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_bxlkp45awh5vnsaf
GET https://markdownregistry.com/api/v1/resolve?ref=oliver-kriska/claude-elixir-phoenix/architect
GET https://markdownregistry.com/api/v1/blob/19b4357fe718b2ec3ef9b3d7432dda6c3e51cd313714e14d8f44f02f4ba1ba22
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
oliver-kriska/claude-elixir-phoenix · .claude/skills/cc-changelog/SKILL.md · CONTRIBUTOR TOOL - Track CC changelog, extract new versions since last check,
analyze impact on plugin (breaking…
oliver-kriska/claude-elixir-phoenix · .claude/skills/plugin-dev-workflow/SKILL.md · Guide plugin development workflow — editing skills, agents, hooks, or eval framework in this repo. Use when modifying…
oliver-kriska/claude-elixir-phoenix · .claude/skills/promote/SKILL.md · Generate X/Twitter release promotion posts with ASCII tables and CodeSnap rendering. Use when writing release posts…
cursor/plugins · harness/pstack/claude-code/skills/architect/SKILL.md · Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use…
cursor/plugins · pstack/skills/architect/SKILL.md · Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use…
michael-denyer/pstack-claude · plugins/pstack/skills/architect/SKILL.md · Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use…
backnotprop/pstack · skills/architect/SKILL.md · Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use…
sethgammon/citadel · skills/architect/SKILL.md · Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build…
aiskillstore/marketplace · skills/0xsero/architect/SKILL.md · Design systems, plan implementations, review architecture decisions - Use when you need to plan a complex feature…