with one click
typescript-standards
// TypeScript coding standards provide comprehensive guidelines for writing type-safe, maintainable code. This skill covers strict TypeScript configuration, naming conventions, type definitions, error ha
// TypeScript coding standards provide comprehensive guidelines for writing type-safe, maintainable code. This skill covers strict TypeScript configuration, naming conventions, type definitions, error ha
[HINT] Download the complete skill directory including SKILL.md and all related files
| id | SKL-typescript-TYPESCRIPTSTANDARDS |
| name | Typescript Standards |
| description | TypeScript coding standards provide comprehensive guidelines for writing type-safe, maintainable code. This skill covers strict TypeScript configuration, naming conventions, type definitions, error ha |
| version | 1.0.0 |
| status | active |
| owner | @cerebra-team |
| last_updated | 2026-02-22 |
| category | Backend |
| tags | ["api","backend","server","database"] |
| stack | ["Python","Node.js","REST API","GraphQL"] |
| difficulty | Intermediate |
(Select at least one profile to enable specific modules)
TypeScript coding standards provide comprehensive guidelines for writing type-safe, maintainable code. This skill covers strict TypeScript configuration, naming conventions, type definitions, error handling patterns, async/await best practices, utility types, dependency injection, and environment variable validation for both Backend (Node.js) and Frontend (Next.js) projects.
any types used inappropriately# Example implementation following best practices
def example_function():
# Your implementation here
pass
.env.example keys: API_KEY, DATABASE_URL (no values)| Type | Focus Area | Required Scenarios / Mocks |
|---|---|---|
| Unit | Core Logic | Must cover primary logic and at least 3 edge/error cases. Target minimum 80% coverage |
| Integration | DB / API | All external API calls or database connections must be mocked during unit tests |
| E2E | User Journey | Critical user flows to test |
| Performance | Latency / Load | Benchmark requirements |
| Security | Vuln / Auth | SAST/DAST or dependency audit |
| Frontend | UX / A11y | Accessibility checklist (WCAG), Performance Budget (Lighthouse score) |
request_iderror_rate, latency, queue_depth(ข้อกำหนดสำหรับ AI Agent ในการคิดและแก้ปัญหาเมื่อเกิดข้อผิดพลาด)