Coding

General coding patterns and conventions.

octaviantocan a527ca9 496 B Updated

File contents

Naming Conventions

  • Use camelCase for variables and functions
  • Use PascalCase for classes and types
  • Use UPPER_SNAKE_CASE for constants

Error Handling

  • Always use typed errors, never throw raw strings
  • Handle errors at boundaries, not everywhere
  • Log context before rethrowing

octaviantocan/pawrrtal-ai/tree/main/packages/ci/skill-gen/e2e-test-expected/coding commit a527ca91ca

Frequently asked questions

npx skillmds@latest add octaviantocan/coding