بنقرة واحدة
create-component
Scaffold a new UI component with the correct folder structure, styles, tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new UI component with the correct folder structure, styles, tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a changeset entry describing changes to workspace packages
Scaffold a new class with the correct file structure, naming, tests, and docblocks
Scaffold a new runtime type guard with the correct naming and docblocks
Scaffold a new utility function with the correct naming, tests, and docblocks
Write tests following this project's testing conventions, file patterns, and placement rules
Create a git commit following this project's commit message conventions
| name | create-component |
| description | Scaffold a new UI component with the correct folder structure, styles, tests, and docblocks |
| user-invocable | false |
When creating a new UI component in this project, follow these conventions exactly.
src/components/
└── MyComponent/
├── component.ts(x) # Single named export
├── styles.css # Component styles
├── constants.ts # Component-local constants when needed
├── types.ts # Component-local explicit types when needed
└── specs/
└── MyComponent.unit.ts(x) # Colocated unit test
component.ts(x) (not index.ts(x)).*.unit.ts(x) file.constants.ts and types.ts inside the same component folder instead of inlining them in component.ts(x).styles.css. In this project, components that need to own stylesheet text should import the file as a string via ?inline and explicitly hand that CSS to the terminal DOM style system rather than relying on browser-style automatic CSS injection.src/components/<ComponentName>/component.ts(x) with a single named exportsrc/components/<ComponentName>/styles.css for stylesconstants.ts and types.ts inside the component folder when the component needs dedicated constants or explicit typessrc/components/<ComponentName>/specs/<ComponentName>.unit.ts(x) if the component has non-trivial logicsrc/index.ts if the component is part of the public APIpnpm run check to verify