marola-devkit
The shared dev-flow harness for the marola repos (MIP-0070 §5.1): the stacked-PR, PR-body, issue
and trailer tools, the git hooks, the org invariants block, the issue forms and labels, the reusable
workflows, and a Claude Code plugin with the generic skills, agents and hooks. Every marola repo
consumes it at a pinned version, and its own AGENTS.md says which pieces it opts out of.
Status: this is v0.20.4; each repo pins its own version. Changes per release are in
CHANGELOG.md.
Try it
nix run github:marola-dev/marola-devkit/v0.20.4#docs-lint -- --self-test # any tool, no checkout
nix develop # in a checkout: every tool on PATH, plus the lint toolchain
just quality # this repo's gates
claude --plugin-dir plugins/marola-devkit # the plugin, from this checkout
What's in it
| Path | Holds |
|---|
scripts/ | The tools the flake puts on PATH, each with its lib/ and fixtures/ beside it |
plugins/marola-devkit/ | The Claude Code plugin: skills, agents, hooks; listed by .claude-plugin/marketplace.json |
skills/routing/ | The routing skill with route and session-check beside it; each repo vendors it (MIP-0084) |
agents/invariants.md | The org invariants block every repo's AGENTS.md carries |
.github/ | labels.yml, ISSUE_TEMPLATE/, the PR template, rulesets/ (main-rule.json, ci-rule.json), and the reusable workflows |
.githooks/ | The opt-in pre-commit and pre-push hooks |
devkit.just | The just module consumers import |
flake.nix | Packages, apps, the base dev shell, and lib.<system> for consumers |
tests/self-tests.sh | Every tool's --self-test in one run |
docs/ | This repo's design, development and reference pages |
Tools on PATH
| Tool | What it does |
|---|
stack | Stacked-PR mechanics for mip-NNNN/k-slug branches: start, pr, restack, status, link |
uprd / uprds | Write a PR body from the branch's commits; the same for a whole MIP stack |
pr-flow | The whole PR workflow: fill trailers, push, write the body (not pr, which is coreutils') |
trailer-fill | Add a missing Tested: trailer, and a task branch's Closes #N line |
issues | Labels sync, Definition of Ready, the agent-ready queue, claims, tasks-to-issues, the board |
agents-check | Compare AGENTS.md's invariants block with the pinned devkit's agents/invariants.md |
docs-lint | MIP-0074's stale-content check over README.md and docs/**/*.md |
skills-vendor | Pin vendored skills to an upstream commit in skills.lock (check, outdated, update, init) |
wiring | MIP-0076's cross-repo wiring tables (artifacts, dispatches, pin bumps, deploys), parsed from an umbrella checkout and its submodules |
ruleset-sync | Check or apply the branch rulesets in .github/rulesets/ (main-rule, ci-rule) to a repo, or every repo of an org |
api-docs-push | Force-push a directory as one orphan commit to a branch; the api-docs workflow's push step |
graph | A pinned graphify, offline and keyless, its graph in the user cache: build, query, path, explain |
route / route-usage | The same graph and the wiring from the umbrella's routing-bundle branch, stdlib only; which local sessions used them |
mip-resolve | Find a MIP or .tasks.md in the repo, the umbrella checkout, or via gh api |
mip-stack, docs-mip-stack, deps-stack, deps-merge, branches | Stack and merge helpers |
pr-label, backfill-pr-labels | Apply the deterministic area/* label taxonomy to one PR; to every finalized unlabelled PR |
pr-label-nlp | A local TF-IDF classifier for the same labels, to compare against the deterministic one |
workflow-runners | Fail when any workflow can reach a self-hosted runner |
gha-runner, setup-runners, runner-preflight, temps | The self-hosted Actions runner |
Every tool has a --self-test that runs offline. Usage, flags and recipes:
docs/4-reference_tools.md.
Claude Code plugin
marola-devkit@marola-devkit: the mip, mip-tasks, mip-solve-perpetual, triage, easy-issue-solver,
humanizer, ponytail*, sharingan, skill-copy, obsidian-vault,
voice-note-ingest and voice-to-feature skills; the mip-reviewer and mip-claims-auditor
agents; and three hooks (format on edit, a once-per-session nudge to run the repo's gate, a
session-start summary).
The vendored skills are pinned in plugins/marola-devkit/skills/skills.lock
(skills-vendor).
Contracts