ワンクリックで
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 職業分類に基づく
| 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.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.