typescript

Enforce strict TypeScript practices and module boundaries in TS/TSX/Next.js projects.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/nokusukun/sublime --skill typescript-nokusukun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript
Source: https://github.com/nokusukun/sublime/tree/main/languages/typescript
Command: npx skills add https://github.com/nokusukun/sublime --skill typescript-nokusukun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

TypeScript projects often suffer from inconsistent type discipline, boilerplate drift, and ambiguous patterns. This Skill provides a structured Sublime extension that codifies TS practices, so teams stay aligned across writing, reviewing, and refactoring.

Core Features & Use Cases

  • Enforces strict TS posture (noImplicitAny, strictNullChecks, etc.) and disciplined use of any/unknown/as
  • Supports discriminated unions, narrowing, and branded types for safer data modeling
  • Reinforces module boundaries and barrel-free exports to improve maintainability
  • Integrates React patterns and Next.js App Router discipline to improve server/client boundaries

Quick Start

Install the TypeScript Sublime extension and begin applying its guidelines to your TS/TSX/Next.js work.

Frequently Asked Questions about typescript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce strict TypeScript configuration and disciplined any usage in TSX projects?

To enforce strict TypeScript configuration, apply guidelines covering noImplicitAny, strictNullChecks, and disciplined use of any, unknown, and as assertions. This ensures safer TS/TSX code and reduces boilerplate drift across team projects.

What's the best way to model safer data in TypeScript using discriminated unions and branded types?

Model safer data in TypeScript by leveraging discriminated unions, narrowing, and branded types. These patterns enable precise type narrowing and prevent invalid states, ensuring safer data modeling and consistent type discipline.

How do I enforce module boundaries and barrel-free exports for better maintainability in Next.js projects?

Enforce module boundaries and barrel-free exports in Next.js projects by applying structured TypeScript guidelines. This improves maintainability and reinforces server/client boundaries within the App Router architecture.

Does this TypeScript extension work with React patterns and Next.js App Router architectures?

Yes, this TypeScript extension works with React patterns and Next.js App Router architectures. It integrates server/client boundary discipline and React-specific TS patterns to improve code quality and consistency.

Why does TypeScript code quality and consistency degrade in team projects?

TypeScript code quality and consistency degrade in team projects due to inconsistent type discipline and boilerplate drift. Codifying TS practices through a structured extension solves this by aligning teams across writing, reviewing, and refactoring tasks.