スキル一覧に戻る
jhlee0409

create-component

by jhlee0409

세상에서 가장 맛있는 사이드 프로젝트 레스토랑

0🍴 0📅 2026年1月3日
GitHubで見るManusで実行

SKILL.md


name: create-component description: Creates React components for SideDish. Use when adding new UI components, modals, forms, or interactive elements. Includes TypeScript interfaces, styling patterns, and security considerations.

Create Component Skill

Instructions

  1. Create in src/components/ComponentName.tsx
  2. Add 'use client' for interactive components
  3. Define props interface above component
  4. Use React.FC<Props> pattern
  5. Export as default

Component Template

'use client'

import { useState } from 'react'

interface ComponentNameProps {
  title: string
  onClick?: () => void
  children?: React.ReactNode
}

const ComponentName: React.FC<ComponentNameProps> = ({ title, onClick, children }) => {
  const [isLoading, setIsLoading] = useState(false)

  return (
    <div className="bg-white rounded-xl p-6 shadow-lg">
      <h2 className="text-lg font-bold text-slate-900">{title}</h2>
      {children}
    </div>
  )
}

export default ComponentName

Korean Text

  • Buttons: 등록하기, 저장하기, 취소, 삭제
  • Labels: 제목, 설명, 태그
  • Errors: 오류가 발생했습니다

Security

import SafeMarkdown from '@/components/SafeMarkdown'
<SafeMarkdown>{userContent}</SafeMarkdown>

For form components, modal template, and complete patterns, see reference.md.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です