ワンクリックで
views
Write views using Hotwire (Turbo frames/streams), Tailwind CSS 4, Flowbite, and Herb (ERB) templates
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write views using Hotwire (Turbo frames/streams), Tailwind CSS 4, Flowbite, and Herb (ERB) templates
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create and manage Solid Queue background jobs with perform_now vs perform_later patterns
Perform deep critical analysis of changes with focus on performance vs sustainability trade-offs
Add controllers and routes following project patterns for organizer namespaces, strong params, and Turbo
Build Rails forms with Tailwind CSS, Turbo integration, and strong params validation
Write database migrations for PostgreSQL with PostGIS, UUID primary keys, enums, and counter caches
Create and modify Rails models following project conventions for STI, enums, validations, counter caches, and scopes
| name | views |
| description | Write views using Hotwire (Turbo frames/streams), Tailwind CSS 4, Flowbite, and Herb (ERB) templates |
| license | MIT |
app/views/<controller_name>/action.html.erbapp/views/layouts/application.html.erbapp/views/<controller_name>/_<partial>.html.erbapp/views/layouts/modal.html.erbgrid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4<%= turbo_frame_tag "modal", target: "_top" %>bg-gray-50 dark:bg-gray-900 pattern throughout<%= turbo_frame_tag "frame_id" %> — replace only frame contentdata: { "turbo-method": :delete } for Turbo-preflighted DELETE requestsdata: { turbo_frame: "modal" }<%= stylesheet_link_tag ..., "data-turbo-track": "reload" %><% content_for :sub_navigation do %>
<%= yield :sub_navigation %>
<% end %>
content_for defines a block, yield :name renders itdark: prefix throughout (dark:text-white, dark:bg-gray-800)md:, lg:, xl:, 2xl:icon('icon-name') helper@tailwindcss/container-queries plugin available@tailwindcss/forms for styled form inputs@tailwindcss/typography for prose contentform_with or form_for with model bindingstatus: :unprocessable_entity on render :edit for validation failuresicon('name', class: '...') — Phosphor icon helperlink_to ... url, class: '...' do ... end — standard link builderbutton_tag(type: 'button', class: '...') — button builderlabel_tag ... do ... end — label buildercheck_box_tag — checkbox builderrender partial: 'name', object: value — partial renderingturbo_frame_tag 'name', target: '_top' — Turbo frameurl_for(...) — URL helpersroot_url, organizer_path — path helperscurrent_user, authenticated?, organizer_mode? — auth helpers<%= %> (output), <% %> (logic), <%# %> (comment)class: "
p-2 text-gray-600
hover:text-white
dark:hover:bg-gray-700
"
<%= link_to path do %>
Content here
<% end %>
<%= content_for :sub_navigation do %>
<nav class="flex mb-5" aria-label="Breadcrumb">
<ol class="inline-flex items-center space-x-1">
<li><%= link_to root_url, class: '...' do %>Home<% end %></li>
<li><%= link_to [:organizer, :resources], class: '...' do %>Resources<% end %></li>
<li><span class="ml-1 text-gray-400" aria-current="page">Current</span></li>
</ol>
</nav>
<% end %>
app/views/layouts/application.html.erb — Main layoutapp/views/layouts/modal.html.erb — Modal layoutapp/views/organizer/tournaments/show.html.erb — Example with breadcrumbapp/views/events/index.html.erb — Simple view example