google-cpp-style

Enforce Google C++ Style Guide rules on C++ and CUDA code.

61|22|Updated Apr 24, 2019
One-click install
npx skills add https://github.com/Cytnx-dev/Cytnx --skill google-cpp-style
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: google-cpp-style
Source: https://github.com/Cytnx-dev/Cytnx/tree/main/.claude/skills/google-cpp-style
Command: npx skills add https://github.com/Cytnx-dev/Cytnx --skill google-cpp-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Ensures that C++ and CUDA code adheres to the Google C++ Style Guide, reducing style inconsistencies and improving code readability.

Core Features & Use Cases

  • Style Enforcement: Applies Google C++ Style Guide rules to code, including naming conventions, includes, error handling, and formatting.
  • Cytnx Specific Rules: Incorporates Cytnx-specific style rules, such as snake_case for new identifiers and no leading underscore for new code.
  • Use Case: Ideal for developers working on Cytnx projects to maintain code consistency and facilitate code reviews.

Quick Start

Run the skill to check the style of your C++ code and automatically apply changes to adhere to the Google C++ Style Guide.

Frequently Asked Questions about google-cpp-style

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

FAQPage Schema
How do I enforce Google C++ Style Guide naming conventions in CUDA code?▼

To enforce Google C++ Style Guide naming conventions in CUDA code, this skill applies automated style checks and corrections to both C++ and CUDA files, ensuring consistent naming, includes, and formatting across the codebase.

What's the best way to maintain code consistency for Cytnx projects?▼

The best way to maintain code consistency for Cytnx projects is to apply style enforcement rules that incorporate specific overrides like snake_case for new identifiers and no leading underscores, ensuring readability and facilitating code reviews.

Does this style enforcement work with existing C++ codebases or only new code?▼

This style enforcement works with both new and existing C++ codebases, applying Google C++ Style Guide rules and Cytnx-specific overrides to ensure consistency and readability regardless of the code's age.

How do I automatically fix C++ formatting and error handling to match style guides?▼

To automatically fix C++ formatting and error handling to match style guides, run the skill to check your code and apply changes that adhere to the Google C++ Style Guide, including specific Cytnx naming and structure rules.

Why does my Cytnx C++ code need specific style overrides like snake_case?▼

Your Cytnx C++ code needs specific style overrides like snake_case for new identifiers and no leading underscores to align with Cytnx-specific conventions, ensuring project-level consistency beyond the standard Google C++ Style Guide.

When do I need to run C++ style enforcement during development?▼

You need to run C++ style enforcement during development to check code style and automatically apply changes before code reviews, ensuring that naming conventions, includes, and formatting adhere to required guidelines.