development-workflow-solidjs

development-workflow-solidjs is a cursor rule for Cursor from julianoczkowski/create-trimble-app. It costs 0 tokens per session (1,985 once invoked), scanned A, a copy of development-workflow-react, MIT.

A set of development rules for checking SolidJS applications built with Vite against a design system. It requires lint checks for styles, colors, icons, HTML structure, and borders, plus testing across six themes.

In plain words
What is it for?
Use it when building or reviewing SolidJS and Vite features that must follow the Modus design system.
Why use it?
It catches design and markup violations before code is committed, helping keep the interface consistent with the project's themes and standards.

Cursor rule for Cursor

Written for Cursor: installed under .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/development-workflow-solidjs
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 development-workflow-solidjs

README.md
[![agentmods](https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/development-workflow-solidjs.svg)](https://agentmods.dev/rules/julianoczkowski/create-trimble-app/development-workflow-solidjs)
Your own site
<a href="https://agentmods.dev/rules/julianoczkowski/create-trimble-app/development-workflow-solidjs"><img src="https://agentmods.dev/badge/rules/julianoczkowski/create-trimble-app/development-workflow-solidjs.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,985 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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.01985
Opus 5 $0.00000 $0.00992
Sonnet 5 $0.00000 $0.00397
Haiku 4.5 $0.00000 $0.00198

Measured 2d ago against content hash 4abd223af264, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

development-workflow-solidjs 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 2d 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.

Origin

This is a copy

91% identical to development-workflow-react — 70 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/solidjs/.cursor/rules/development-workflow-solidjs.mdc · 293 lines

How it starts

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

Development Workflow & Quality Assurance for SolidJS + 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 semantic HTML elements (h1, section, header, etc.)
npm run lint:semantic

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

# 🔍 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:semantic  # Check semantic HTML elements
    npm run lint:borders   # Check border violations
    
  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 patterns
    • Use proper event handling with refs

🔄 Development Workflow

Every time you make changes:

  1. Make your changes to components/pages
  2. Run linting commands to catch violations early:
    npm run lint:all
    
  3. Fix any violations before continuing
  4. Test with Chrome DevTools to validate visual changes
  5. Commit only when all lints pass

🚨 Common Violations to Watch For

Inline Styles (lint:styles):

// ❌ VIOLATION: Inline styles
style={{ backgroundColor: "var(--modus-wc-color-base-page)" }}
style={{ marginRight: "8px" }}
style={{ color: "var(--modus-wc-color-base-content)" }}

// ✅ CORRECT: Tailwind classes
class="bg-background mr-2 text-foreground"

Read the full file on GitHub · 293 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. 2d ago First seen · 293 lines · 0 tokens per session scan A 4abd223af264

Subscribe to this mod's changes

development-workflow-solidjs is a cursor rule published in the GitHub repository julianoczkowski/create-trimble-app (3 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,985 tokens. A static security scan graded it A with 0 findings. It is 91% identical to development-workflow-react, differing in 70 lines, and is treated as a copy.