بنقرة واحدة
create-guard
Scaffold a new runtime type guard with the correct naming and docblocks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new runtime type guard with the correct naming 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 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-guard |
| description | Scaffold a new runtime type guard with the correct naming and docblocks |
| user-invocable | false |
When creating a new runtime type guard in this project, follow these conventions exactly.
src/guards/
├── ThingGuard.ts
└── ConfigGuard.ts
Guard suffix.isThing() or hasThing() that narrow a type must not live in utility files.z.infer).types/. Do not define the type from the implementation object or guard logic.src/guards/<Name>Guard.ts with a single named exportsrc/types/src/index.ts if the guard is part of the public APIpnpm run check to verify