ui

ui is a skill for Claude Code from maquina-app/rails-claude-code. It costs 58 tokens per session (1,835 once invoked), scanned A, original, MIT.

A set of rules for building accessible Rails web interfaces with Maquina Components, a library of reusable interface parts styled with Tailwind CSS. It covers composing views, applying component attributes, and handling version-specific details.

In plain words
What is it for?
Use it when creating or reviewing Rails views, forms, layouts, and other user-interface work built with Maquina Components.
Why use it?
It keeps Rails screens consistent and helps avoid styling, accessibility, and upgrade mistakes when using this component library.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [upgrading-0.6.md](../../references/upgrading-0.6.md) first — 0.6.0 changed behavior silently..

Part of the maquina-ui-standards plugin — 1 skill shipped together

Good fit Use it when creating or reviewing Rails views, forms, layouts, and other user-interface work built with Maquina Components.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/maquina-app/rails-claude-code
agentmods
npx agentmods add skills/maquina-app/rails-claude-code/ui

Made for: Claude Code.

Or install maquina-ui-standards, the plugin that ships this one along with the rest of its 1 skill.

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 ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/maquina-app/rails-claude-code/ui"><img src="https://agentmods.dev/badge/skills/maquina-app/rails-claude-code/ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,835 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.00058 $0.01835
Opus 5.5 $0.00023 $0.00734
Sonnet 5.5 $0.00012 $0.00367
Haiku 4.5 $0.00006 $0.00184

Measured 2mo ago against content hash a10fcfed5d01, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui 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 2mo 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.

maquina-ui-standards/skills/ui/SKILL.md · 96 lines

How it starts

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

Maquina UI Standards

Build production-quality Rails UIs with maquina_components — ERB partials styled with Tailwind CSS 4 and data attributes, inspired by shadcn/ui.

Verified against maquina-components 0.7.0. Upgrading an app from 0.5.x? Read upgrading-0.6.md first — 0.6.0 changed behavior silently. 0.7.0 broke nothing, but it deprecated collapse_after on responsive_breadcrumbs and fixed focus-ring timing; never transition outline-color in a component of your own.

Official documentation: https://maquina.app/documentation/components/

Core Rules

  1. Composition first — build screens from component partials and helpers; wrap repeated compositions into app-specific partials that encode your conventions.
  2. Data-attribute styling — components style through data-component / data-*-part attributes; the engine CSS handles appearance. Reach for a variant or a role token first, and use Tailwind utilities for layout — grids, spacing, placement.
  3. The layered engine — every engine rule lives in @layer components flattened to specificity 0,1,0, so a utility passed as css_classes: applies. That makes rule 2 a convention you keep, not a mechanism that keeps itself: an unintended utility silently reshapes the component.
  4. Semantic variants — map meaning to variants (:success, :warning, :destructive), one mapping per status domain. The danger variant is :destructive everywhere; sizes are :sm / :default / :lg (badge's middle size is :md; both accept the other's name as an alias). This vocabulary is canonical — the catalog defers to it.
  5. Helpers for interactive components — dropdown_menu, combobox, toggle_group, simple_table, pagination_nav (Pagy), empty_state, toast_flash_messages, breadcrumbs. Use _simple variants for data-driven one-liners, block builders for custom content, partials for structural components (Card, Alert, Badge, Sidebar, Drawer).
  6. Inline errors — field errors render next to their input (data-form-part="error"), with a brief flash summary. Complete inputs: every field carries type, required, maxlength, autocomplete, and inputmode where they apply.
  7. Handle the zero state — every list renders an empty_state (or empty_search_state / empty_list_state) when the collection is empty.
  8. Icons via icon_for — one icon system, delegating to the app's main_icon_svg_for override with built-in SVG fallbacks. Under strict_icons (on by default in development and test) an unresolvable name raises MaquinaComponents::UnknownIconError, so use a name from the roster in installation-guide.md.
  9. Tokens carry the design — color, shape, elevation, focus and weight are all CSS variables. Use role tokens (--surface-radius, --elevation-overlay, --focus-ring-width) to restyle a whole class of component, and a per-component escape hatch (--card-radius, --toast-shadow) to pin exactly one. A theme changes values, not selectors. One accent color moment per screen; neutrals elsewhere.

Read the full file on GitHub · 96 lines

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. 2mo ago First seen · 96 lines · 58 tokens per session scan A a10fcfed5d01

Subscribe to this mod's changes

ui is a skill published in the GitHub repository maquina-app/rails-claude-code (48 stars, last pushed 21d ago), licensed MIT. It adds 58 tokens to every session and 1,835 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

ui compared with skills from other repositories

ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uimaquina-app/rails-claude-codeSkill4821d agoMITA58Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
open-design-setupcompozy/compozySkill2.8kyesterdayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex
prototype-webnexu-io/html-anythingSkill9.4k24d agoApache-2.0A24Claude Code, Codex