ux-ui-foundations

ux-ui-foundations is a cursor rule for Cursor from julianoczkowski/create-trimble-app. It costs 2,726 tokens per session, scanned A, original, MIT.

A UI and UX foundation guide for building Angular interfaces with Modus 2 and Tailwind CSS version 4. UI means the visible interface, while UX means how people use it.

In plain words
What is it for?
Use it to choose semantic colors and establish consistent interface foundations in an Angular application.
Why use it?
It maps design-system concepts such as page backgrounds, text, cards, and primary colors to the project’s Tailwind classes, reducing inconsistent styling.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to choose semantic colors and establish consistent interface foundations in an Angular application.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/julianoczkowski/create-trimble-app/ux-ui-foundations
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/julianoczkowski/create-trimble-app

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 ux-ui-foundations

README.md
[![agentmods](https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/ux-ui-foundations/github.svg)](https://agentmods.dev/rules/julianoczkowski/create-trimble-app/ux-ui-foundations)
Your own site
<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/ux-ui-foundations"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/ux-ui-foundations/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 ux-ui-foundations

Your own site · 80×15
<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/ux-ui-foundations"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/ux-ui-foundations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,726 This file is loaded in full into every session.
When invoked 2,726 The same file — it is already loaded in full.
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.02726 $0.02726
Opus 5.5 $0.01090 $0.01090
Sonnet 5.5 $0.00545 $0.00545
Haiku 4.5 $0.00273 $0.00273

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

Security

Grade A, and why

ux-ui-foundations 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 3mo 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.

templates/angular/.cursor/rules/ux/ux-ui-foundations.mdc · 236 lines

How it starts

The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/UX Foundations for AI Agents

Scope: Modus 2 Angular Components + Tailwind v4 (Real Config Alignment)

This file is grounded in your real Modus 2 Angular + Tailwind v4 setup. It uses the exact variables, color tokens, and CSS conventions from your implementation.


Foundation & Setup

1 Color System — From Angular Design System

Semantic Mapping

Use Tailwind v4 tokens defined in your src/styles.css. Do not use arbitrary colors.

Purpose Tailwind Token CSS Variable (from src/styles.css)
Background bg-background --background → var(--modus-wc-color-base-page)
Foreground text-foreground --foreground → var(--modus-wc-color-base-content)
Card bg-card --card → var(--modus-wc-color-base-100)
Card Text text-card-foreground --card-foreground → var(--modus-wc-color-base-content)
Primary bg-primary / text-primary-foreground --primary → var(--modus-wc-color-info)
Secondary bg-secondary / text-secondary-foreground --secondary → var(--modus-wc-color-base-300)
Muted bg-muted / text-muted-foreground --muted → var(--modus-wc-color-base-200)
Success bg-success / text-success-foreground --success → var(--modus-wc-color-success)
Warning bg-warning / text-warning-foreground --warning → var(--modus-wc-color-warning)
Error bg-error / text-error-foreground --error → var(--modus-wc-color-error)
Border border-border --border → var(--modus-wc-color-base-200)
Ring ring --ring → var(--modus-wc-color-info)

Read the full file on GitHub · 236 lines

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. 3mo ago First seen · 236 lines · 2,726 tokens per session scan A 3c310e08926e

Subscribe to this mod's changes

ux-ui-foundations is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 4mo ago), licensed MIT. It adds 2,726 tokens to every session, about $0.0109 per session on Opus 5.5. 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-08-31.

Related

ux-ui-foundations compared with cursor rules from other repositories

ux-ui-foundations next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ux-ui-foundationsjulianoczkowski/create-trimble-appCursor rule34mo agoMITA2,726Cursor
hatch3r-design-system-detectionhatch3r/hatch3rCursor rule262mo agoMITA0Cursor
hatch3r-ux-states-and-flowshatch3r/hatch3rCursor rule262mo agoMITA0Cursor
hatch3r-component-conventionshatch3r/hatch3rCursor rule262mo agoMITA0Cursor
hatch3r-theminghatch3r/hatch3rCursor rule262mo agoMITA0Cursor
design-uxwebhook-co/webhookCursor rule01mo agoApache-2.0A0Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor