Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
css-rules - Skill - OpenSmartRoute
Skillv1.0.0
css-rules
description: Adding a new CSS file and global styles globs: *.css alwaysApply: false --- # Global CSS 1. Never add anything to the global CSS file unless prompted to. 2. All CSS should be in the proto
description: Adding a new CSS file and global styles
globs: *.css
alwaysApply: false
Global CSS
Never add anything to the global CSS file unless prompted to.
All CSS should be in the prototype's folder.
Do not use :root outside of the globals.css file.
Prototype CSS
Avoid referencing other prototype's CSS unless explictly prompted.
CSS Modules
Never use bare HTML element selectors (like div, pre, code) in CSS Modules files.
Always use a local class name for selectors (starting with a dot).
For styling HTML elements, create a specific class name that describes its purpose (e.g., .preBlock instead of pre).
Nested selectors must include at least one local class name (e.g., .bookInfo h2 is valid because it includes .bookInfo).
When targeting elements inside a component, prefer creating new class names over nesting selectors.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slot
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install css-rules and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
{
"ocm": "1",
"id": "whensbrunch-prototyping-with-cursor-css-rules-rule",
"kind": "skill",
"name": "css-rules",
"description": "description: Adding a new CSS file and global styles globs: *.css alwaysApply: false --- # Global CSS 1. Never add anything to the global CSS file unless prompted to. 2. All CSS should be in the prototype's folder. 3. Do not use :root outside of the globals.css file.",
"publisher": "whensbrunch",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"description: Adding a new CSS file and global styles globs: *.css alwaysApply: false --- # Global CSS 1. Never add anything to the global CSS file unless prompted to. 2. All CSS should be in the prototype's folder. 3. Do not use :root outside of the globals.css file."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/whensbrunch/prototyping-with-cursor",
"path": ".cursor/rules/css-rules.mdc",
"ref": "e9260a99bc14a9b2b81045a4ba759073457c1e81",
"url": "https://github.com/whensbrunch/prototyping-with-cursor/blob/e9260a99bc14a9b2b81045a4ba759073457c1e81/.cursor/rules/css-rules.mdc",
"key": "whensbrunch/prototyping-with-cursor/.cursor/rules/css-rules.mdc"
}
},
"instructions": "---\ndescription: Adding a new CSS file and global styles\nglobs: *.css\nalwaysApply: false\n---\n# Global CSS\n1. Never add anything to the global CSS file unless prompted to.\n2. All CSS should be in the prototype's folder.\n3. Do not use :root outside of the globals.css file.\n\n# Prototype CSS\nAvoid referencing other prototype's CSS unless explictly prompted.\n\n# CSS Modules\n1. Never use bare HTML element selectors (like div, pre, code) in CSS Modules files.\n2. Always use a local class name for selectors (starting with a dot).\n3. For styling HTML elements, create a specific class name that describes ",
"cost": {
"context_tokens": 218
}
}
Fetch it by URL: GET /api/v1/registry/whensbrunch-prototyping-with-cursor-css-rules-rule/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.