Blog ›
One repo per project
Why ravnix is turning into a tree of small repositories, and what that gives someone who wants just one piece.
ravnix started as one repository for everything I run on my two machines: the laptop that shows the desktop and the server that keeps my terminal sessions alive. A year later it holds the shell, the desktop, a dozen skills for Claude Code, a print service, seventeen small tools in Odin, and the tests for all of it. Some of those pieces are good enough to stand on their own. In one big repository nobody finds them.
So ravnix is turning into a tree.
The problem with one big repository
Say you want the little tool that asks on screen before sudo waits for a tap on your security key. Today you would have to find it in tools/ravnix-tap-ask, read past a NixOS configuration you do not use, and copy the code out. There is no release to pin, no README that starts with your problem, and no issue tracker that is about this tool and nothing else.
The Claude Code skills have it worse. Most people who could use them do not run NixOS at all, and the only way to install them today is to build my whole system.
A flake can already export single pieces, and ravnix does. That solves the import, not the finding. A project people can find has a name, a page, and a reason to exist on its own.
Leaves, a branch, and a trunk
The new layout borrows its words from a tree, because the shape really is one.
- Leaves are projects. Each gets a repository of its own with a README, issues, CI, and releases. You can use one without the rest.
- Branches are repositories that only combine leaves. The first one is my Claude Code setup: it lists the skill plugins, pins each one at a release, and adds the hooks and the status line that tie them together. Someone else can grow a different branch from the same leaves, with their own values.
- The trunk is ravnix. It holds what belongs to my two machines and nowhere else, such as the link between the laptop and the server, or the guard on the server's key, and it pins every leaf and branch it uses.
- The roots are one shared repository: the checks every repository runs, the harness that builds and benchmarks the Odin tools, and the CI workflow. Thirty repositories with thirty copies of a gate would drift apart within a month.
Some things do not become leaves at all. A Catppuccin theme for the Helium browser belongs in the Catppuccin collection, where people look for it. That is the soil the tree grows from, and the right move there is to give back.
Who each part is for
Not every leaf has the same audience. The Claude Code leaves are for anyone who uses Claude Code, on any system, with Nix as one of several ways to install them. The desktop and hardware tools are for Nix users first, because that is how they are built and tested.
That choice decides the work per repository. A skill ships as a plugin plus a small setup command that fills in your own values. An Odin tool ships as a flake and a static binary on each release.
How a change travels
A change starts as a pull request on its leaf. CI runs the shared checks, the same ones my git hooks run locally. When enough has landed, I tag a release, and CI builds what the release ships. Then the branch or the trunk moves its lock file to the new tag.
That is more steps than one commit in one repository. While I work on a leaf, I skip them: Nix can point ravnix at my local checkout for a single build, so no release is needed until the change is ready for anyone else.
What I decided against
A few collections instead of many repositories. Fewer repositories to maintain, but a collection is still a place where a good tool hides behind its neighbors.
Keeping new projects on my own Forgejo until they are public. Moving them later would change every pinned address once. They start on GitHub, private until I publish them, with CI from the first commit.
Splitting everything at once. A tool becomes a leaf when I next touch it for real: a port to Odin, a fix, or someone asking for it.
What comes first
The first leaf is a new project, dvergr. It hands implementation work to free-model workers in a locked-down container, and Claude reviews what comes back. I run out of Claude usage every week, and most of the splitting ahead is the kind of careful, repetitive work a worker can do.
Next come the roots, extracted from what ravnix and dvergr really share rather than from what I guess they will share. After that, the Claude Code branch and its skills, then tools such as tap-ask and disk-guard.
I will write here as the leaves come out.
Projects in this post: ravnix, dvergr, skrá, tap-ask, Claude Code setup