jpskill.com
🛠️ 開発・MCP コミュニティ

coding-with-tailiwnd

Use this skill when you need to code with tailwind css

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o coding-with-tailiwnd.zip https://jpskill.com/download/19036.zip && unzip -o coding-with-tailiwnd.zip && rm coding-with-tailiwnd.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19036.zip -OutFile "$d\coding-with-tailiwnd.zip"; Expand-Archive "$d\coding-with-tailiwnd.zip" -DestinationPath $d -Force; ri "$d\coding-with-tailiwnd.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して coding-with-tailiwnd.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → coding-with-tailiwnd フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

指示

  • tailwind css を使用してコーディングする際は、以下のルールに従ってください。

ルール

  • コンポーネントのスタイル設定には、別の CSS ファイルを作成してください。
  • コンポーネントのスタイル設定には、tailwind の apply ディレクティブを使用してください。
  • コンポーネントのスタイル設定には、@layer components ディレクティブを使用してください。
  • tailwind 4.1 のコンテキストについては、以下のドキュメントを参照してください。
    • デザイン原則については、.claude/context/tailwind/tw-v4-theme-variable.md を参照してください。
    • カスタムスタイルについては、.claude/context/tailwind/tw-v4-custom-styles.md を参照してください。
    • 関数とディレクティブについては、.claude/context/tailwind/tw-v4-function-and-directives.md を参照してください。
    • ソースファイル内のクラス検出については、.claude/context/tailwind/tw-v4-detecting-classes-in-source-files.md を参照してください。
    • アップグレードガイドについては、.claude/context/tailwind/tw-v4-upgrade-guide.md を参照してください。
  • 親要素と子要素のスタイル設定には、@layer components 内でネストされたクラスを使用してください。
  • コンポーネントにカスタムユーティリティを追加するには、@utility ディレクティブを使用してください。
  • コンポーネントにカスタムバリアントを追加するには、@variant ディレクティブを使用してください。
  • 新しいコンポーネントは srs/components ルートディレクトリに作成してください。
  • srs/components/ui ディレクトリ内のファイルには決して触れないでください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Instructions

  • Follow the rules below to code with tailwind css:

Rules

  • Create a seperate css file to style the component
  • Use the tailwind apply directive to style the component
  • Use the @layer components directive to style the component
  • For tailwind 4.1 context, read the following docs:
    • .claude/context/tailwind/tw-v4-theme-variable.md to get the design principles
    • .claude/context/tailwind/tw-v4-custom-styles.md to get the custom styles
    • .claude/context/tailwind/tw-v4-function-and-directives.md to get the functions and directives
    • .claude/context/tailwind/tw-v4-detecting-classes-in-source-files.md to get the detecting classes in source files
    • .claude/context/tailwind/tw-v4-upgrade-guide.md to get the upgrade guide
  • Use nested classes in @layer components for styling parents and children elements
  • Use @utility directives to add custom utilities to the component
  • Use @variant directives to add custom variants to the component
  • Create a new component in srs/components root directory
  • Never touch the files in srs/components/ui directory