docs: add documentation requirements to CLAUDE.md

Remind to update README when adding new CLI flags, NixOS module
options, metrics, or major features.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-08 23:40:20 +01:00
parent f9f97eb41d
commit acfb142788

View File

@@ -94,6 +94,15 @@ Update the `const version` in `main.go`. The Nix build extracts the version from
**When to bump**: If any Go code has changed, bump the version before committing. Do this automatically when asked to commit. On feature branches, only bump once per branch (check if version has already been bumped compared to master).
## Documentation
When adding new features, always update `README.md` to include:
- New CLI flags (add to the CLI Flags table)
- New NixOS module options (add to the NixOS Module Options example)
- New metrics (add to the appropriate Metrics table)
- Major features that need explanation (add a dedicated section)
## Key Design Decisions
- Go chosen for mature Prometheus client library and static binary output