mirror of
https://github.com/duthaho/claudekit.git
synced 2026-07-19 22:19:40 +03:00
feat: improved the Claude Kit as a plugin
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
---
|
||||
paths:
|
||||
- "**/*.tsx"
|
||||
- "**/*.jsx"
|
||||
- "src/components/**"
|
||||
- "src/app/**"
|
||||
---
|
||||
|
||||
# Frontend Rules
|
||||
|
||||
- One component per file, named with PascalCase
|
||||
- Use Server Components by default in Next.js — add `'use client'` only when needed
|
||||
- Tailwind utility classes for styling — avoid inline styles
|
||||
- All interactive elements must be keyboard accessible
|
||||
- Include `aria-label` on icon-only buttons
|
||||
- Use semantic HTML (`<nav>`, `<main>`, `<section>`) over generic `<div>`
|
||||
- Images require `alt` text
|
||||
Reference in New Issue
Block a user