Skip to main content

kanna-react-style

React + TypeScript coding style for Kanna's client (src/client/**). Apply when creating or editing any .tsx/.ts file under src/client, src/shared, or src/server that ships UI behavior. Covers component shape, props typing, state-aware label and tone helpers, pure format helpers, snapshot-stable rendering, mobile/desktop CSS variants, tabular numerics, project-Tooltip-over-native-title, reusing existing primitives before writing new markup, co-located tests, and commit cadence. Trigger on phrases like "add a component", "render X in the navbar", "put this in the sidebar", "format a duration", "show the status", "fix this UI bug", "the number jitters on every tick", "extract a shared component", "make it work on mobile", or whenever editing anything under src/client/components, src/client/app, or src/client/lib. Read it before writing the component, not after.

跳到安装

来源信息

仓库
cuongtranba/kanna
最近来源活动
2026年8月21日 07:48
检测到的 SKILL.md 语言
英语
星标
5
分支
6

安装方式

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

检查来源文件

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