ワンクリックで
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.