style-modus-components-with-tailwind

style-modus-components-with-tailwind is a skill for Cursor from julianoczkowski/create-trimble-app. It costs 35 tokens per session (3,024 once invoked), scanned A, original, MIT.

A guide to creating React wrapper components around Modus web components with typed properties, references, event handling, and cleanup. A wrapper is a small component that adapts one component's interface for use elsewhere.

In plain words
What is it for?
Use it to add a new reusable wrapper for a Modus component and connect its properties and browser events to React code.
Why use it?
It prevents repeated integration mistakes when a Modus component does not already have a suitable React wrapper.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to add a new reusable wrapper for a Modus component and connect its properties and browser events to React code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/julianoczkowski/create-trimble-app/style-modus-components-with-tailwind
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.

Any agent
npx skills add julianoczkowski/create-trimble-app --skill style-modus-components-with-tailwind
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 style-modus-components-with-tailwind

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/julianoczkowski/create-trimble-app/style-modus-components-with-tailwind"><img src="https://agentmods.dev/badge/skills/julianoczkowski/create-trimble-app/style-modus-components-with-tailwind.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,024 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.00035 $0.03024
Opus 5.5 $0.00014 $0.01210
Sonnet 5.5 $0.00007 $0.00605
Haiku 4.5 $0.00003 $0.00302

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

Security

Grade A, and why

style-modus-components-with-tailwind 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 2mo 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/react/.cursor/skills/style-modus-components-with-tailwind/SKILL.md · 383 lines

How it starts

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

Style Modus Components with Tailwind

Style Modus components using custom border and opacity utilities that work with CSS variables, avoiding Tailwind patterns that don't work with runtime CSS variables.

When to Use

Use this skill when:

  • Styling Modus components with borders
  • Applying opacity to design system colors
  • Creating theme-aware components
  • Avoiding common Tailwind + CSS variable pitfalls
  • Ensuring components work in all 6 Modus themes

The Core Problem

Tailwind CSS processes colors at build time, but Modus Design System uses CSS variables that resolve at runtime. This creates incompatibilities:

  • ❌ border-red-500 - Hardcoded color, not theme-aware
  • ❌ text-foreground/80 - Doesn't work with CSS variables
  • ❌ border border-destructive - May not work reliably

Solution: Use custom utilities that work with CSS variables at runtime.

Reference Documentation

For detailed technical explanation, see: docs/tailwind-css-variables-problem.md

Custom Border Utilities

Available Border Utilities

Standard borders (1px):

  • border-default - Default border color
  • border-success - Success color border
  • border-warning - Warning color border
  • border-destructive - Error/destructive color border
  • border-primary - Primary/info color border

Thick borders (2px):

  • border-thick - Thick default border
  • border-thick-success - Thick success border
  • border-thick-warning - Thick warning border
  • border-thick-destructive - Thick destructive border
  • border-thick-primary - Thick primary border

Dashed borders:

  • border-dashed - Dashed default border
  • border-dashed-success - Dashed success border
  • border-dashed-warning - Dashed warning border
  • border-dashed-destructive - Dashed destructive border

Directional borders:

  • border-top-default, border-bottom-success, border-left-warning, border-right-destructive
  • Pattern: border-{direction}-{color}

Correct Border Usage

Read the full file on GitHub · 383 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. 2mo ago First seen · 383 lines · 35 tokens per session scan A df63eba6d020

Subscribe to this mod's changes

style-modus-components-with-tailwind is a skill published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 4mo ago), licensed MIT. It adds 35 tokens to every session and 3,024 once invoked, about $0.0001 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-09-03.

Related

style-modus-components-with-tailwind compared with skills from other repositories

style-modus-components-with-tailwind next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
style-modus-components-with-tailwindjulianoczkowski/create-trimble-appSkill34mo agoMITA35Cursor
guidance-webgpu-performanceNVIDIA/elementsSkill113todayApache-2.0A98Claude Code, Codex
elementsNVIDIA/elementsSkill113todayApache-2.0A59Claude Code, Codex
sfnext-componentsSalesforceCommerceCloud/b2c-developer-toolingSkill58yesterdayApache-2.0A190Claude Code
od-react-exportwolfenazz/YzPzCodeSkill20yesterdayApache-2.0A0Claude Code, Codex
artifacts-builderbobmatnyc/claude-mpmSkill1582mo agononeA63Claude Code
artifacts-builderwolfenazz/YzPzCodeSkill20yesterdayApache-2.0A35Claude Code, Codex