Skip to main content

kitajs-html-web

NDB2 web rendering with @kitajs/html: PascalCase Kitajs components, kebab-case component files in one folder per component (name/name.tsx, name.css, name.test.tsx, index.ts), feature folders (page.tsx, handler.tsx, tests/), HTMX. Query parsing uses @shared/validation/http + domain and colocated parse/serialize helpers; see skill body. Component props: use dot access (props.title) only; do not destructure the props object at the start of a component (no const { x } = props) except the documented rest-and-forward pattern — see Component props. Prefer narrow local props interfaces (no Entities.* in markup); see Props types. mergeClass, Suspense + renderToStream. Use when adding or changing server-rendered UI under app/src/web; not for React client apps or EJS. Triggers: PreferencesForm, Button, PageLayout, props, destructuring.

跳到安装

来源信息

仓库
Off-Nominal/ndb2
最近来源活动
2026年5月14日 16:20
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

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

检查来源文件

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