# style-guide > Code style and formatting guidelines - Author: Claude Agent - Repository: mguttmann/minigolf-2000 - Version: 20260121024718 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/mguttmann/minigolf-2000 - Web: https://mule.run/skillshub/@@mguttmann/minigolf-2000~style-guide:20260121024718 --- --- name: style-guide description: Code style and formatting guidelines --- # Style Guide ## General Principles 1. Readability over cleverness 2. Consistency within codebase 3. Use linter/formatter ## Naming - **Variables**: camelCase, descriptive - **Functions**: camelCase, verb-based - **Classes**: PascalCase - **Constants**: SCREAMING_SNAKE_CASE - **Files**: kebab-case ## Functions - Do one thing well - Max ~50 lines - Clear parameters - Return early ## Files - Max ~300 lines - One concept per file - Clear organization ## Comments - Explain why, not what - Keep current - Use for complex logic ## Commits ``` {type}({scope}): {description} Types: feat, fix, test, refactor, docs, chore ```