Zum Inhalt springen
Kitbay
Skill

coding-standards

MITAktualisiert am 9. Nov. 2026300.529GitHub-Sterne

A baseline style guide from the ECC collection that the agent applies across projects, mainly TypeScript and JavaScript with React.

Was der Skill vermittelt

A baseline style guide from the ECC collection that the agent applies across projects, mainly TypeScript and JavaScript with React. It covers readability and the KISS, DRY and YAGNI principles, naming for variables, functions, files and tests, avoiding mutation, error handling and running independent promises together, strict types without any, React component and hook habits, REST conventions with schema validation, a sample source layout, comments that explain why, simple performance habits and the arrange-act-assert test pattern. A section on code smells shows long functions, deep nesting and magic numbers with fixes. It points to other ECC skills for framework-specific detail.

Funktionen

  • Apply naming and readability conventions
  • Prefer immutable updates and strict types
  • Follow REST and validation conventions
  • Spot and fix common code smells