Skip to main content

react-guidelines

The rules for writing, placing, and refactoring any React component or hook function in bombdog. Covers the two-tier design system (domain-agnostic src/components/primitives vs domain src/components/tracker) and the placement decision, the primitives import rule, the two-layer split of a domain control into a generic shell plus a thin domain wrapper, the component catalog, extending a primitive's styling via className at zero specificity, primitive promotion, the hooks/lib split for domain logic, kebab-case naming and named exports, the Server/Client boundary and "use client", the CSS Modules + @layer + @scope styling pattern, clsx, design tokens and ramp steps, motion and dialog animations, next/image and next/font, baseline accessibility, data-testid test hooks, and colocated tests.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
axross/bombdog
آخر نشاط في المصدر
١١ يوليو ٢٠٢٦ في ٠٩:١٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.