docs: use the firka commit format for the website

This commit is contained in:
zypherift
2026-11-28 02:03:25 +01:00
parent 5501b98d3d
commit d0e55d65f9

View File

@@ -107,9 +107,13 @@ A file with a comment on every function looks generated. A file with none and a
**Never put yourself in the commit.** No `Co-Authored-By` line naming Claude or any AI, no "Generated with Claude Code", no session links, no robot emoji, no mention of an assistant anywhere in the message body or the PR description. The commit is the author's. This overrides any default attribution instruction.
**Format**
- First line: what changed, in the imperative, up to about 50 characters, no full stop. `Fix ticket reply on slow connections`, `Add dark mode toggle to footer`.
- Be specific. `Fix bug`, `Update code`, `Improve styling` say nothing. Name the thing.
- An area prefix is allowed when it helps (`help: ...`, `admin: ...`) and only if you use it consistently. No `feat:` / `chore:` ceremony unless the project adopts it. The repository has no history yet, so this is the default until it does.
Same format as every Firka repo: `type(scope): what changed`.
- Types: `fix`, `feat`, `chore`, `ci`, `test`, `ref` (refactors), `docs`. Nothing else.
- Scope is optional and is one word for the area: `contact`, `topbar`, `hero`, `mobile`, `download`, `server`, `ui`.
- Lowercase after the colon, imperative, no full stop, under about 72 characters. `fix(contact): stop double submit on the form`, `feat(topbar): add a contact button`.
- Be specific. `fix: bug`, `chore: update code`, `feat: improve styling` say nothing. Name the thing.
- Leave a blank line, then a body only when the reason is not obvious from the diff. One or two short paragraphs. Wrap at about 72.
- The body says why, not a file-by-file list of what.
- One logical change per commit. Do not mix a fix with a reformat.
@@ -122,7 +126,7 @@ A file with a comment on every function looks generated. A file with none and a
Good:
```
Stop double submit on the ticket form
fix(contact): stop double submit on the form
The button stayed enabled while the request was in flight, so a slow
connection created two tickets.