node-ui-design

node-ui-design is a cursor rule for Cursor from OriginTrail/dkg. It costs 0 tokens per session (210 once invoked), scanned A, original, Apache-2.0.

UI design rules for the node-ui package. They describe which shared styles and components to use, how text should look, and which tests check the rules.

In plain words
What is it for?
Use them when changing node-ui screens, components, design tokens, or related documentation.
Why use it?
They reduce inconsistent pages, hard-coded styles, and reusable components being implemented in only one place.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them when changing node-ui screens, components, design tokens, or related documentation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/origintrail/dkg/node-ui-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/OriginTrail/dkg

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for node-ui-design

README.md
[![agentmods](https://agentmods.dev/badge/rules/origintrail/dkg/node-ui-design/github.svg)](https://agentmods.dev/rules/origintrail/dkg/node-ui-design)
Your own site
<a href="https://agentmods.dev/rules/origintrail/dkg/node-ui-design"><img src="https://agentmods.dev/badge/rules/origintrail/dkg/node-ui-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for node-ui-design

Your own site · 80×15
<a href="https://agentmods.dev/rules/origintrail/dkg/node-ui-design"><img src="https://agentmods.dev/badge/rules/origintrail/dkg/node-ui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 210 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00210
Opus 5.5 $0.00000 $0.00084
Sonnet 5.5 $0.00000 $0.00042
Haiku 4.5 $0.00000 $0.00021

Measured 6d ago against content hash c41648899e7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

node-ui-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/node-ui-design.mdc · 18 lines

What it actually says

Node UI design system

Read packages/node-ui/DESIGN.md before changing UI code.

  • Use the tokens in src/ui/styles/00-theme.css and the components in src/ui/components/ds/. No hard-coded colours, corner sizes or fractional type sizes.
  • Add anything reusable to components/ds/, not to one page, and show it on the reference page.
  • Text is sentence case. Names keep their capitals: Working Memory, Shared Working Memory, Verifiable Memory, Knowledge Asset, Publisher Conviction.
  • Update DESIGN.md in the same PR when a rule, token or component changes.
  • Layers and status words match nOS, which is their source of truth.

test/design-tokens.test.ts, test/class-has-css.test.ts and test/design-docs.test.ts enforce what can be checked.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 18 lines · 0 tokens per session scan A c41648899e7f

Subscribe to this mod's changes

node-ui-design is a cursor rule published in the GitHub repository OriginTrail/dkg (133 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 210 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.

Related

node-ui-design compared with cursor rules from other repositories

node-ui-design next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
node-ui-designOriginTrail/dkgCursor rule133yesterdayApache-2.0A0Cursor
cursorrulesnhadaututtheky/neural-memoryCursor rule2462d agoMITA917Cursor
ui-motion-workflowpowehi-eu/ui-motion-workflowCursor rule64mo agoMITA0Cursor
7-day-nextjs-web-design-cursormattcsnyder/7-day-mobile-and-web-design-skillCursor rule26mo agononeA16Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor