# Coding

> General coding patterns and conventions.

- Skill: `octaviantocan/coding` (Agent Skill)
- Install (CLI): `npx skillmds@latest add octaviantocan/coding`
- Raw SKILL.md: https://api.skillmd.com/api/skills/octaviantocan/coding/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: octaviantocan (https://skillmd.com/u/octaviantocan)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/octaviantocan/coding

---


<!-- AUTO-GENERATED by skill-gen -- DO NOT EDIT -->
<!-- Source: sample-module.ts -->
<!-- Source: services/api/handler.ts -->

## 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

