Jbelly Ui 标志

Jbelly Ui

组织
JBelly-tech
jbelly-ui

Licence-free UI system for web apps and sites: build, review or redesign dashboards, admin panels, settings/auth, tables and landing pages with exact tokens, a spec-driven page builder, a pre-flight against AI-default looks, and a mandatory personality step. Not for backend, API or non-visual work.

概览

发布者JBelly-tech
代码仓库jbelly-ui
技能名称jbelly-ui
星标数
3
复刻数
0
附带文件
43
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 43 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 JBelly-tech 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Jbelly Ui AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/JBelly-tech/jbelly-ui/tree/main/skills/jbelly-ui
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JBelly-tech/jbelly-ui.git /tmp/jbelly-ui
mkdir -p .claude/skills
cp -r /tmp/jbelly-ui/skills/jbelly-ui .claude/skills/jbelly-ui
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Jbelly Ui,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Jbelly Ui。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Jbelly Ui 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

jbelly-ui — the house UI system

A complete design system expressed as rules and recipes: exact sizes, class strings, behaviours and checklists. Nothing here depends on a purchased template or a per-project licence, so it ships in any number of products.

Two layers, and both are mandatory:

  1. Foundation (shared by every product): semantic tokens, app shell, exact component sizes, admin-grade behaviours. This is what makes a UI feel like a paid template — every state handled, nothing shifts, keyboard works.
  2. Personality (unique per product): type pairing, palette, shape, density, surface, motion, one signature element. This is what stops every AI-built product from looking like the same site in a different colour.

Stack-neutral: tokens are CSS variables, recipes are Tailwind v4 utility strings that map 1:1 to CSS.

Modes

ModeTriggerPath
Build"make / add / create a page, dashboard, form…"workflow below
Review"review / critique / audit / does this look professional"references/review-rubric.md: run scripts/preflight.py + scripts/verify_page.py, score ten dimensions once, report file:line rows. No second opinions, no subagents.
Redesign"restyle / modernise / make it look like…"scripts/audit_styles.py first, then personality, then fix in priority order (fonts → colour → radius/shadow → spacing → states → motion).

Design read (first output in every mode). Before any code or verdict, emit four fields and keep them in design/personality.md: kind (dashboard / settings / landing / …), audience (who, how often, keyboard or touch), vibe (three words), system (preset + dials changed). It is the contract everything else is checked against.

Workflow

Three calls build a standard screen. Make exactly these, in this order.

bash
python scripts/personality_init.py --product "<name>" --kind <kind> --audience "<who, how often>" \
    --vibe "<three words>" --preset <theme-…> --change "<dial>" --change "<dial>"
python scripts/build-screen.py <spec.json> <out.html>
python scripts/verify_page.py <out.html>

The spec's kind picks the template: "app" (the default) an application screen, "landing" a marketing home page, "pricing" plans with a billing toggle and a comparison table. Writing a landing or a pricing page by hand measured 1.6x and 5.9x the cost of a generated dashboard, so the spec comes first and hand-written markup only for a page none of the three fits.

Before them, read one file: references/quick-card.md. Before writing the spec, get its shape from python scripts/build-screen.py --example, which prints a complete annotated spec — add --kind landing or --kind pricing for those.

What not to do, because each one was measured costing calls for nothing:

  • Do not read the same file twice. Reading a reference, then cat-ing it, then opening it again is three calls and three copies of it in context, which every later call re-sends.
  • Do not probe the environment. No python --version, no pwd && ls, no shell test. Run the command; if the interpreter is missing you will be told, and the manual fallback below applies.
  • Do not read the source of the scripts or of the shells in assets/. --example tells you the spec, --help tells you the flags, and the shells' contents are not your concern: the generator fills them from the spec and fails loudly when a field does not land.
  • Do not hand-edit the built page to add what the spec could have said. If a value came out wrong, fix the spec and rebuild: one call instead of a chain of edits. Hand-editing is only for genuinely bespoke markup, appended through extra_html.
  • Do not build your own verification. verify_page.py renders the variants, collects console errors, runs the token lint, the pre-flight and both runtime probes -- motion and colour -- and prints one verdict. No screenshot loop, no second opinion, no subagents.

Why this is worth obeying: agent cost is the size of the context multiplied by the number of steps, so a file read early is paid for again on every later call. The generator exists to move the whole page out of the model's output entirely — nav, toolbar, KPIs with sparklines, chart, donut, table with its loading, empty and error states, activity feed and the Arabic dictionary all come from the shell at zero model tokens — and, on the other two kinds, a hero, logo strip, numbered feature sections, testimonial and FAQ, or plan cards, the billing toggle and a comparison table.

When the screen is none of the three kinds: python scripts/new_screen.py gives a blank shell with the personality, density, direction and dark default already set. Everything above still applies.

When a reference is genuinely needed: open one, by name, from the table at the end of this file, and only for something the quick card does not cover. Reading them all costs about 28K tokens.

Implementation belongs to the cheapest model class that passes the done list; reserve the top class for the personality decision and the final review.

When the generator does not apply

A page none of the three kinds has a shape for (a checkout, a bespoke app screen) is built by hand. The order matters, because each step decides the one after it:

  1. Personality first. Pick a preset from the quick card's table and change at least two dials, then write it with personality_init.py. Never start on the default look; the default exists so the demo renders, nothing more. Open references/personalities.md only to derive a new preset.
  2. Tokens next. Copy references/tokens.css into the project and load it right after Tailwind (@import "tailwindcss"; @import "./tokens.css";), then append the personality overrides. A colour changes in one token, never in a component.
  3. Then the shell, from references/layouts.md: sidebar + header, header-only, auth, or landing.
  4. Then the parts: references/components.md for controls, references/patterns.md for whole screens. Every element has exact sizes; that is what keeps mixed rows aligned and ten screens looking like one product.
  5. Then the behaviours, from references/ux-behaviours.md: loading, empty and error states, table selection and bulk actions, form validation, overlay focus, keyboard, persistence. Not optional — they are most of what separates this from a mock-up.
  6. Then verify, the same single call as always: python scripts/verify_page.py <page>.

Reviewing an existing UI instead? Run it backwards: verify first for the deterministic faults, then compare behaviours, then ask whether the product has any personality at all.

The foundation in one screen

Everything below is spelled out with exact values in references/quick-card.md; this is the shape of it.

  • Semantic colour roles, never raw palette: background/foreground, card, popover, primary (the single brand action), secondary, muted, accent, mono (strongest text), destructive/success/warning/info (always with text or an icon), border/input/ring, sidebar-*. Roles are redefined once under .dark and once per personality; that is why dark mode and re-branding cost nothing.
  • Rhythm: 4px unit; --radius per personality (cards +4px, controls −2px, chips −4px); cards gap-5 lg:gap-7.5, rows gap-2.5; container max 80rem.
  • Type: Inter for display and text by default (weights 400/500/600), UI at 13px, card titles 16px semibold tracking-tight, page title 20px, KPI numbers 30px semibold tabular-nums; a display face only for a brand reason.
  • Controls share three sizes: 28 / 34 / 40px high with 12 / 13 / 14px text, so mixed rows always align. Density presets scale them together.
  • Elevation nearly flat: hairline border + shadow-xs on cards, buttons, inputs; shadow-md on popovers; nothing else.
  • Layout: sidebar 280px (80px collapsed, peeks on hover), header 70px (60px mobile), both fixed; sidebar is a drawer below lg; logical properties only, so RTL is dir="rtl" and nothing else.
  • Charts: ApexCharts themed from tokens (references/charts.md). Icons: Lucide 16–20px, stroke 2; never per-project-licensed sets, never emoji.

Rules

  • Colour comes from tokens. Raw palette classes are allowed in exactly one file: tokens.css (and the personality block). The lint enforces this.
  • Recipes are HTML class strings. If you move one into CSS with @apply, drop group and peer (they are markers, not utilities — Tailwind v4 fails the whole stylesheet with "Cannot apply unknown utility class") and write .parent:hover .child selectors instead. Always open the page once in a browser (or headless Edge/Chrome with --screenshot) before calling it done; a compile error renders as an unstyled page, not as a warning.
  • One primary per view. The brand colour marks the single main action and the active nav item. Everything else is secondary, outline or ghost.
  • Cards are the unit of layout; no cards inside cards — use bordered sections. No bare text on the page background.
  • Tables are dense, forms are calm. Tables 13–14px, ~46px rows, hairline row borders, no zebra. Forms one column, labels above, gap-5.
  • Every async region has four states: loading (skeleton), empty (with next action), error (what happened + retry), success.
  • Status is never colour alone. Text or an icon accompanies every colour.
  • Dark mode is a class (html.dark), persisted, and every screen is checked in both modes.
  • Motion reports a state change, and nothing else. It is declared in references/motion.css, never written in a class attribute and never computed in JavaScript. Twelve recipes cover the whole system; scripts/lint_motion.py refuses a thirteenth. prefers-reduced-motion removes the travel and keeps the message. See references/motion.md.
  • Anti-defaults (the AI-generic tells — refuse them unless the personality chose them on purpose): blue-600 primary · untouched zinc greys · rounded-2xl shadow-lg on everything · purple/blue gradients or gradient text · glassmorphism by reflex · icon-in-a-rounded-square on every card · hero + three feature cards · uniform gap-4 p-6 with no hierarchy · Sparkles/Zap icons · "Elevate / Seamless / Powerful" copy · emoji as icons · DiceBear avatars.
  • Never paste code, CSS, images, fonts or icons from a commercial template into a product, even one the team owns a licence for — licences are per project and per deployment. Build from these recipes; look at templates only for layout ideas.
  • Libraries must be MIT/BSD/Apache-licensed and styled through tokens — see references/integrations.md for the vetted list per need (charts, tables, calendars, editors, uploads, maps, drag-and-drop).

Without tools (manual fallback)

If scripts cannot run in your environment, do these by hand before finishing: search the markup for raw palette classes and hex colours and replace them with roles; count primary buttons outside the nav (exactly one); give every icon-only button an aria-label, add a skip link when there is a nav, keep one <h1>; remove purple/indigo gradients, gradient text, Sparkles/Zap icons, emoji icons, transition: all and filler words; check text-on-background and white-on-primary contrast (4.5:1 or better); confirm four states per async region; open the page once in light, dark and RTL.

Reference files

Open one, by name, only for what the quick card does not cover. Reading them all costs ~28K tokens.

Scripts (scripts/, all --help): build-screen.py spec to page, --kind app|landing|pricing · new_screen.py blank shell · verify_page.py the one verification call · preflight.py AI-tells, structure, contrast · lint_tokens.py raw palette colours · lint_motion.py motion rules · verify_motion.py the runtime motion probe · verify_theme.py the runtime colour probe: every personality, light and dark · audit_styles.py redesign inventory · personality_init.py the design read · export_tokens.py DTCG tokens · build_dist.py the delivery tiers. Windows twins: verify-page.ps1, new-screen.ps1, lint-tokens.ps1.

References (references/):

Open when you needFile
anything on a standard screenquick-card.md
to derive a new personalitypersonalities.md
the colour system to copy into a projecttokens.css
a control's exact class stringcomponents.md
a shell, nav, toolbar, settings, auth or landing skeletonlayouts.md
a whole pattern: KPI row, chart card, table page, pricing, checkout, palettepatterns.md
a chartcharts.md
states, tables, forms, overlays, keyboard, responsive behaviourux-behaviours.md
a library for charts, grids, calendars, editors, uploads, mapsintegrations.md
the pages and flows a known business type expectsindustry-playbooks.md
exact-value rules for forms, focus, motion, type, colour, copyinterface-guidelines.md
a transition, an overlay, a loading state or anything that movesmotion.md
to explain why a page looks generatedanti-patterns.md
to score a reviewreview-rubric.md
plain CSS or React instead of Tailwindstacks.md
where a rule comes fromsources.md

assets/app-shell.html, landing-shell.html and pricing-shell.html are the working demos behind the three kinds; assets/spec.example.json, spec.landing.example.json and spec.pricing.example.json are what --example prints for each.

Done list

  • design/personality.md exists and differs from the default (and from the last product built).
  • tokens.css loads first; no other file defines --primary; lint passes.
  • Light, dark, dir="rtl", and 375 / 1024 / 1440px checked.
  • Four states per async region; one active nav item; one primary per view.
  • Tables: sort, filter chips, pagination text, bulk bar, hover row actions reachable by keyboard.
  • Forms: labels above, inline errors, focus to first error, dirty guard.
  • Overlays: focus trap, Esc, focus return, scroll lock.
  • lint_motion.py passes; every animating element declares data-motion; no Tailwind motion utility in any class attribute.
  • Icons all Lucide/inline SVG; no template assets; no emoji icons; every dependency on the vetted list.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Jbelly Ui AI 技能有什么作用?

Licence-free UI system for web apps and sites: build, review or redesign dashboards, admin panels, settings/auth, tables and landing pages with exact tokens, a spec-driven page builder, a pre-flight against AI-default looks, and a mandatory personality step. Not for backend, API or non-visual work.

为什么在 TypingMind 中使用 Jbelly Ui?

因为您只需安装一次,就能搭配任何模型使用。Jbelly Ui 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Jbelly Ui?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/JBelly-tech/jbelly-ui/tree/main/skills/jbelly-ui。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Jbelly Ui?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Jbelly Ui 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Jbelly Ui 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Jbelly Ui AI 技能免费吗?

是的。JBelly-tech 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇