bp-typescript
TypeScript ベストプラクティス。型安全性とコード品質を保つための規約。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
TypeScript ベストプラクティス。型安全性とコード品質を保つための規約。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Writes a blameless incident postmortem for the s4rCiv project in Japanese, grounded in the real timeline, commits, and logs (never speculation). Use when the user says "ポストモーテム書いて" / "障害報告書いて" / "事後検証" / "incident report" / "RCA" / "根本原因", or after an incident, outage, data-integrity scare, or a committed bug fix worth a durable record. Authoring only — no deploy.
Go ベストプラクティス。Go コードの品質を保つための規約とパターン集。
Python ベストプラクティス。Python コードの品質を保つための規約とレビュー観点(Python 3.14+)。
Rust ベストプラクティス。Rust コードの品質を保つための規約とパターン集(Edition 2024)。
Svelte 5 & SvelteKit ベストプラクティス。Svelte 5 Runes ベースのコンポーネント設計規約。
Clean Architecture layer patterns (Handler → Usecase → Port → Gateway → Driver), mapped to s4rCiv's adapter model and observation/interpretation plane separation. Use when implementing or reviewing layered backend code (source adapters, normalizer, read models, CQRS).
| name | bp-typescript |
| description | TypeScript ベストプラクティス。型安全性とコード品質を保つための規約。 |
このスキルが発動したら、docs/best_practices/typescript.md を Read ツールで読み込み、
記載されたベストプラクティス(DECREE)に従ってコードを書くこと。
unknown で受け、型ガードで narrowing。any は最小限as より type predicate (value is T) を優先。! 非 null アサーション禁止Record<string, string> 等で型チェックしつつリテラル型を維持import type { T } で型のみインポートを明示satisfies never で網羅性チェック完全なベストプラクティスは docs/best_practices/typescript.md を参照。
セクション: Strict Configuration, Type Safety, Discriminated Unions, Error Handling, Async Patterns, Zod Validation, Module Design