react-component — community react-component, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Frontend Agents needing modular React component creation and Next.js integration. A diary app that lets you see past entries for the same day at a glance

toshi-hm toshi-hm
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The react-component skill by toshi-hm is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Frontend Agents needing modular React component creation and Next.js integration.

Core Value

Empowers agents to design and implement reusable UI components using Atomic Design principles, leveraging React 19.2.4 and Next.js 16.1.5 for robust and scalable applications, including features like template-based layouts and App Router pages.

Capabilities Granted for react-component

Creating modular UI components for diary apps
Implementing Atomic Design hierarchy for scalable applications
Developing reusable Next.js page templates

! Prerequisites & Limits

  • Requires React and Next.js knowledge
  • Limited to React 19.2.4 and Next.js 16.1.5 versions
  • Hierarchical component imports must follow Atomic Design structure
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

react-component

Install react-component, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

React/Next.js Component Creation

React 19.2.4 と Next.js 16.1.5 を使用した高品質なコンポーネントを作成します。

作成手順

1. Atomic Design階層の決定

コンポーネントを配置する適切な階層を決定:

  • atoms/: 基本的なUI要素(Button, Input, Labelなど)。他のコンポーネントに依存しない
  • molecules/: atomsの組み合わせ(SearchBar, FormFieldなど)
  • organisms/: molecules/atomsを組み合わせた複雑なコンポーネント(Header, DiaryCardなど)
  • templates/: ページレベルのレイアウト
  • app/: Next.js App Routerのページ(テンプレートの具体的なインスタンス)

重要: 上位階層のコンポーネントは下位階層のコンポーネントのみをインポートできます。

2. コンポーネントの実装

typescript
1// src/components/[階層]/ComponentName/ComponentName.tsx 2import type { FC } from 'react'; 3 4export type ComponentNameProps = { 5 // Props定義(必須/オプションを明確に) 6 title: string; 7 description?: string; 8 onClick?: () => void; 9 className?: string; 10 children?: React.ReactNode; 11}; 12 13export const ComponentName: FC<ComponentNameProps> = ({ 14 title, 15 description, 16 onClick, 17 className = '', 18 children, 19}) => { 20 return ( 21 <div className={`基本スタイル ${className}`}> 22 {/* コンポーネントの実装 */} 23 </div> 24 ); 25};

3. 実装ガイドライン

TypeScript:

  • すべてのpropsに型定義を提供
  • FC<Props> を使用
  • エクスポートされるpropsは export type で定義

Styling (Tailwind CSS v4.1):

  • ユーティリティクラスを直接使用
  • className propでカスタマイズ可能にする
  • レスポンシブデザインには sm:, md:, lg:, xl: プレフィックスを使用

アクセシビリティ:

  • セマンティックなHTML要素を使用
  • 適切なARIA属性を追加
  • キーボードナビゲーションをサポート
  • 十分なカラーコントラスト比を確保

パフォーマンス:

  • 必要に応じて React.memo を使用
  • イベントハンドラーは適切にメモ化
  • 重い計算は useMemo でキャッシュ

4. パスエイリアス

すべてのインポートに @/ エイリアスを使用:

typescript
1import { Button } from '@/components/atoms/Button'; 2import { validateDiary } from '@/lib/validations/diary';

5. ファイル構成

コンポーネントディレクトリには以下を含める:

ComponentName/
├── ComponentName.tsx          # メインコンポーネント
├── ComponentName.stories.tsx  # Storybook stories(別スキルで作成)
├── ComponentName.test.tsx     # Vitest tests(別スキルで作成)
└── index.ts                   # 再エクスポート(オプション)

出力

  1. コンポーネントファイルを作成
  2. 実装した機能とアクセシビリティ対応を説明
  3. 使用例を提供
  4. 次のステップ(Storybook story作成、テスト作成)を提案

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is react-component?

Perfect for Frontend Agents needing modular React component creation and Next.js integration. A diary app that lets you see past entries for the same day at a glance

How do I install react-component?

Run the command: npx killer-skills add toshi-hm/dialy/react-component. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for react-component?

Key use cases include: Creating modular UI components for diary apps, Implementing Atomic Design hierarchy for scalable applications, Developing reusable Next.js page templates.

Which IDEs are compatible with react-component?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for react-component?

Requires React and Next.js knowledge. Limited to React 19.2.4 and Next.js 16.1.5 versions. Hierarchical component imports must follow Atomic Design structure.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add toshi-hm/dialy/react-component. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use react-component immediately in the current project.

Related Skills

Looking for an alternative to react-component or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI