بنقرة واحدة
create-error
Scaffold a new custom error class with the correct naming, optional tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new custom error class with the correct naming, optional 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 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
| name | create-error |
| description | Scaffold a new custom error class with the correct naming, optional tests, and docblocks |
| user-invocable | false |
When creating a new custom error class in this project, follow these conventions exactly.
src/errors/
├── ValidationError.ts
└── specs/ # Only if errors contain custom logic
└── ValidationError.unit.ts
src/errors/<ErrorName>.ts with a single named exportsrc/errors/specs/<ErrorName>.unit.tssrc/index.ts if the error is part of the public APIpnpm run check to verify