بنقرة واحدة
create-class
Scaffold a new class with the correct file structure, naming, tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new class with the correct file structure, naming, tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a changeset entry describing changes to workspace packages
Scaffold a new UI component with the correct folder structure, styles, 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-class |
| description | Scaffold a new class with the correct file structure, naming, tests, and docblocks |
| user-invocable | false |
When creating a new class in this project, follow these conventions exactly.
src/classes/
├── MyClass.ts # PascalCase filename matching class name
└── specs/
└── MyClass.unit.ts # Colocated unit test
utilities/constants/guards/types/*.unit.ts file in a specs/ sibling folder.src/classes/<ClassName>.ts with a single named class exportsrc/classes/specs/<ClassName>.unit.ts with unit tests for the class itselfsrc/index.ts if the class is part of the public APIsrc/register.d.tspnpm run check to verify