general-convention - TypeScript and JavaScript Coding Conventions
Applies standard coding conventions for writing, refactoring, and reviewing TypeScript and JavaScript code.
Tags
Updated: 2026-09-18Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply general coding conventions
- Use arrow functions for declarations
- Enforce early returns and braces
- Format spacing above control statements
- Standardize type annotations and names
Inputs
- TypeScript and JavaScript source code
- Code refactoring or review requests
Outputs
- Formatted TypeScript and JavaScript code
- Code style review feedback
Requirements
- class-validator package
