modus-angular-border-usage-short

modus-angular-border-usage-short is a cursor rule for Cursor from julianoczkowski/create-trimble-app. It costs 366 tokens per session, scanned C, original, MIT.

A short set of rules for using borders in an Angular and Vite app built with the Modus design system. It specifies approved design-system classes for colors, thickness, and border direction.

In plain words
What is it for?
Use it when adding or reviewing borders, separators, emphasis states, success or warning outlines, and other bordered elements in a Modus-based Angular interface.
Why use it?
It prevents inconsistent border styling and avoids using unsupported color classes or inline border styles. This keeps borders aligned with the app's design-system conventions.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/julianoczkowski/create-trimble-app/modus-angular-border-usage-short
Clone the repo
git clone --depth 1 https://github.com/julianoczkowski/create-trimble-app

Made for: Cursor.

Per session 366 This file is loaded in full into every session.
When invoked 366 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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 $0.00366 $0.00366
Opus 5 $0.00183 $0.00183
Sonnet 5 $0.00073 $0.00073
Haiku 4.5 $0.00037 $0.00037

Measured 3d ago against content hash 1a72b0a31e29, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

modus-angular-border-usage-short scanned grade C with 1 finding 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 3d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- CORRECT: Design system utilities -->
templates/angular/.cursor/rules/modus-angular-border-usage-short.mdc · 49 lines

What it actually says

Border Usage Guidelines - Short

Essential border usage rules for Modus Design System integration.

Key Rules

  • Use design system border utilities only - border-default, border-success, border-warning, border-destructive, border-primary
  • Never use Tailwind color classes in borders - No border-blue-500, border-gray-300, etc.
  • Use border-thick for emphasis - For important borders and separators
  • Use directional borders - border-top-default, border-bottom-default, etc.
  • No inline styles for borders - Use Tailwind classes exclusively

Correct Patterns

<!-- CORRECT: Design system utilities -->
<div class="border-default">Default border</div>
<div class="border-success">Success border</div>
<div class="border-warning">Warning border</div>
<div class="border-destructive">Error border</div>
<div class="border-primary">Primary border</div>

<!-- CORRECT: Thick borders -->
<div class="border-thick-success">Important success</div>

<!-- CORRECT: Directional borders -->
<div class="border-bottom-default">Bottom border</div>

Forbidden Patterns

<!-- WRONG: Tailwind color classes -->
<div class="border border-red-500">Error</div>

<!-- WRONG: Inline styles -->
<div [style.border]="'1px solid var(--border)'">Content</div>

Reference

For detailed border utilities and patterns, fetch the full rule: modus-angular-border-usage

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. 3d ago First seen · 49 lines · 366 tokens per session scan C 1a72b0a31e29

Subscribe to this mod's changes

modus-angular-border-usage-short is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 1mo ago), licensed MIT. It adds 366 tokens to every session, about $0.0018 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.