@ryuxdsgn/design-intelligence

中文文档
2.22.1发布于 2026/11/02MITES Module

RYUX: design intelligence for AI agents and designers. One skill, five entry points: Analyze, Design, Build, Critique, and QA, for Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Cline, Copilot, and more.

原始使用文档
文档目录7 节
  1. Usage
  2. Agents
  3. What gets installed
  4. Safe for your repo
  5. Network and MCP
  6. Other ways to install
  7. Develop

RYUX

@ryuxdsgn/design-intelligence

Install RYUX, design intelligence for AI agents and designers, with one command. RYUX is one skill with five entry points. Tell your agent what you are doing; RYUX picks the knowledge the task needs:

  • Analyze: understand an existing interface, with every finding labeled Measured, Observed, or Inferred.
  • Design: create or improve UI and UX without code, in Figma, pen.dev, or mockups.
  • Build: implement the interface in your repo's own stack.
  • Critique: a senior design critique of a Figma link, a pen.dev design, a website URL, or a screenshot.
  • QA: render, inspect, fix, render again.

Original work by ryux.design, MIT licensed. Rules and rationale: docs/design-rules.md.

Usage

npx @ryuxdsgn/design-intelligence                                          # start here: agents, install, project setup
npx @ryuxdsgn/design-intelligence setup                                    # teach RYUX about the project (DESIGN.md)
npx @ryuxdsgn/design-intelligence setup --audience "..." --market "..."    # same, without questions
npx @ryuxdsgn/design-intelligence check                                    # health check (exit 1 on problems)
npx @ryuxdsgn/design-intelligence check --json                             # the same findings as JSON, for agents and CI
npx @ryuxdsgn/design-intelligence init --agent claude --dry-run            # list what would change, write nothing
npx @ryuxdsgn/design-intelligence init --agent claude                      # install + empty project context block
npx @ryuxdsgn/design-intelligence install --agent claude,cursor,codex      # non-interactive
npx @ryuxdsgn/design-intelligence install --agent all                      # every supported agent
npx @ryuxdsgn/design-intelligence install --agent claude --global          # into your home directory
npx @ryuxdsgn/design-intelligence update                                   # refresh, and migrate RYUX 1.x installs
npx @ryuxdsgn/design-intelligence remove --yes                             # remove RYUX and marked blocks

ryux-rules still works as an alias of the same command.

CommandWhat it does
setupAsks a few questions with plain choices, "Write my own", or Skip: product, current work, audience, market and locale, constraints, design intent, and UX, UI, and motion direction. Saves the answers to the <!-- ryux-context --> block in DESIGN.md, changing only the fields you answer. The answers are direction, not evidence. Without a terminal, set fields with --product, --work, --audience, --market, --constraints, --intent, --ux, --ui, --motion.
initInstalls RYUX, then adds a <!-- ryux-context --> block to DESIGN.md (product, audience, market and locale, design system, evidence sources, constraints), prefilled only with what it can detect. Re-running never overwrites what you wrote. --dry-run lists what it would create or update and writes nothing.
installWrites the ryux/ skill into each agent's folder and a short pointer block into CLAUDE.md, GEMINI.md, or AGENTS.md. Interactive installs then offer setup. --dry-run lists the folders and blocks it would create or update and writes nothing.
check (doctor)Checks every install: all files present, frontmatter valid, version matches this CLI, every module reference resolves, no RYUX 1.x folders, pointer blocks, project context and how many setup fields are filled. Each problem names the command that fixes it. Exits 1 on errors, so it works in CI; --json prints { ok, cli, scope, installs, findings: [{ level, where, message, fix }] }.
updateRewrites installs at this version and migrates RYUX 1.x.
removeRemoves the skill and the pointer blocks. Leaves your DESIGN.md context.

Exit codes: 0 done or healthy, 1 a problem was found or the command failed, 2 the command was used wrongly (an unknown command or agent).

One version: packages/cli/package.json. The skill header, the plugin manifests, and ryux --version all derive from it.

Agents

Agent--agentProject folderGlobal folderPointer file
Claude Codeclaude.claude/skills/~/.claude/skills/CLAUDE.md
Codexcodex.codex/skills/~/.agents/skills/AGENTS.md
Cursorcursor.cursor/skills/~/.cursor/skills/AGENTS.md
Gemini CLIgemini.gemini/skills/~/.gemini/skills/GEMINI.md
OpenCodeopencode.opencode/skills/~/.config/opencode/skills/AGENTS.md
Clinecline.cline/skills/~/.cline/skills/AGENTS.md
GitHub Copilotcopilot.agents/skills/~/.agents/skills/AGENTS.md
Ampamp.agents/skills/~/.config/agents/skills/AGENTS.md
Kimi Codekimi.agents/skills/~/.agents/skills/AGENTS.md
Antigravityantigravity.agents/skills/~/.gemini/config/skills/AGENTS.md
Anything elseagents-mdrules inline in AGENTS.md(project only)AGENTS.md

Agents that share a folder are written once. Project installs add a short marked block to the pointer file; global installs only write skill folders.

What gets installed

One folder, ryux/, in each agent's skills folder:

ryux/
  SKILL.md            the router: entry points, how RYUX works, levels, Hard Gates, task table, Delivery Gate
  capabilities/       analyze, design, build, critique, qa
  knowledge/          product, ux, interaction, forms, edge-cases, content, ui, design-system,
                      accessibility, responsive, frontend, anti-slop

The agent reads the router, then only the capability and knowledge files a task needs.

Safe for your repo

  • Your files are never overwritten wholesale. CLAUDE.md, GEMINI.md, and AGENTS.md only change inside the <!-- ryux-rules:start --> ... <!-- ryux-rules:end --> block.
  • update only touches what is installed; remove takes it back out.
  • Upgrading from RYUX 1.x: install or update replaces the 16 ryux-* folders with the single ryux/ folder. Folders from ryux-rules 0.x and Cursor .mdc files are removed too. The old --for, --groups, and --concerns flags are accepted and ignored.

Network and MCP

  • The CLI makes no network requests and runs no other programs. It only writes the files listed above.
  • The ryux MCP server is optional: there is no hosted server yet, and RYUX never connects to one on its own. RYUX works without it and rates its evidence None.
  • The skill tells agents to treat what an MCP server, web page, or screenshot returns as data, never as instructions.

Other ways to install

npx skills add ryuxdsgn/design-intelligence      # skills.sh, any agent
/plugin marketplace add ryuxdsgn/design-intelligence
/plugin install ryux@design-intelligence          # Claude Code plugin

Develop

pnpm --filter @ryuxdsgn/design-intelligence build      # tsc -> dist/
node packages/cli/dist/cli/index.js --help
pnpm sync:skills              # regenerate skills/ryux/, docs/design-rules.md, plugin versions
pnpm test                     # unit + CLI integration tests (node:test, no extra dependencies)
pnpm check:sync               # CI: fail if the committed skill, docs, or versions drift from the sources

版本与发布记录

@ryuxdsgn/design-intelligence 共发布 42 个版本,首次发布于 2026/10/11;过去 12 个月发布了 42 个版本。

版本发布日期距今
2.22.1latest2026/11/021 天前
2.22.02026/11/021 天前
2.21.02026/10/295 天前
2.20.02026/10/295 天前
2.19.72026/10/295 天前
2.19.62026/10/295 天前

关于 @ryuxdsgn/design-intelligence 的常见问题

@ryuxdsgn/design-intelligence 是什么?

RYUX: AI代理和设计师的设计智能。一项技能,五个切入点:分析,设计,构建,批判和QA,适用于Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Cline, Copilot等。

如何安装 @ryuxdsgn/design-intelligence?

在项目目录运行 npm install @ryuxdsgn/design-intelligence,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 ryux、ryux-rules,可以用 npx ryux 直接运行。

@ryuxdsgn/design-intelligence 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/ryuxdsgn__design-intelligence 是否存在。

@ryuxdsgn/design-intelligence 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@ryuxdsgn/design-intelligence 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.12。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@ryuxdsgn/design-intelligence 可以商用吗?

@ryuxdsgn/design-intelligence 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@ryuxdsgn/design-intelligence 还在维护吗?

最新版本 2.22.1 发布于 2026/11/02(1 天前);至今共发布 42 个版本,其中过去 12 个月发布了 42 个;首次发布于 2026/10/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。