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

Written for Cursor: installed under .cursor/.

Good fit Use it when adding or reviewing borders, separators, emphasis states, success or warning outlines, and other bordered elements in a Modus-based Angular interface.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/julianoczkowski/create-trimble-app/modus-angular-border-usage-short
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 modus-angular-border-usage-short

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/modus-angular-border-usage-short"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/modus-angular-border-usage-short.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00366 $0.00366
Opus 5.5 $0.00146 $0.00146
Sonnet 5.5 $0.00073 $0.00073
Haiku 4.5 $0.00037 $0.00037

Measured 1mo ago against content hash 1a72b0a31e29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 3mo ago), licensed MIT. It adds 366 tokens to every session, about $0.0015 per session on Opus 5.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.