rhiza-claude

A Claude Code plugin marketplace providing the
rhiza plugin — slash commands for working in rhiza-managed repos (template
sync, code-quality scoring, and README/doc upkeep).
Not only for Claude Code, and not only for rhiza-managed repos. The same commands
ship as a portable SKILL.md bundle
for other agents, and several of them work in any git repo, or with no repo at all. See
Outside a rhiza-managed repo.
📖 Documentation: https://jebel-quant.github.io/rhiza-claude/ — a dedicated
page for every command. Build it locally with make book.
What this is for
Ten repos need the same CI, Makefile, gates and docs build — and copied scaffolding
drifts. rhiza is that scaffolding kept once,
in a template repository. rhiza-claude is how a repo adopts it: sync from a
pinned template release, then get scored on the result.
Two repos, one boundary. The template owns CI, the Makefile and the docs base;
your repo owns source, tests, pyproject.toml and README prose. A sync
writes only template-owned paths — the ones the last sync recorded — so your code
can't be swept in. There is no blanket git add --all in the flow.
"rhiza-managed" is two files, answering different questions: .rhiza/template.yml
is a pointer (which template, which pinned ref — what we'd sync from), and
.rhiza/template.lock is a record (repo, ref, SHA, timestamp, strategy, every managed
file — what actually arrived). They can disagree, which is why /rhiza:status reports
both and /rhiza:quality checks for both before scoring: the pointer says the repo
is managed, the record says a sync actually happened, and its gates are the ones that
sync delivers. With no record it drops to a degraded mode — template gates skipped,
your own gates run, design scored in full, and the report says so. It probes the
record rather than any file the sync wrote, because which files those are is a
property of the template version: /quality used to look for .rhiza/rhiza.mk, which
template v1.4 stopped shipping, and every fully synced v1.4 repo was told it had never
been synced. /rhiza:release needs neither.
The order still matters — /rhiza:init → merge → /rhiza:update → merge →
/rhiza:quality. /init writes one file of its own and syncs nothing; /update
performs the first sync; /quality needs that content for its full assessment. So
"/init ran and no CI appeared" is the expected result of step one, and a /quality
run before the sync gives you the narrower score rather than nothing.
Two kinds of markdown, and the difference is enforced. skills/ holds
the twelve slash commands you invoke; prompts/ holds nine internal procedures they
Read — kept outside both so they can't be invoked directly. The procedures are where
shared behaviour lives, which is why /init and /update behave identically where they
overlap.
Why prose commands at all: deterministic work belongs in tested code, judgement
belongs in markdown. The bundled stdlib-only Python does what has one right answer
(parsing the lock, merging synced files, comparing versions); the markdown does what
needs a reading of your repo. CI gates the prose too, so a command naming a script or
flag that no longer exists fails the build instead of failing mid-task in front of you.
👉 New here? The documentation site
has the full introduction and a worked first run — empty directory to synced, scored
repo.
Install
/plugin marketplace add Jebel-Quant/rhiza-claude
/plugin install rhiza@rhiza-claude
Or, from a shell, make install runs the equivalent claude CLI commands:
make install
The commands then appear namespaced under the plugin: /rhiza:init,
/rhiza:update, /rhiza:quality, /rhiza:docs. Type /rhiza
to have Claude Code autocomplete them.
Install a specific version
By default the marketplace tracks this repo's default branch, so /plugin install pulls the latest release. To pin to a specific published version,
append that version's git tag as a #<ref> suffix when you add the marketplace
(see the releases page
for available tags):