rails-application-ui-blocks

rails-application-ui-blocks is a skill for Codex from pproenca/dot-skills. It costs 69 tokens per session (665 once invoked), scanned A, original, MIT.

A guide for assembling ready-made interface sections in Ruby on Rails views, such as dashboards, forms, and application layouts, while keeping the application’s existing behaviour.

In plain words
What is it for?
It is for creating or refactoring ERB pages and partials, adding Tailwind-based UI blocks, and preserving Turbo, Stimulus, form, and keyboard behaviour.
Why use it?
It helps developers improve a Rails interface without accidentally changing routes, controller logic, accessibility, or interactive features.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It is for creating or refactoring ERB pages and partials, adding Tailwind-based UI blocks, and preserving Turbo, Stimulus, form, and keyboard behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pproenca/dot-skills/rails-application-ui-blocks
Install

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.

Any agent
npx skills add pproenca/dot-skills --skill rails-application-ui-blocks
Clone the repo
git clone --depth 1 https://github.com/pproenca/dot-skills

Made for: Codex.

Wrote 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.

agentmods badge for rails-application-ui-blocks

README.md
[![agentmods](https://agentmods.dev/badge/skills/pproenca/dot-skills/rails-application-ui-blocks/github.svg)](https://agentmods.dev/skills/pproenca/dot-skills/rails-application-ui-blocks)
Your own site
<a href="https://agentmods.dev/skills/pproenca/dot-skills/rails-application-ui-blocks"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/rails-application-ui-blocks/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.

agentmods 80×15 button for rails-application-ui-blocks

Your own site · 80×15
<a href="https://agentmods.dev/skills/pproenca/dot-skills/rails-application-ui-blocks"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/rails-application-ui-blocks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 665 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00665
Opus 5 $0.00034 $0.00332
Sonnet 5 $0.00014 $0.00133
Haiku 4.5 $0.00007 $0.00067

Measured 5d ago against content hash 8190db3e873c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

rails-application-ui-blocks 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/build_template_catalog.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/.experimental/rails-application-ui-blocks/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

For new-page:

  1. Start with ui.page-examples.* to anchor page structure.
  2. Choose shell from ui.application-shells.*.
  3. Add page/section headings from ui.headings.*.
  4. Add core body blocks (ui.forms.*, ui.lists.*, ui.data-display.*, ui.feedback.*).
  5. Finish with navigation and overlay details (ui.navigation.*, ui.overlays.*).

For refactor-page:

  1. Preserve current information architecture and interaction contracts.
  2. Map each existing UI region to one candidate catalog block.
  3. Replace one region at a time and run relevant tests.
  4. Extract repeated markup into partials only after reuse is proven.

Guardrails

  • Do not change controllers/models/policies unless explicitly requested.
  • Do not remove data-controller, data-action, data-turbo-*, aria-*, or form field names without replacement.
  • Prefer adapting blocks to project styles over introducing conflicting visual systems.
  • Avoid block insertion that duplicates existing design-system components when native components already solve the same need.

Read the full file on GitHub · 76 lines

Files

What ships with it

5 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.

Changes

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.

  1. 5d ago First seen · 76 lines · 69 tokens per session scan A 8190db3e873c

Subscribe to this mod's changes

rails-application-ui-blocks is a skill published in the GitHub repository pproenca/dot-skills (205 stars, last pushed 24d ago), licensed MIT. It adds 69 tokens to every session and 665 once invoked, about $0.0003 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.

Related

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…

chakra-ui/chakra-ui · 214 tokens

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.

Yeachan-Heo/oh-my-codex · 50 tokens

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…

daymade/claude-code-skills · 145 tokens

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.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens

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.

compozy/compozy · 64 tokens