
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.
概览
FramingUI 通过 MCP 向编码代理提供令牌驱动的设计系统:校验界面、检查项目接线并浏览组件目录。
- 可以做什么
- 按设计系统的配方、必需区域与状态校验界面定义,以退出码而非警告报错。校验布局契约,并检查项目接线、依赖包与主题 CSS 是否加载。浏览目录中的界面配方语法与领域包。同一套校验器和目录也以技能形式提供给 Claude Code 和 Codex;MCP 服务器面向支持 MCP 但不加载技能的客户端。
- 适用场景
- 当编码代理要构建界面,你希望它从固定的组件与令牌词汇中组合而不是自创样式,并希望在宣布完成前进行机械校验时使用。
- 运行要求
- 通过 npx 运行 npm 包,以 stdio 在本地运行,需要 Node.js。若要实际渲染组合出的界面,还需在项目中加入组件库并接好作用域与主题 CSS。无需账号,无遥测,未声明环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Framingui,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
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:
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:
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:
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
doctor.mjschecks the environment once per project — packages, theFramingUIScopeboundary, theme CSS actually loaded. Broken wiring is a hard fail, not a silent default palette.- The agent reads the theme (
assets/themes/editorial-tech.json) — its design DNA, mood keywords, and per-recipe notes are hard constraints, not suggestions. - 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.
validate-screen.mjs/layout.mjscheck the result mechanically — exit codes, not vibes. Recipes make "a settings screen must have these regions and states" machine-checkable.- 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):
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.
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版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分