Loading...
Loading...
Ruby on Rails design system guidelines for building consistent, maintainable UI with minimal abstraction. This skill should be used when creating or refactoring Rails views, partials, components, form builders, helpers, Stimulus controllers, Turbo Frames, Turbo Streams, or design tokens. Triggers on tasks involving ERB partials, Turbo navigation, Turbo Streams, ViewComponent, Phlex, Tailwind design tokens, custom form builders, view helpers, Stimulus behaviors, Import Maps, Lookbook previews, or design system consistency audits.
npx skill4agent add pproenca/dot-skills rails-design-systemrails-devtailwind@theme| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Design Decisions | CRITICAL | |
| 2 | Design Tokens | CRITICAL | |
| 3 | Turbo Integration | HIGH | |
| 4 | Partial Patterns | HIGH | |
| 5 | Component Architecture | HIGH | |
| 6 | Form System | MEDIUM-HIGH | |
| 7 | Helper Patterns | MEDIUM | |
| 8 | Stimulus Behaviors | MEDIUM | |
| 9 | Consistency & Organization | LOW-MEDIUM | |
decide-three-uses-ruledecide-partial-vs-componentdecide-helper-vs-partialdecide-prove-then-extractdecide-avoid-wrapper-componentsdecide-design-system-scopetoken-tailwind-themetoken-semantic-color-namestoken-spacing-scaletoken-typography-scaletoken-component-tokenstoken-share-tokens-with-rubyturbo-drive-defaultsturbo-frame-decomposeturbo-frame-namingturbo-frame-vs-streamturbo-stream-crudturbo-stimulus-coordinationpartial-explicit-localspartial-presenter-objectspartial-naming-conventionspartial-yield-blockspartial-collection-with-spacerpartial-shared-directorycomp-when-to-usecomp-explicit-argscomp-slots-for-markupcomp-test-rendered-outputform-custom-builderform-set-default-builderform-error-displayform-accessible-labelsform-group-wrapperform-button-consistencyhelper-tag-helpershelper-conditional-classeshelper-icon-helperhelper-badge-patternhelper-scope-to-domainstim-general-purposestim-data-attribute-configstim-small-controllersstim-composable-controllersstim-use-outletsstim-leverage-libraryorg-naming-conventionsorg-file-structureorg-deduplication-auditorg-import-mapsorg-preview-with-lookbookorg-document-design-decisions| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |