Commit graph

6 commits

Author SHA1 Message Date
Michael Mayer
47fa9dbe96 Rules: Update shared code comment writing rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-18 17:03:15 +02:00
Michael Mayer
5ada2aa40a Rules: Update shared code comment writing rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-17 15:42:31 +02:00
Michael Mayer
7b18d32143 Rules: Update multi-paragraph JS/Go code comment rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-17 11:37:44 +02:00
Michael Mayer
de3f1d134d Rules: Update comment-rules for multi-paragraph descriptions
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-17 11:25:05 +02:00
Michael Mayer
6ec45db03b Rules: Reorder comment-rule bullets and link real paths
Move the 'leave it out / multi-paragraph comments belong elsewhere'
clause ahead of the indent-examples bullet so the priority order reads
high-to-low, and point the off-source destinations at the real specs/
directory and README.md files instead of generic prose.
2026-05-17 09:21:53 +00:00
Michael Mayer
b06475c266 Rules: Consolidate JS/Go code comment guidance into shared file
Move the duplicated doc-comment guidance out of go-code-style.md and
frontend-rules.md into .claude/rules/code-comments.md so both languages
share one source. Mirror the same block in AGENTS.md for Codex, which
does not load .claude/rules/. Raise the follow-up line cap from 1-2 to
up to 3 to match what compact comments actually need in practice.
2026-05-17 09:13:47 +00:00