Framingui

io.github.soo-kate由 GitHub 帳號 soo-kate 發布v0.1.0更新於 Oct 24, 2026

FramingUI design-system tools for coding agents: validate screens, check wiring, browse the catalog.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

FramingUI 透過 MCP 向編碼代理提供以 token 驅動的設計系統:驗證畫面、檢查專案接線並瀏覽元件目錄。

可以做什麼
依設計系統的配方、必要區域與狀態驗證畫面定義,以結束碼而非警告回報錯誤。驗證版面契約,並檢查專案接線、套件與主題 CSS 是否載入。瀏覽目錄中的畫面配方語法與領域包。同一套驗證器與目錄也以技能形式提供給 Claude Code 和 Codex;MCP 伺服器則供支援 MCP 但不載入技能的用戶端使用。
適用情境
當編碼代理要建立介面,而你希望它從固定的元件與 token 詞彙中組合、而非自行發明樣式,並希望在宣告完成前進行機械式驗證時使用。
執行需求
透過 npx 執行 npm 套件,以 stdio 在本機執行,需要 Node.js。若要實際渲染組合出的畫面,還需在專案中加入元件庫並接好作用域與主題 CSS。無需帳號、無遙測,未宣告環境變數。
安裝前請注意
免費層僅含 30 個元件與一個主題;其他元件、主題及 conversation 領域包需授權,會回傳 LICENSE_REQUIRED 錯誤,完整目錄以訂閱方式販售。此套件本身為 MIT 授權。全部在本機執行,選用日誌留在本機。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Framingui,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[One prompt each: a dashboard, an article page, and a settings page design themselves consistently with FramingUI]

FramingUI

The design system your coding agent can't drift from.

Install · Demos · How it works · Free scope · framingui.com


Ask an agent to "build a settings page" and you get whatever the model dreamt that day: default-blue buttons, three border radii on one screen, a hand-rolled dropdown with no focus states. The code runs. The screen is slop.

FramingUI is an agent skill: a token-driven design system packaged so that coding agents (Claude Code, Codex) compose screens from it instead of around it. A closed vocabulary — components, layout tokens, machine-checkable screen recipes, one strongly-opinionated theme — plus zero-install validators that fail loudly when the agent strays. Your agent reads the theme's design DNA, composes from the catalog, validates the result, and self-critiques the rendered screen before calling it done.

No server. No account. No telemetry. A folder of data and plain-node scripts.

What an agent ships with it

One prompt each, zero design feedback rounds — composed entirely from the free catalog in the editorial-tech theme:

"Build a revenue dashboard""Build our blog's article page"
[Dashboard][Article]
"Build the account settings page"Licensed preview: the conversation pack
[Settings][Chat]

The fourth screen uses the licensed conversation domain pack — thread states, streaming, composer. It's shown here so you know where the free line sits.

Install (30 seconds)

Claude Code — from your project root:

bash
mkdir -p .claude/skillscurl -L https://framingui.com/get/skill | tar -xz -C .claude/skills

OpenAI Codex — same tarball into .agents/skills instead.

Or clone this repo and copy skill/framingui into your skills directory. Claude Code and Codex auto-discover it; from then on, any "build a screen / add a component / apply the theme" request routes through the system.

To actually render what the agent composes, add the component library to your project:

bash
npm install https://framingui.com/get/ui

Then wire the scope + theme CSS — the skill's own INSTALL.md walks your agent (or you) through it, and node .claude/skills/framingui/scripts/doctor.mjs . verifies the wiring and tells you exactly what's missing.

Prefer MCP? The same validators and catalog are exposed as an MCP server — @framingui/mcp (npx @framingui/mcp, stdio) — for clients that speak MCP but don't load skills.

How it works

  1. doctor.mjs checks the environment once per project — packages, the FramingUIScope boundary, theme CSS actually loaded. Broken wiring is a hard fail, not a silent default palette.
  2. The agent reads the theme (assets/themes/editorial-tech.json) — its design DNA, mood keywords, and per-recipe notes are hard constraints, not suggestions.
  3. It composes from the closed vocabulary: 30 components, 12 shells / 8 pages / 17 section patterns, 9 screen recipes with required regions and states. Inventing a token is a validation error.
  4. validate-screen.mjs / layout.mjs check the result mechanically — exit codes, not vibes. Recipes make "a settings screen must have these regions and states" machine-checkable.
  5. The agent renders, screenshots, and self-critiques against the design DNA before declaring done.

The commands your agent will use (all plain node, zero install):

bash
node .claude/skills/framingui/scripts/doctor.mjs .            # environment checknode .claude/skills/framingui/scripts/validate-screen.mjs s.json   # screen definition gatenode .claude/skills/framingui/scripts/layout.mjs validate c.json   # layout contract gatenode .claude/skills/framingui/scripts/recipe.mjs list         # screen grammarsnode .claude/skills/framingui/scripts/pack.mjs list           # domain packs

What's free (and what's licensed)

The free tier is deliberately minimal, lovable, and stable: it only ever grows, so a screen you ship today keeps validating forever.

FreeLicensed
Components30 — the full 20-component screen contract + form/feedback/layout essentials62 — adds Sidebar, Command, Combobox, DataTable, DatePicker, Sheet, Popover, the 8-component conversation suite, and more
Themeseditorial-tech9 voices
Layout tokens & recipesAll of themAll of them
Domain packs—conversation (assistant surfaces)
UpdatesStable free channelContinuous releases

When your agent reaches for something licensed, it doesn't get a mystery "unknown component" — it gets a LICENSE_REQUIRED error naming the real thing and where it lives, with strict instructions not to hand-roll an imitation. The full catalog is subscription-licensed at framingui.com — join the waitlist and you'll get exactly one email at launch.

FAQ

Why a skill and not just docs? Agents don't read docs; they pattern-match. A skill puts the vocabulary, the constraints, and the validators in the agent's working set — and the validators make violations cost an exit code.

Does this phone home? No. Everything is local. The optional journal (.framingui/journal/) never leaves your machine and records rule IDs and exit codes, never your code.

Can I use it commercially? Yes — this bundle is MIT. The licensed catalog is a separate commercial product.

License

MIT for everything in this repository. skill/framingui is generated from the FramingUI source system — issues and screenshots of misbehaving screens are very welcome.

來源:README.md,提交 95f3abb

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分