Arena

io.github.dravensoft-dev由 GitHub 帳號 dravensoft-dev 發布v13.0.0更新於 Oct 26, 2026

Arena by Dravensoft over MCP: the router, the references and every component document.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

透過 MCP 向助理提供 Arena 設計系統的路由、參考文件與各元件的使用文件,協助其依契約建構 React 或 Angular 介面。

可以做什麼
  • 讀取路由與參考文件,把每個設計問題導向對應的單一檔案
  • 查詢元件使用文件,以及 React 或 Angular 層的元件索引
  • 讀取規範權杖、樣式、無障礙與文案的設計契約和規則
  • 比對專案中已安裝的 Arena 套件版本與伺服器版本,並提示兩者不一致
適用情境
適用於以 Arena 設計系統建構 React 或 Angular 介面的專案,希望助理遵循 Arena 的契約與元件使用文件,而不是自行猜測。它是文件與指引伺服器,本身不是元件庫。
執行需求
以本機 stdio 程序執行,例如透過 npx 啟動 arena-mcp 套件,因此需要 Node.js 以及取得該套件的網路存取。未宣告任何驗證、環境變數或標頭。它提供的層取決於你專案所安裝的層。
安裝前請注意
文件語料與元件套件是兩個獨立套件、各有版本號,因此文字可能落後於程式碼;伺服器會提示版本不一致,但以元件為準。它只提供文件,不會改動你的專案。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Arena by Dravensoft

One design system, in React and in Angular, from one contract.

[npm react] [npm angular] [downloads] [license] [build]

MIT License · Token-driven design system for React, Angular and Tailwind.

[One ArenaButton drawn under three style plugins, with the API and behaviour contracts pointing at it and an agent reading the whole thing]

What you get

Components with a contracted API. The same components under both framework names, rendering the same pixels, over one shared Tailwind layer. What a member is called, what it takes, what it defaults to and what it means are written in contracts/api/, and each layer's types and tables are generated from there, so the two layers cannot drift apart quietly. Every value a component draws resolves through a design token, so no hex and no bare pixel sits anywhere inside one.

Accessibility bound per component instead of audited per release. Each component declares which pattern it implements, most of them from the WAI-ARIA Authoring Practices: the roles it carries, the keys it answers, where focus lands, what dismisses it. A requirement it does not meet yet is recorded beside it with its reason, and bun run check:behaviour fails on the day a component stops answering the pattern it named.

A style kernel, which is what a project answers to look like itself. The questions about shape, space, weight and depth are Arena's; the answers are a style plugin the project writes, and the appearance Arena installs with is one such plugin rather than a floor under them. Palettes and fonts sit in an arena.config.json, which the arena command each package ships turns into the one stylesheet a package cannot carry: Arena carries the language and never the skin, and none of its own colours reach your build. A project that starts from an existing look takes a row of plugin-style-store/catalogue/INDEX.md: the catalogue lists style plugins measured on real products, one row each.

Metadata for a product that has to be found, which most products do not. The Angular layer writes the document <head> from the routes it is handed, at @dravensoft/arena-angular/metadata: title composition, a description, a canonical and the og:* pair, with no route indexed until it says so. That import path is a second entry point, so a project that never asks for metadata never installs the router behind it. React writes no <head> at all, and both layers publish the breadcrumb trail they draw in schema.org terms.

Why an agent can operate it

An API is a contract file rather than a paragraph, and so is the pattern a component binds and the role a style plugin answers; a gate holds the code, the documentation and the published packages to them. An agent handed this repository does not guess at Arena: it reads the contract that governs what it is about to write, and the gate tells it when it got it wrong.

That is also what makes the rules enforceable rather than aspirational. Each of these is decided in contracts/design/AGENTS.md and handed to a builder by skills/design/SKILL.md, which states each one in full and says which of them a gate reads your own sources for.

  • Tokens are the only styling layer.
  • Only a class of the vocabulary goes on an Arena component.
  • Appearance is a class of the vocabulary, never a member.
  • Danger is outline, never filled.
  • One primary accent per view.
  • No gradients, on any surface.
  • No emoji, in product or in copy.
  • Icons are Phosphor class-name strings, drawn by Arena's components or by ArenaIcon; a raw ph-* element paints nothing.
  • Never wrap an Arena component in your router's own link.
  • An anchor Arena draws splits its activations.
  • A press that starts on a control keeps to that control.
  • Two themes, dark first.
  • A chart carries identity or meaning, never both.
  • Copy is formal and direct, in the product's language.
  • A required member absent is a caller bug.
  • No render follows from whether you bound a listener or filled a slot.
  • A few components answer with a method rather than a member.

Install

bash
bun add @dravensoft/arena-react     # or @dravensoft/arena-angular

That is the whole install. Bun installs the peers a project lacks. A manager that installs no peer, Yarn among them, needs them named, as the commands in install.md do. No icon font is a peer: arena build writes the sprite that ArenaIcon draws from. install.md lists the commands per layer, and the layer page below says which peers each package declares.

Then run npx --no-install arena init (or pnpm exec arena init, or bunx --no-install arena init), which copies an example arena.config.json and wires the build scripts, and import what arena build writes. skills/design/references/install.md is where it starts, for React and for Angular, and it links the config and the command. The pages npm shows are an introduction and a table of questions that link the same references.

Over MCP

json
{  "mcpServers": {    "arena": { "command": "npx", "args": ["-y", "@dravensoft/arena-mcp"] }  }}

@dravensoft/arena-mcp is where the language travels. It serves the router, the references and every component document to an agent that speaks the Model Context Protocol, as resources and as tools, and the layer it serves is the one your project installed. The component packages carry the code, the stylesheets and the contracts your own markup answers to, and none of the prose.

A corpus and the components it describes are two packages and two version numbers, so they can disagree. arena_start reads the version of the Arena package in your project, compares it with the server's, and says so when the two differ. Where they do, the components are right and the text is old.

As a Claude Code plugin

/plugin marketplace add dravensoft-dev/arena/plugin install arena@dravensoft/reload-plugins

Update

/plugin marketplace update dravensoft   # refresh the catalog: learns a new version exists/plugin update arena@dravensoft         # update the plugin you actually have/reload-plugins                         # apply it to the running session

A version means one commit. Each release is served from its git tag, with the marketplace entry pinning source.ref to vX.Y.Z.

As a standalone Agent Skill

Hand any agent skills/design/SKILL.md. It is the router, and it answers each question with one file. It routes over this tree, so an agent handed the file alone has the questions and reaches the answers by URL; one handed the clone or the plugin reaches them by path.

A component package is code, and the language reaches an agent by one of the three routes above. Install the MCP server, install the plugin, or hand over the skill, and the agent gets the guidelines, the contracts and every component's usage document, which is what turns "integrate Arena" into a task it finishes on its own.

See it

arena.dravensoft.org carries the design guidelines, the kitchen sink, and a playground page for every component, with no clone and nothing to install.

The same pages come up locally with bun run demos, from the same list, and scripts/build/AGENTS.md says what a fresh clone has to build before they mean anything.

An agent reads llms.txt first, which routes to the rules of the language and then to one corpus per framework, React and Angular. They are separate on purpose: every component ships under both names and the two documents are not interchangeable.

Dependencies

  • Fonts are self-hosted, and no CDN request is made. Arena ships the Archivo / Familjen Grotesk / Spline Sans Mono .woff2 binaries in assets/fonts/, and contracts/design-generated/fonts.generated.css declares them with @font-face, so they load from the same origin as the page that reads them. A package consumer names their own three families in arena.config.json, where src is either a font file, which arena build cuts to what the product paints, or a stylesheet URL.
  • Icons are Phosphor Icons (MIT), and no icon font is bundled. Every component takes a Phosphor class string and draws the glyph through ArenaIcon, from the sprite arena build writes. A raw ph-* element needs @phosphor-icons/web installed by the project. See Iconography.

Which version am I getting

The two packages and the plugin do not always carry the same number, because a package publishes only when something it ships changed. skills/design/references/versioning.md explains what that means.

Latest project artifacts

Where to go next

Which job is this? The two audiences read almost disjoint sets of these files, and starting on the wrong branch is how a short question turns into a long read.

Building something with Arena. skills/design/SKILL.md is the router. From it: frameworks/INDEX.md is every component in one read and frameworks/<layer>/INDEX.md is the same list under your own framework's names, each component's .prompt.md is how to use that one, and skills/design/references/install.md is how to install it.

Working on Arena itself. AGENTS.md is the root of that branch, and everything below is reached through it.

  • scripts/build/AGENTS.md: compile Arena for the first time, meaning what a machine has to already carry, what a fresh clone must build before bun run demos or bun run check mean anything, and why some generated files are tracked and some are not. Linux and macOS are the two supported platforms; on Windows the supported path is WSL2, with the clone in the Linux filesystem.
  • frameworks/PACKAGING.md: the npm channel, meaning how the two packages are assembled from the tree in place, why a published Arena carries no skin, and what the consumer declares instead.
  • contracts/AGENTS.md: Arena's three contract levels, and a map of everything in this repository.
  • contracts/design/AGENTS.md: the normative design specification, covering voice, type, color, spacing, motion, the danger convention, iconography and theming. contracts/design/TokenTypes.md beside it carries the DTCG token type map, for whoever authors a token.
  • frameworks/react/AGENTS.md: the React layer.
  • frameworks/angular/AGENTS.md: the Angular layer, whose own last section hands adoption to the package page above.
  • frameworks/tailwind/AGENTS.md: the shared Tailwind layer.
  • frameworks/demos/AGENTS.md: the fixture behind every component's playground page, which is the one part of that page anybody writes.
  • DOUBTS.md: what counts as a debt in Arena, and where the records live.

Contributing and security

Arena takes pull requests from anyone. CONTRIBUTING.md says which changes go straight to one and which start as a proposal, and what a change is not allowed to break. SECURITY.md is where a vulnerability goes, and CODE_OF_CONDUCT.md is the Contributor Covenant this project holds to.

About

Arena is the single interface language under which every Dravensoft software product is built, published under the MIT License so that anyone else can build under it too.

來源:README.md,提交 91d8173

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

5
  1. v13.0.0最新Oct 26, 2026
  2. v12.1.1Oct 12, 2026
  3. v12.1.0Oct 9, 2026
  4. v12.0.0Oct 8, 2026
  5. v11.1.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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