typescript-code-style
CommunityEnforce idiomatic TS style across projects.
AuthorJylhis
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: typescript-code-style Download link: https://github.com/Jylhis/skills/archive/main.zip#typescript-code-style Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.