ワンクリックで
tailwind
Tailwind CSS v4 styling conventions. Use when working with CSS, Tailwind utilities, or customizing the theme in Laravel projects.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Tailwind CSS v4 styling conventions. Use when working with CSS, Tailwind utilities, or customizing the theme in Laravel projects.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Readonly data containers with typed factory methods (`fromArray`, `fromModel`, `fromCollection`, `fromRequest`) used to pass structured data between application layers — especially for external API responses, Eloquent models, and service boundaries. Use this skill whenever creating, reviewing, or refactoring DTOs, Data Transfer Objects, value objects for inter-layer communication, or mapping payloads from APIs, models, or collections into typed PHP objects. Also trigger when the user mentions spatie/laravel-data alternatives, data mapping, or payload normalization in a Laravel context.
Eloquent model conventions for mass assignment, casts, relationship naming, activity logging, and mandatory model tests (CRUD + relations).
Single-purpose business logic classes that encapsulate one well-defined business operation. Actions are the primary location for business logic in Laravel applications, invoked from controllers, commands, or jobs.
Albatros accounting API integration via Saloon. Use when working with app/Services/Albatros/, AlbatrosConnector, or Albatros DTOs.
Laravel Blade template conventions covering components, output escaping, security, structure, and formatting.
Artisan console command classes that serve as the CLI entry point for operations. Commands validate input and delegate all business logic to Actions or Services.
| name | tailwind |
| description | Tailwind CSS v4 styling conventions. Use when working with CSS, Tailwind utilities, or customizing the theme in Laravel projects. |
| compatible_agents | ["implement","refactor","review"] |
resources/css/app.css.Design/SKILL.md).resources/css/app.css.@tailwindcss/vite.@source directives include relevant Blade/Livewire paths.npm run dev or npm run build succeeds).@theme for tokens (colors, fonts, spacing) instead of hardcoded duplicates.sm:, md:, lg:) where layout changes by viewport.dark: variants where dark mode behavior is required..css class selectors.@theme within resources/css/app.css.@source directives./* resources/css/app.css — theme customization via @theme */
@import "tailwindcss";
@theme {
--color-primary-500: #3b82f6;
--color-accent-500: #8b5cf6;
--font-sans: "Inter", system-ui, sans-serif;
}
@source "../views/**/*.blade.php";
@source "../../app/Livewire/**/*.php";
{{-- Compose utilities in markup --}}
<div class="rounded-lg shadow-sm p-4 sm:p-6 lg:p-8 transition ease-in-out duration-150">
<h2 class="text-lg font-semibold text-gray-900 dark:text-gray-100">Title</h2>
</div>
{{-- Before: long repeated utility strings across views --}}
<button class="inline-flex items-center gap-2 rounded-md bg-indigo-600 px-3 py-2 text-sm font-medium text-white hover:bg-indigo-500 disabled:cursor-not-allowed disabled:opacity-60">
Save
</button>
{{-- After: extract to a reusable component --}}
<x-card class="p-4">
{{ $slot }}
</x-card>
npm run build after style/token changes to catch invalid Tailwind usage..my-class { ... } selectors in CSS files<style> tags instead of Tailwind utilities@source directives for Blade/Livewire paths (classes won't be scanned)@theme@source.Design/SKILL.md — design system and component conventionsBlade/SKILL.md — Blade template structure