typescript-conventions
TypeScript coding conventions — imports, naming, module structure, error handling, and ESLint/Prettier integration
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
TypeScript coding conventions — imports, naming, module structure, error handling, and ESLint/Prettier integration
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Health check procedures D1–D14 for the Audit agent — structural validation, attention budget, version checks, workspace integrity, and static audit
Configure and manage Model Context Protocol servers for external tool access
Review a UI for accessibility — WCAG 2.1 AA compliance, semantic HTML, ARIA usage, keyboard navigation, focus management, colour contrast, and screen reader compatibility
Design or review a REST or GraphQL API — resource modeling, versioning strategy, error contract, OpenAPI/schema-first workflow, and security baseline
Generate a CHANGELOG.md entry from staged changes, a commit range, or a PR diff — following Keep a Changelog format with conventional commit classification
Set up and audit environment variable management — create .env.example, add startup validation, separate secrets from config, and document every variable
| name | typescript-conventions |
| description | TypeScript coding conventions — imports, naming, module structure, error handling, and ESLint/Prettier integration |
| compatibility | >=1.4 |
Skill metadata: version "1.0"; license MIT; tags [typescript, eslint, prettier, conventions]; recommended tools [codebase, editFiles].
Applies to: **/*.ts, **/*.tsx, **/*.mts, **/*.cts
import type { ... } to keep runtime bundles clean.const by default. Use let only when reassignment is necessary. Never use var.interface for object shapes that may be extended. Use type for unions, intersections, and mapped types.async/await over raw Promise chains.unknown instead of any for values of uncertain type.@typescript-eslint/recommended-type-checked for maximum safety.index.ts re-exports) are acceptable for public API surfaces but should not re-export internal implementation details.