Skip to content

Commit 008b95a

Browse files
authored
Merge pull request #602 from synonymdev/chore/import-ai-comments-rule
chore: avoid redundant comments in agent rules
2 parents 2c9cc65 + 28c45e8 commit 008b95a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ Ensure accessibility modifiers and labels are added to custom components.
279279
- Swift version: 5.10
280280
- Use descriptive names: `isLoadingUsers` not `loading`
281281
- Follow Apple's SwiftUI best practices
282+
- AVOID code comments on private functions, types, etc — PREFER self-documenting names that make intent obvious without explanation; only add a comment when the rationale is genuinely non-obvious (e.g. a workaround, an edge case, or a "why" the code itself can't convey)
282283

283284
### Changelog
284285

0 commit comments

Comments
 (0)