What problem does it solve?
TypeScript codebases often drift into inconsistent naming, layout, and import patterns, making maintenance harder. This Skill provides a clear, opinionated set of conventions for TypeScript 5.9+ on Node 22 LTS to keep code cohesive and readable across teams.
Core Features & Use Cases
- ESM-first layout: Enforce ES module structure and explicit extensions to prevent runtime surprises.
- Single-responsibility files: Favor one concept per file and avoid barrel files to improve tree-shaking and navigation.
- Naming conventions: Apply PascalCase for types/classes, camelCase for values/functions, and UPPER_SNAKE for module constants.
- Imports & modules: Enforce explicit extensions, consistent import order, and minimized re-exports.
- Use Case: On a large TS project, apply these rules to standardize code across packages and teams.
Quick Start
Apply these TypeScript style rules to your codebase to enforce consistent naming, file layout, and import order.