← Back to list

create-component
by jhlee0409
세상에서 가장 맛있는 사이드 프로젝트 레스토랑
⭐ 0🍴 0📅 Jan 3, 2026
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
- Create in
src/components/ComponentName.tsx - Add
'use client'for interactive components - Define props interface above component
- Use
React.FC<Props>pattern - 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.
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon