This repository holds Sealambda's engineering standards. It is not a community
project. It is public because GitHub reads default community files only from a
public .github repository, and private repositories consume it without
credentials (ADR 0002). It holds
no secrets and no operational detail.
Sealambda repositories consume it. Each repository follows the adoption guide in
order and keeps its own facts. The guide needs Git, and Nix with the
nix-command and flakes features enabled.
- Community files.
CONTRIBUTING.md,SECURITY.md,SUPPORT.md, the issue forms and the pull request template. GitHub shows them in every repository of the organization, public or private, that has no file of its own (GitHub documentation). A repository inherits them without any step. A file of the same name in the repository overrides one. The issue forms follow a rule per folder, not per file. A repository that has valid issue templates or aconfig.ymlin its own.github/ISSUE_TEMPLATEfolder uses none of the hub's forms. - Toolchain. A Nix flake with pinned development shells and the
organization's treefmt configuration,
lib.mkTreefmt. - Dependency updates.
default.json, a shared Renovate preset for update timing, grouping and security fixes. A repository'srenovate.jsonextends it and adds only its own managers, constraints and rules. - Tool configuration. Settings for the tools that read only a file in the
repository: EditorConfig, markdownlint-cli2, Vale, lychee, commitlint and the
lefthook commit-msg hook. The
sync-configapp copies the files, and theconfig-in-synccheck fails when a copy differs. - CI building blocks. The reusable workflows
secrets.yml(gitleaks from the hub's flake) andchange-text.yml(commit messages and pull request text; it needs thedocsdev shell of the caller). Call the reusable workflow shows how to call them. The flake checklib.mkDocsCheckruns markdownlint-cli2, lychee and Vale with the Google style and the hub's own style. The hub's style keeps pages in the present tense.
The pages follow Diátaxis.
- How-to guides. Adopt the hub in a repository, Change a toolchain version.
- Reference. Toolchain versions, Elixir quality checks, the Renovate preset, decision records and writing style.
- Explanation. The decision records say why the hub works as it does. They are Markdown files that people review.
- Templates. Templates for decision records and pages. A decision record starts from the MADR 4.0.0 template.
- Enter the shell with
nix develop. Install the hooks once per clone withlefthook installinside it. The pre-commit hook fails on an unformatted file and formats it, so stage the file and commit again. It also fails on a misspelling and rewrites nothing. - Run every check with
nix flake check. Format withnix fmt. - The tool files in the root, such as
.vale.ini,lychee.toml,.editorconfigandlefthook-commit-msg.yml, are copies of the files inconfig/. Editconfig/, then runnix run .#sync-config. Theconfig-in-synccheck fails when a copy differs.
Read CONTRIBUTING.md. To report a vulnerability, read SECURITY.md.