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