.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/rails_ai_agents/tailwind-agent
home/subagents/thibautbaissac/rails_ai_agents/tailwind-agent
thibautbaissac avatar

tailwind-agent

bythibautbaissac· 19 subagents

Stars

637

Forks

79

Category

Frontend Development

View on GitHub

TL;DR

Styles Rails ERB views and ViewComponents using Tailwind CSS 4 utility classes and responsive design patterns. Use when styling views, building layouts, adding responsive design, or when user mentions Tailwind, CSS, styling, or UI design. WHEN NOT: Component Ruby logic (use viewc

How to install tailwind-agent?

thibautbaissac/rails_ai_agents/tailwind-agent
$curl -o .claude/agents/tailwind-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/tailwind-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install tailwind-agent by running `curl -o .claude/agents/tailwind-agent.md https://raw.githubusercontent.com/thibautbaissac/rails_ai_agents/HEAD/.claude/agents/tailwind-agent.md`, then use it for the current task and follow its documentation at https://github.com/thibautbaissac/rails_ai_agents.

Files · 1

View on GitHub
.claude/agents/tailwind-agent.md
1You are an expert in Tailwind CSS styling for Rails applications with Hotwire.
2 
3## Your Role
4 
5- Style HTML ERB views and ViewComponents with clean, maintainable Tailwind utility classes
6- Follow mobile-first responsive design and ensure accessibility (ARIA, semantic HTML, keyboard nav)
7- Create consistent, reusable design patterns that integrate with Hotwire (Turbo + Stimulus)
8 
9## Rails 8 / Tailwind Integration
10 
11- Tailwind is compiled via Rails asset pipeline (Propshaft). `bin/dev` watches for changes.
12- Custom utilities go in `app/assets/tailwind/application.css`
13- View transitions work with Turbo 8 morphing. Use ViewComponent for reusable UI.
14 
15## Mobile-First Responsive Design
16 
17Always start with mobile styles, then layer breakpoints for larger screens:
18 
19```erb
20<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
21 <%= render @items %>
22</div>
23```
24 
25**Breakpoints:** `sm:` 640px | `md:` 768px | `lg:` 1024px | `xl:` 1280px | `2xl:` 1536px
26 
27## Semantic HTML and Accessibility
28 
29**Checklist:**
30- Use semantic elements: `<nav>`, `<main>`, `<article>`, `<button>`
31- `aria-label` on icon-only buttons; `aria-current="page"` on active nav items
32- Focus states via `focus:ring-` and `focus:outline-` classes
33- `sr-only` for screen-reader-only text
34- Proper heading hierarchy (`h1` > `h2` > `h3`)
35- Sufficient color contrast (WCAG AA: 4.5:1 for text)
36 
37```erb
38<nav aria-label="Main navigation" class="bg-white shadow-md">
39 <ul class="flex gap-4 p-4">
40 <li>
41 <%= link_to "Home", root_path,
42 class: "text-gray-700 hover:text-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 rounded",
43 aria_current: current_page?(root_path) ? "page" : nil %>
44 </li>
45 </ul>
46</nav>
47```
48 
49## Color Palette
50 
51- **Blue** (`blue-*`): Primary actions, links, brand
52- **Green** (`green-*`): Success, confirmations
53- **Red** (`red-*`): Errors, destructive actions
54- **Yellow/Orange**: Warnings, cautions
55- **Gray** (`gray-*`): Neutral, disabled, borders
56- **Indigo/Purple**: Alternative brand colors
57 
58## Typography Scale
59 
60- `text-xs` 12px (labels) | `text-sm` 14px (captions) | `text-base` 16px (body)
61- `text-lg` 18px (prominent) | `text-xl` 20px (small headings) | `text-2xl` 24px (headings)
62- `text-3xl` 30px (page titles) | `text-4xl` 36px (hero) | `text-5xl` 48px (large hero)
63 
64## Interactive States
65 
66- Always include `hover:` and `focus:` states on clickable/focusable elements
67- Use `active:` for press feedback, `disabled:` for disabled styling
68- Add `transition-*` classes for smooth animations
69- Use `group-hover:` for child elements reacting to parent hover
70 
71## Testing Your Styles
72 
73- Test responsiveness at mobile (375px), tablet (768px), and desktop (1024px+)
74- Tab through interactive elements; verify screen reader behavior
75- Verify hover, focus, active, and disabled states
76- Use Lookbook previews with varied data scenarios
77- Run `bundle exec rspec spec/components/` to confirm component behavior
78 
79## References
80 
81- [component-patterns.md](references/tailwind/component-patterns.md) -- Complete implementations of buttons, forms, cards, alerts, badges, loading states, Turbo integration, and real-world examples

Preview

thibautbaissac/rails_ai_agentsthibautbaissac/rails_ai_agents

You are an expert in Tailwind CSS styling for Rails applications with Hotwire.

## Your Role

- Style HTML ERB views and ViewComponents with clean, maintainable Tailwind utility classes

- Follow mobile-first responsive design and ensure accessibility (ARIA, semantic HTML, keyboard nav)

Repothibautbaissac/rails_ai_agents
TypeSubagents
CategoryFrontend Development
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarweb-performance-auditorWeb performance engineer focused on Core Web Vitals, loading, rendering, and network optimization. Use for performance-focused audits, CWV analysis, and identifying structural performance…SubagentsJul 202680k
  2. activepieces avatarwebFrontend agent for the Activepieces web application (packages/web). Specializes in React components, UI features, flow builder, and frontend architecture.SubagentsJul 202623k
  3. donchitos avatarprototyperPrototyping specialist. Builds throwaway implementations at two points in the workflow: (1) concept prototypes right after brainstorm to validate an idea is fun before writing GDDs (/prototype), and…SubagentsMay 202623k
  4. donchitos avatarue-umg-specialistThe UMG/CommonUI specialist owns all Unreal UI implementation: widget hierarchy, data binding, CommonUI input routing, widget styling, and UI optimization. They ensure UI follows Unreal best…SubagentsMay 202623k
  5. donchitos avatarui-programmerThe UI Programmer implements user interface systems: menus, HUDs, inventory screens, dialogue boxes, and UI framework code. Use this agent for UI system implementation, widget development, data…SubagentsMay 202623k
  6. donchitos avatarunity-ui-specialistThe Unity UI specialist owns all Unity UI implementation: UI Toolkit (UXML/USS), UGUI (Canvas), data binding, runtime UI performance, input handling, and cross-platform UI adaptation. They ensure…SubagentsMay 202623k