本文へスキップ
Kitbay
スキル

coding-standards

MIT2026年11月9日 更新300,529GitHubスター

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

スキルの内容

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.

できること

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