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.
npx skills add pproenca/dot-skills --skill rails-design-systemgit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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.
[](https://agentmods.dev/skills/pproenca/dot-skills/rails-design-system)<a href="https://agentmods.dev/skills/pproenca/dot-skills/rails-design-system"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/rails-design-system/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.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/rails-design-system"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/rails-design-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00109 | $0.02115 |
| Opus 5 | $0.00055 | $0.01058 |
| Sonnet 5 | $0.00022 | $0.00423 |
| Haiku 4.5 | $0.00011 | $0.00212 |
Grade A, and why
rails-design-system 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Community Ruby on Rails Design System Best Practices
Comprehensive design system guide for Ruby on Rails applications, maintained by Community. Contains 51 rules across 9 categories, prioritized by impact to guide automated refactoring and code generation. Covers the full Rails frontend stack: Turbo (Drive, Frames, Streams), Stimulus, ERB partials, design tokens, form builders, and view helpers. Complements rails-dev (controllers, models, queries) and tailwind (CSS patterns) by covering the systematic UI component architecture layer.
When to Apply
Reference these guidelines when:
- Deciding whether to extract a partial, component, or helper
- Defining design tokens with Tailwind CSS
@theme - Creating or refactoring ERB partials with explicit locals
- Decomposing pages into Turbo Frames for targeted updates
- Using Turbo Streams for multi-element CRUD updates
- Coordinating Turbo navigation with Stimulus controllers
- Building ViewComponent or Phlex components for complex UI
- Implementing a custom FormBuilder for consistent forms
- Writing view helpers for badges, icons, and conditional classes
- Adding Stimulus controllers for interactive behaviors
- Managing JavaScript dependencies with Import Maps
- Auditing the codebase for UI duplication and naming drift
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Design Decisions | CRITICAL | decide- |
| 2 | Design Tokens | CRITICAL | token- |
| 3 | Turbo Integration | HIGH | turbo- |
| 4 | Partial Patterns | HIGH | partial- |
| 5 | Component Architecture | HIGH | comp- |
| 6 | Form System | MEDIUM-HIGH | form- |
| 7 | Helper Patterns | MEDIUM | helper- |
| 8 | Stimulus Behaviors | MEDIUM | stim- |
| 9 | Consistency & Organization | LOW-MEDIUM | org- |
Quick Reference
1. Design Decisions (CRITICAL)
decide-three-uses-rule- Extract only after a pattern appears in 3+ placesdecide-partial-vs-component- Choose partials for simple reuse, components for complex logicdecide-helper-vs-partial- Use helpers for tiny HTML fragments, partials for layout blocksdecide-prove-then-extract- Prove patterns in production before abstractingdecide-avoid-wrapper-components- Avoid thin wrappers that add indirection without valuedecide-design-system-scope- Scope the design system to what the app actually needs
What ships with it
54 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/templates/_template.md 919 B
- metadata.json 1.3 KB
- references/_sections.md 2.6 KB
- references/comp-explicit-args.md 2.7 KB
- references/comp-slots-for-markup.md 3.0 KB
- references/comp-test-rendered-output.md 4.0 KB
- references/comp-when-to-use.md 3.6 KB
- references/decide-avoid-wrapper-components.md 2.2 KB
- references/decide-design-system-scope.md 3.2 KB
- references/decide-helper-vs-partial.md 2.1 KB
- references/decide-partial-vs-component.md 2.8 KB
- references/decide-prove-then-extract.md 2.9 KB
- references/decide-three-uses-rule.md 2.3 KB
- references/form-accessible-labels.md 3.5 KB
- references/form-button-consistency.md 3.3 KB
- references/form-custom-builder.md 3.2 KB
- references/form-error-display.md 2.9 KB
- references/form-group-wrapper.md 4.3 KB
- references/form-set-default-builder.md 1.9 KB
- references/helper-badge-pattern.md 3.9 KB
- references/helper-conditional-classes.md 2.8 KB
- references/helper-icon-helper.md 3.1 KB
- references/helper-scope-to-domain.md 3.2 KB
- references/helper-tag-helpers.md 2.4 KB
- references/org-deduplication-audit.md 4.2 KB
- references/org-document-design-decisions.md 3.3 KB
- references/org-file-structure.md 3.9 KB
- references/org-import-maps.md 2.8 KB
- references/org-naming-conventions.md 3.2 KB
- references/org-preview-with-lookbook.md 3.2 KB
- references/partial-collection-with-spacer.md 2.8 KB
- references/partial-explicit-locals.md 1.9 KB
- references/partial-naming-conventions.md 2.5 KB
- references/partial-presenter-objects.md 2.9 KB
- references/partial-shared-directory.md 2.7 KB
- references/partial-yield-blocks.md 2.7 KB
- references/stim-composable-controllers.md 3.9 KB
- references/stim-data-attribute-config.md 3.7 KB
- references/stim-general-purpose.md 3.1 KB
- references/stim-leverage-library.md 4.0 KB
- references/stim-small-controllers.md 4.1 KB
- references/stim-use-outlets.md 4.1 KB
- references/token-component-tokens.md 2.8 KB
- references/token-semantic-color-names.md 2.9 KB
- references/token-share-tokens-with-ruby.md 3.5 KB
- references/token-spacing-scale.md 2.6 KB
- references/token-tailwind-theme.md 2.3 KB
- references/token-typography-scale.md 3.3 KB
- references/turbo-drive-defaults.md 3.2 KB
- references/turbo-frame-decompose.md 2.7 KB
- references/turbo-frame-naming.md 2.9 KB
- references/turbo-frame-vs-stream.md 2.9 KB
- references/turbo-stimulus-coordination.md 3.4 KB
- references/turbo-stream-crud.md 3.6 KB
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.
- 5d ago First seen · 134 lines · 109 tokens per session scan A a887243b31a0
rails-design-system is a skill published in the GitHub repository pproenca/dot-skills (205 stars, last pushed 24d ago), licensed MIT. It adds 109 tokens to every session and 2,115 once invoked, about $0.0005 per session on Opus 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.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
frontend-visual-qa
Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
waitlist-page
A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.
tailwindcss
Tailwind CSS v4 conventions — semantic design tokens for theme-safe styling, mobile-first responsive layouts, and v4-first utilities. Use when styling components or writing className utilities with Tailwind. Don't use for plain CSS, CSS-in-JS (styled-components, emotion), or other utility frameworks.