원클릭으로
typescript-standards
Use when reviewing TypeScript/Bun code in this project — flags anti-patterns to raise and enforces test philosophy
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when reviewing TypeScript/Bun code in this project — flags anti-patterns to raise and enforces test philosophy
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | typescript-standards |
| description | Use when reviewing TypeScript/Bun code in this project — flags anti-patterns to raise and enforces test philosophy |
| ID | Rule |
|---|---|
| TS-001 | Do not use any. Flag unless a comment explains why it is unavoidable. |
| TS-002 | Do not use as SomeType to silence a type error. Fix the type definition instead. |
| TS-003 | Do not use ! non-null assertion unless the invariant is immediately obvious from context. |
| TS-004 | Exported functions must have explicit return types. |
| TS-005 | Function parameters must not have implicit any. |
| ID | Rule |
|---|---|
| TS-006 | Do not use enum. Use a const object + typeof union instead. |
| TS-007 | Do not use namespace. Use ES modules. |
| TS-008 | Do not use require() in .ts files. Use import. |
| TS-009 | Do not use a class as a container for static methods only. Use module-level exports or a plain object. |
| ID | Rule |
|---|---|
| TS-010 | Do not import from jest. This project uses bun:test. |
| TS-011 | Be consistent with node: prefix usage within a file (note, not a block). |
| ID | Rule |
|---|---|
| TS-020 | Do not test private fields or internal implementation details. |
| TS-021 | Do not mock private methods or internal state. Only mock injected dependencies. |
| TS-022 | Do not write duplicate tests that re-verify a contract already covered in the same file. |
| TS-023 | Do not flag missing edge cases or boundary condition tests. |
| TS-024 | Do not suggest "could also test X" improvements. |
| TS-025 | A test suite is sufficient when the public API contract is covered. Do not require more. |
Apply when designing or reviewing HTTP APIs — enforces TCP API design standards.
Apply when writing or reviewing TypeScript — enforces TCP TypeScript standards.
Use when starting any development task — scans files in scope and loads the correct TCP coding standards before any code is written.
Use when building or modifying review/src/agents/ using @github/copilot-sdk, or migrating from @opencode-ai/sdk, or asking how to run parallel agent sessions, get structured JSON output, configure custom OpenAI providers, use hooks, MCP servers, custom agents/skills, session persistence, observability, or troubleshoot SDK issues.
everything you need to know about octokit.js, form github's official SDK for REST and GraphQL API requests, GitHub App authentication, and webhooks