بنقرة واحدة
typescript
TypeScript guidelines. Use when editing or reviewing `**/*.ts` and `**/*.tsx` files.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
TypeScript guidelines. Use when editing or reviewing `**/*.ts` and `**/*.tsx` files.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Code guidelines for Cloudflare Worker implementations. Use when editing, reviewing, or executing a Cloudflare Worker; e.g. D1 queries, handlers, Wrangler commands, and Wrangler configurations.
Code guidelines for TSX files. Use when editing or reviewing `.tsx` files, i.e. TypeScript React components.
Code guidelines for JavaScript/TypeScript end-to-end, integration, and unit tests. Use when authoring or reviewing `**/*.test.ts` and `**/*.test.tsx` files, e.g. Playwright, Vitest.
Use this skill to create a new design system.
| name | typescript |
| description | TypeScript guidelines. Use when editing or reviewing `**/*.ts` and `**/*.tsx` files. |
| license | MIT |
| user-invocable | false |
| metadata | {"author":"quisi.do"} |
Follow functional programming principles where possible.
Prefer immutable data (const, readonly).
Support exactOptionalPropertyTypes by explicitly including | undefined in
optional property definitions, e.g. readonly foo?: string | undefined.
Use interfaces for data structures and type definitions.
When a function only takes one parameter and that parameter is an untyped
object, name that parameter's interface Options.
interface Options { /* ... */ }
export default function myFn({ /* ... */ }: Options): void {}
I (e.g., use User instead of IUser)
unless the name is already taken. For example, if a React component is
already named User, then fallback to IUser for the interface.