Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rails-design-system

БесплатноБез исполняемых скриптовНе проверен

Ruby on Rails design system guidelines for building consistent, maintainable UI with minimal abstraction. This skill should be used when creating or…

pproencaот pproenca★ 231 звезда на 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)

2. Design Tokens (CRITICAL)

3. Turbo Integration (HIGH)

4. Partial Patterns (HIGH)

5. Component Architecture (HIGH)

  • [`comp-when-
Полный SKILL.md на GitHub

Установить rails-design-system в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/comp-explicit-args.mdreferences/comp-slots-for-markup.mdreferences/comp-test-rendered-output.mdreferences/comp-when-to-use.mdreferences/decide-avoid-wrapper-components.mdreferences/decide-design-system-scope.mdreferences/decide-helper-vs-partial.mdreferences/decide-partial-vs-component.mdreferences/decide-prove-then-extract.mdreferences/decide-three-uses-rule.mdreferences/form-accessible-labels.mdreferences/form-button-consistency.mdreferences/form-custom-builder.mdreferences/form-error-display.mdreferences/form-group-wrapper.mdreferences/form-set-default-builder.mdreferences/helper-badge-pattern.mdreferences/helper-conditional-classes.mdreferences/helper-icon-helper.mdreferences/helper-scope-to-domain.mdreferences/helper-tag-helpers.mdreferences/org-deduplication-audit.mdreferences/org-document-design-decisions.mdreferences/org-file-structure.mdreferences/org-import-maps.mdreferences/org-naming-conventions.mdreferences/org-preview-with-lookbook.mdreferences/partial-collection-with-spacer.mdreferences/partial-explicit-locals.mdreferences/partial-naming-conventions.mdreferences/partial-presenter-objects.mdreferences/partial-shared-directory.mdreferences/partial-yield-blocks.mdreferences/stim-composable-controllers.mdreferences/stim-data-attribute-config.mdreferences/stim-general-purpose.mdreferences/stim-leverage-library.md

FAQ

Что делает скилл rails-design-system?

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.

Как установить скилл rails-design-system?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rails-design-system запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить rails-design-system с