Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cleanexpo avatar

Typescript Coding Standards

  • 1 installs
  • 1 repo stars
  • Updated July 25, 2026
  • cleanexpo/dr-nrpg

Helps with ai & agent building tasks.

About

typescript-coding-standards is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • typescript-coding-standards
  • AI & Agent Building
  • AI-coding skill

Typescript Coding Standards by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #14,098 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cleanexpo/dr-nrpg --skill typescript-coding-standards

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars1
Last updatedJuly 25, 2026
Repositorycleanexpo/dr-nrpg

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

TypeScript Coding Standards

Core Rules

  • TS strict mode. Zero any. Zero untyped exports.
  • Explicit return types on all exported functions.
  • Interfaces for object shapes. Type aliases for unions/intersections.
  • Async/await over raw promises. Always try/catch with typed errors.
  • Optional chaining (?.) and nullish coalescing (??) over manual null checks.
  • Never use non-null assertion (!) unless justified with a comment.
  • const by default. let only when value changes. Never var.
  • Destructuring for cleaner code. Template literals for string interpolation.

File Limits

  • Functions: <40 lines. Extract if exceeding.
  • Files: <300 lines. Split if exceeding.
  • No dead code. No unused imports. No commented-out blocks.

Naming

  • Components: PascalCase (UserDashboard.tsx)
  • Utilities: kebab-case (date-formatter.ts)
  • Services: kebab-case (booking.service.ts)
  • Types: kebab-case (user.types.ts)
  • Tests: .test.ts or .spec.ts
  • Constants: SCREAMING_SNAKE_CASE
  • Enums: PascalCase with SCREAMING_SNAKE_CASE values

Exports

  • Named exports preferred over default exports.
  • Barrel exports (index.ts) for module directories.
  • JSDoc on every exported function.

Error Handling

  • Custom error classes: ValidationError, NotFoundError, UnauthorizedError, ConflictError
  • Always log with context (userId, bookingId, etc.)
  • Never expose internal errors to clients
  • Consistent API response format: { success: boolean, data?: T, error?: { code, message } }

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.