con un clic
create-hook
Scaffold a new UI hook with the correct naming, tests, and docblocks
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Scaffold a new UI hook with the correct naming, tests, and docblocks
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional 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