Skip to content
pproenca avatar

Rails Application Ui Blocks

Compose and refactor Rails ERB views using premium Tailwind UI blocks while preserving behavior.

CCM score
50 of 100
skills.sh installs
261
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers new-page and refactor-page modes, with a selection order from page examples through shells, forms, lists, and overlays
  • Includes references/selection-playbook.md, a template-catalog.json of canonical block IDs, and a build_template_catalog.py regeneration script
  • Enforces that controllers, models, and policies stay unchanged, and that data-controller, data-action, data-turbo-*, aria-*, and form field names are kept
  • Designed for Rails teams replacing custom markup with existing blocks while keeping Turbo and Stimulus hooks and accessibility intact

Install

$ npx -y skills add pproenca/dot-skills --skill rails-application-ui-blocks -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Rails Application UI Blocks

Use this skill to choose, adapt, and integrate premium UI blocks from templates/application-ui into Rails views.

Workflow

  1. Determine mode:
  • new-page for brand new features/pages
  • refactor-page for existing views/partials
  1. Identify constraints first:
  • Required interactions (Turbo Frames/Streams, Stimulus targets/actions, form semantics)
  • Accessibility constraints (labels, keyboard flow, ARIA)
  • Existing component boundaries (partials, helpers, shared layouts)
  1. Pick candidate blocks from catalog:
  • Read references/selection-playbook.md
  • Query references/template-catalog.json
  1. Integrate minimally:
  • Keep existing routes/controllers/domain logic unchanged
  • Replace markup in thin steps (shell first, then sections, then micro-components)
  1. Verify:
  • Ensure no loss of behavior, accessibility, or test coverage
  • Keep existing design tokens and class conventions where required by project standards

Selection Order

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the rails-application-ui-blocks skill do?

It helps compose new Rails backend pages and refactor existing Rails ERB views to use premium UI blocks from templates/application-ui. It keeps Turbo and Stimulus hooks, accessibility, and existing behavior intact while swapping in the blocks.

Who is the rails-application-ui-blocks skill for?

It is for developers building or reworking Rails admin and dashboard screens with ERB views, partials, and Tailwind UI. It suits anyone who wants to assemble pages from existing premium blocks rather than hand-writing markup.

How do I install the rails-application-ui-blocks skill?

Run npx -y skills add pproenca/dot-skills --skill rails-application-ui-blocks -y in your project. After that, the agent can select and adapt blocks from the application-ui templates when you ask for Rails UI work.

Where does rails-application-ui-blocks sit in the Frontend & UI Code category?

It is listed in Frontend & UI Code alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. It is the one focused on Rails ERB views and premium application-ui blocks.

More from pproenca/dot-skills

All 100

Similar to Rails Application Ui Blocks

More Frontend & UI Code