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
最近来源活动
2026年7月11日 09:19
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。