LogoClawIndex
CasesSkillsAbout
LogoClawIndex

general-convention - TypeScript and JavaScript Coding Conventions

Applies standard coding conventions for writing, refactoring, and reviewing TypeScript and JavaScript code.

Tags

Updated: 2026-09-18

Capabilities

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
typescript
javascript
coding-conventions
code-style
refactoring
Apply general coding conventions
Use arrow functions for declarations
Enforce early returns and braces
Format spacing above control statements
TypeScript and JavaScript source code
Code refactoring or review requests
Formatted TypeScript and JavaScript code
Code style review feedback