Establish Standards and Repository Hygiene
A repository contains Markdown documentation written by multiple contributors. Without clear standards, metadata contracts, and deterministic tooling, documentation drifts and becomes unreliable.
Goal¶
Establish a predictable documentation system: templates, routing, markup rules, and quality gates that scale with the team.
Steps¶
- Initialize or validate
arqix.tomland the documentation structure. - Define the set of supported document kinds (ADR, US, REQ, workflow, persona, unit, glossary).
- Create and store templates for each kind (EN source).
- Define markup rules for includes and trace markers.
- Run
fmtandlintover the documentation tree. - Fix violations or adjust rules where they block legitimate use.
- Document standards and processes in the handbook (including agent rules).
Outputs¶
- Consistent templates and routing rules
- Deterministic formatting and linting baseline
- Documented conventions in the handbook
- A stable foundation for CI and agents
Failure Modes¶
- Rules are too strict and block real writing patterns.
- Templates are missing and contributors start copy-pasting.
- IDs drift or duplicate due to lack of validation.
Related Commands¶
arqix config validatearqix doc new <kind>arqix fmtarqix lint runarqix trace scan(baseline quality check)
Automation (optional)¶
- just:
just verify— the daily gate doubles as the hygiene pass