modus-angular-development-workflow

modus-angular-development-workflow is a cursor rule for Cursor from julianoczkowski/create-trimble-app. It costs 0 tokens per session (1,032 once invoked), scanned C, original, MIT.

A development and testing checklist for Angular and Vite projects using Modus, including style, color, icon, border, opacity, and TypeScript checks.

In plain words
What is it for?
Use it before and during feature work, and run the listed checks before considering a component or change ready.
Why use it?
It catches design-system violations and type errors during development instead of leaving them for later review.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it before and during feature work, and run the listed checks before considering a component or change ready.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/modus-angular-development-workflow"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/modus-angular-development-workflow.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 1,032 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.01032
Opus 5.5 $0.00000 $0.00413
Sonnet 5.5 $0.00000 $0.00206
Haiku 4.5 $0.00000 $0.00103

Measured 1mo ago against content hash df456bbc8031, 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-development-workflow 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 border utilities -->
templates/angular/.cursor/rules/modus-angular-development-workflow.mdc · 146 lines

How it starts

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

Development Workflow & Quality Assurance for Angular + Vite

MANDATORY: Always Run Linting Commands During Development

CRITICAL: Before making any code changes, always run these linting commands to ensure design system compliance:

# Check for inline styles that should use Tailwind classes
npm run lint:styles

# Check for non-Modus colors (hex, RGB, Tailwind colors)
npm run lint:colors

# Check for non-Modus icons (Font Awesome, Material Icons, etc.)
npm run lint:icons

# Check for border violations (Tailwind color classes in borders)
npm run lint:borders

# Check for opacity violations (using /80 syntax instead of custom utilities)
npm run lint:opacity

# Validate Modus icon names
npm run lint:icon-names

# Run TypeScript type checking
npm run type-check

# Run all linting checks at once
npm run lint:all

Pre-Development Checklist

Before starting any new feature or component:

  1. Run Design System Lints:

    npm run lint:styles    # Check inline styles
    npm run lint:colors    # Check color usage
    npm run lint:icons     # Check icon usage
    npm run lint:borders   # Check border violations
    npm run lint:opacity   # Check opacity utilities
    npm run type-check     # TypeScript validation
    
  2. Verify Theme Compatibility:

    • Test with all 6 Modus themes (classic/modern, light/dark, connect themes)
    • Ensure components work in both light and dark modes
  3. Check Component Architecture:

    • Use single configurable components (not multiple specific ones)
    • Follow Modus Web Components wrapper patterns
    • Use signals for state management

Common Violations to Watch For

Inline Styles (lint:styles):

// VIOLATION: Inline styles
template: `<div style="background-color: var(--modus-wc-color-base-page)">`;
template: `<div [style.margin-right.px]="8">`;

// CORRECT: Tailwind classes
template: `<div class="bg-background mr-2 text-foreground">`;

Color Usage (lint:colors):

// VIOLATION: Non-Modus colors
template: `<div style="background-color: #ffffff">`;
template: `<div class="bg-blue-500 text-red-400">`;

// CORRECT: Modus design system colors
template: `<div class="bg-background text-foreground">`;

Read the full file on GitHub · 146 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. 1mo ago First seen · 146 lines · 0 tokens per session scan C df456bbc8031

Subscribe to this mod's changes

modus-angular-development-workflow is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,032 tokens. 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.