What problem does it solve?
This Skill ensures all C++ code adheres to the Sun Lab's rigorous coding conventions, improving code quality, maintainability, and cross-team consistency.
Core Features & Use Cases
- Comprehensive Style Guide: Covers naming, formatting, documentation, error handling, and more for
.h, .hpp, and .cpp files.
- Embedded & Extension Support: Tailored guidelines for both microcontroller (Arduino/PlatformIO) and Python extension (nanobind) C++ development.
- Tooling Integration: Aligns with
clang-format and clang-tidy for automated checks and formatting.
- Use Case: When writing new C++ code for a hardware interface, use this Skill to ensure your code is clean, well-documented, and follows established patterns, making it easier for others to understand and integrate.
Quick Start
Apply the Sun Lab C++ coding conventions to the file '/path/to/your/code.cpp'.