Skip to main content

frontend-conventions

Coremetry frontend house rules — Button/Field/Badge atoms, useDataTable sort+resize, server-debounced Pickers, URL-as-source-of-truth with sig-guarded imports, theme tokens, polling ≥10s + document.hidden, ES-cost fetch discipline, uPlot-only charts, lib/types.ts as the single shape source — each rule exists because of a past incident. Read BEFORE writing code under frontend/src/ that adds or restructures a component, data table, filter, drawer, theme token, chart or polling loop; it also carries the tsc + lint + vitest gates that change must pass. This skill outranks generic React guidance (vercel-react-best-practices, dataviz, frontend-design) — on conflict the Coremetry invariant wins. Do NOT use for pure copy or CSS-value tweaks, or for React work outside this repo.

跳到安装

来源信息

仓库
cilcenk/coremetry
最近来源活动
2026年8月23日 12:03
检测到的 SKILL.md 语言
英语
星标
4
分支
5

安装方式

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

检查来源文件

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