jpskill.com
💬 コミュニケーション コミュニティ

frontend-components

Reactコンポーネント作成・編集時に、再利用可能で役割が明確なUI部品を、適切な状態管理と疎結合性を保ちつつ構築し、shadcn/uiコンポーネントや共有UI部品の実装、ドキュメント作成、大規模コンポーネントのリファクタリングなどを支援するSkill。

📜 元の英語説明(参考)

Build reusable, composable UI components with single responsibilities, clear prop interfaces, proper state management, and minimal coupling. Use this skill when creating or editing React components (.tsx, .jsx files), when designing component APIs with props, when implementing component composition patterns, when managing local component state, when building shadcn/ui components, when creating shared UI components in resources/js/Components/, when implementing component documentation, or when refactoring large components into smaller, focused pieces.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Reactコンポーネント作成・編集時に、再利用可能で役割が明確なUI部品を、適切な状態管理と疎結合性を保ちつつ構築し、shadcn/uiコンポーネントや共有UI部品の実装、ドキュメント作成、大規模コンポーネントのリファクタリングなどを支援するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して frontend-components.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → frontend-components フォルダができる
  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 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

フロントエンドコンポーネント

この Skill は、Claude Code がフロントエンドコンポーネントの扱い方に関連するコーディング標準を遵守する方法について、具体的なガイダンスを提供します。

この Skill を使用するタイミング

  • .tsx または .jsx ファイルで新しい React コンポーネントを作成する場合
  • resources/js/Components/ または類似のディレクトリにある既存のコンポーネントを編集する場合
  • コンポーネントの prop インターフェースと TypeScript 型を設計する場合
  • より小さなコンポーネントを組み合わせてコンポーネント合成を実装する場合
  • コンポーネントの状態を管理する場合 (useState, useReducer など)
  • shadcn/ui コンポーネントを構築またはカスタマイズする場合
  • 再利用可能な UI コンポーネント (ボタン、カード、モーダル、フォームなど) を作成する場合
  • モノリシックなコンポーネントを、より小さく、焦点を絞った部品にリファクタリングする場合
  • コンポーネントのドキュメントまたは使用例を実装する場合
  • ローカルの状態と、親コンポーネントへの状態の持ち上げのどちらを選択するかを決定する場合
  • コンポーネントの命名規則を定義する場合
  • コンポーネントの内部ロジックをカプセル化し、最小限の API を公開する場合

指示

詳細については、次のファイルに記載されている情報を参照してください。 frontend components

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Frontend Components

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend components.

When to use this skill

  • When creating new React components in .tsx or .jsx files
  • When editing existing components in resources/js/Components/ or similar directories
  • When designing component prop interfaces and TypeScript types
  • When implementing component composition by combining smaller components
  • When managing component state (useState, useReducer, etc.)
  • When building or customizing shadcn/ui components
  • When creating reusable UI components (buttons, cards, modals, forms, etc.)
  • When refactoring monolithic components into smaller, focused pieces
  • When implementing component documentation or usage examples
  • When deciding between local state and lifting state up to parent components
  • When defining component naming conventions
  • When encapsulating component internal logic and exposing minimal APIs

Instructions

For details, refer to the information provided in this file: frontend components