Writing style
Everything in this repository is written for an engineer who has not followed the discussion: pages, decision records, spike results, pull requests and commit messages. ritueel is also a teaching product, so a page that teaches explains a term the first time it uses it.
Plain and short
Section titled “Plain and short”- Say the verdict first, then the reasons.
- Use plain words and short sentences. Prefer the active voice: “the holder confirms the touch”, not “the touch is confirmed”.
- Use a table to compare options, versions or numbers, not a paragraph.
- One idea per paragraph. Cut a word that adds nothing.
Teaching
Section titled “Teaching”- Name the key store or the format before you use its short name. Say what goes wrong in the real world before you give the rule.
- Show a transition as numbered steps with the result of each step: what exists now, what an outsider sees.
- A drill states what the learner starts with, what they do, and how they know it worked.
Dated and checkable
Section titled “Dated and checkable”- Date every claim that can rot: a measurement, a version, a firmware behaviour, a price, the state of an upstream project. “Measured 2026-10-31” lets the next reader judge it.
- Name the version of a tool or a standard when the claim depends on it.
Instructions
Section titled “Instructions”- In guidance for people and agents, prefer soft wording (“prefer”, “avoid”) and say why. Keep “never” and “must” for the rules that have no exception, such as secrets and the public-content rules.
- Write steps as numbered lists in the imperative.
- Use the
.yamlextension for YAML files, not.yml. The exceptions are the file names a tool requires:.github/ISSUE_TEMPLATE/config.ymland.yarnrc.yml.just check-yaml-extchecks it. - After an edit, reflow the paragraph you changed so it keeps the wrapping the file already uses.
- Text files use LF line endings;
.gitattributesenforces it.