Skip to content

Commit 3592005

Browse files
committed
update Agents.md
1 parent 6fb4155 commit 3592005

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Agents.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ React-admin is a comprehensive frontend framework for building B2B and admin app
1919
- No children inspection — violates React patterns (exception: Datagrid)
2020
- No features achievable in pure React — keep the API surface small
2121
- No comments when code is self-explanatory
22+
- No dead code — trust your preconditions. Don't guard against conditions that prior code already prevents
23+
- DRY — don't duplicate knowledge. Coincidental code similarity is not duplication. Only deduplicate when the same decision or fact is expressed in multiple places. Code that looks alike but could evolve independently should stay separate
2224

2325
## Codebase Organization
2426

@@ -83,4 +85,4 @@ Every new feature or API change must be documented.
8385
make lint # ESLint checks
8486
make typecheck # TypeScript type checking
8587
make prettier # Prettier formatting
86-
```
88+
```

0 commit comments

Comments
 (0)