원클릭으로
create-react-component
Create a new React component in packages/components following established conventions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a new React component in packages/components following established conventions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | create-react-component |
| description | Create a new React component in packages/components following established conventions |
| argument-hint | ["ComponentName"] |
Create a new React component in the packages/components package following the established conventions.
Create a folder packages/components/src/$ARGUMENTS/ with the following files:
index.tsx — Component implementationUse the template from templates/component.tsx:
{{ComponentName}} with $ARGUMENTS{{component-name}} with the kebab-case versionindex.test.tsx — Jest unit testsUse the template from templates/component.test.tsx:
{{ComponentName}} with $ARGUMENTSindex.stories.tsx — Storybook storyUse the template from templates/component.stories.tsx:
{{ComponentName}} with $ARGUMENTSindex.scss — Component stylesUse the template from templates/component.scss:
{{component-name}} with the kebab-case version of $ARGUMENTSAdd a named export to packages/components/index.ts:
export {default as $ARGUMENTS} from './src/$ARGUMENTS';
After creating all files, run yarn test and yarn lint from packages/components/ to verify everything works.