Pular para o conteúdo
Kitbay
Enviar
SkillOficial

developer-code-organization

MITAtualizado em 11 de nov. de 20265.616Estrelas no GitHub

A long reference for people changing gh-aw's Go code.

O que a skill ensina

A long reference for people changing gh-aw's Go code. It covers how files are organised, patterns to copy and ones to avoid, size limits for files, decision trees for when to create a new file, a worked example of breaking up a large file, conventions for helper files, stubs for WASM build variants, and rules for cleaning and normalising strings. It is specific to the layout of the gh-aw repository.

O que faz

  • Decide where new Go code belongs in gh-aw
  • Split large Go files following project patterns
  • Write WASM build-variant stubs
  • Apply gh-aw's string normalisation rules