cpp-style

Apply Sun Lab C++ coding conventions to source files.

3|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Sun-Lab-NBB/ataraxis --skill cpp-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-style
Source: https://github.com/Sun-Lab-NBB/ataraxis/tree/main/plugins/automation/skills/cpp-style
Command: npx skills add https://github.com/Sun-Lab-NBB/ataraxis --skill cpp-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

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'.

Frequently Asked Questions about cpp-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce C++ coding standards for embedded Arduino and PlatformIO projects?

You can enforce C++ coding standards for embedded projects by applying tailored conventions for Arduino and PlatformIO, ensuring proper naming, formatting, and microcontroller-specific error handling patterns.

What is the best way to automate C++ style guide checks with clang-format and clang-tidy?

Automate C++ style guide checks by aligning your source files with conventions designed to integrate directly with clang-format and clang-tidy for automated formatting and linting.

Does this C++ style guide include conventions for Python C++ extensions using nanobind?

Yes, the style guide includes specific conventions for Python C++ extensions using nanobind and scikit-build-core, covering tailored patterns for extension development.

How do I format Doxygen documentation and include directives in .h and .cpp files?

Format Doxygen documentation and include directives in .h and .cpp files by applying coding conventions that enforce specific file ordering, documentation standards, and template patterns.

Can I apply a single C++ coding standard to both microcontroller and extension development workflows?

Yes, you can apply a single comprehensive C++ coding standard to both microcontroller and Python extension development workflows, ensuring cross-team consistency and maintainability.