← ClaudeAtlas

huix-standardlisted

What it is — a standard for making Nix-flake-first Linux repos installable on any distribution without Nix: a canonical install.sh (flag grammar, version flag, uninstall by manifest, a dependency preflight that never installs anything), tab completion for the installer, and docker-based distro tests that run the installer's own printed guidance, with a badge per distribution. Born in the huix family. Use when adding non-Nix install support to a repo, writing or extending an install.sh or its --uninstall, adding installer completions or distro tests, or bringing a repo up to the huix family standard; version numbers and changelogs belong to the versioning skill, CI workflow doctrine to the ci skill. Triggers: install.sh, install.sh --uninstall, install manifest, dependency preflight, distro tests, huix, huix standard, установщик, установка без nix, дистрибутивы, тесты на дистрибутивах.
rokokol/huix-standard-skill · ★ 0 · Web & Frontend · score 75
Install: claude install-skill rokokol/huix-standard-skill
# huix-standard A repo in this family is Nix-first: the flake is the source of truth for what the tool needs and how it is configured. `install.sh` is the same mechanism for everyone else — not a second product, but a faithful projection of the flake onto `/usr/local`. This skill is the checklist and the parts box for building that projection the same way every time Read the reference for the piece you are working on before writing code; copy templates from `templates/` (they mirror the target repo's paths, except `templates/github/`, which lands as `.github/`) and replace `@NAME@` / `@OWNER@` / `@REPO@` tokens. When applying the standard to a repo teaches you something the templates got wrong, fix the template in the same sitting and add a CHANGELOG bullet here — the standard is only real while the repos and the skill agree ## Non-negotiable decisions These were argued once; do not re-litigate them per repo: - **One source of version.** The rule, and everything about changelogs and releases, is the [versioning](https://github.com/rokokol/versioning-skill) skill's and is not restated here. What is a family fact: `nix/package.nix` reads the `VERSION` file with `lib.fileContents ../VERSION`, `install.sh -v|--version` prints it, and an installed copy carries it at `share/<name>/VERSION`. See [references/versioning.md](references/versioning.md) - **Short flags.** Wherever a tool or installer accepts `--help`, `--version`, `--force`, it also accepts `-h`, `-v`, `-f`. Completi