Agent skill
add-component-gregsantos-nexturbo
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/design/add-component-gregsantos-nexturbo
SKILL.md
Add Component
새 React 컴포넌트를 프로젝트 컨벤션에 맞게 생성합니다.
Instructions
- 사용자로부터 컴포넌트 이름(PascalCase)과 선택적으로 디렉토리를 받습니다
- 기본 디렉토리는
src/components/common/입니다 - 다음 파일을 생성합니다:
src/components/{directory}/{ComponentName}.tsx
- 해당 디렉토리에
index.ts가 있으면 export를 추가합니다
Template
import { cn } from "@/lib/utils";
interface ${ComponentName}Props {
className?: string;
children?: React.ReactNode;
}
export function ${ComponentName}({ className, children }: ${ComponentName}Props) {
return (
<div className={cn("", className)}>
{children}
</div>
);
}
Checklist
- Props 인터페이스 정의
cn()유틸리티 사용- className prop 지원
- named export 사용
Examples
/add-component UserAvatar common
→ src/components/common/UserAvatar.tsx 생성
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?