Skip to content

Commit 7159b7d

Browse files
author
hallelx2
committed
chore(standards): created local '.github/instructions/frontend.instructions.md' from remote '.github/instructions/frontend.instructions.md'
Synced AI-review standards from hallelx2/dev-standards.
1 parent d29bc6b commit 7159b7d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
applyTo: "**/*.ts,**/*.tsx,**/*.css"
3+
---
4+
5+
TypeScript / Next.js review for this file. Cite `file:line` + the fix.
6+
7+
- Server/client boundaries correct; no server secrets in client components; no hydration mismatches.
8+
- No `dangerouslySetInnerHTML` without sanitization; user content/URLs escaped.
9+
- No `any` smuggled past the types; exhaustive handling of unions.
10+
- Accessibility: semantic elements, input labels, keyboard focus, alt text.
11+
- Performance: avoid needless re-renders (stable keys, no inline object props in hot lists); watch bundle size.
12+
- Brand consistency: reuse real design tokens/components (V mark, `#1456F0`/`#EA5EC1`, Geist). Never invent a logo/color/font.

0 commit comments

Comments
 (0)