بنقرة واحدة
create-hook
Scaffold a new UI hook with the correct naming, tests, and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new UI hook with the correct 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 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-hook |
| description | Scaffold a new UI hook with the correct naming, tests, and docblocks |
| user-invocable | false |
When creating a new UI hook in this project, follow these conventions exactly.
src/ui-hooks/
├── useMyHook.ts
└── specs/
└── useMyHook.unit.tsx
use prefix. Filename matches the hook name.*.unit.tsx file.src/ui-hooks/use<HookName>.ts with a single named exportsrc/ui-hooks/specs/use<HookName>.unit.tsx with unit testssrc/index.ts if the hook is part of the public APIpnpm run check to verify