ワンクリックで
coding-standard-cpp
Enforce C++ coding standards including camelCase or snake_case variables, PascalCase classes, and consistent file naming.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Enforce C++ coding standards including camelCase or snake_case variables, PascalCase classes, and consistent file naming.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run a Recursive Language Model-style loop for long-context tasks. Uses a persistent local Python REPL and an rlm-subcall subagent as the sub-LLM (llm_query).
Enforce C coding standards including snake_case variables and functions, UPPER_SNAKE_CASE macros, and snake_case filenames.
Enforce Java coding standards including camelCase variables, PascalCase classes, and PascalCase filenames matching class names.
Enforce JavaScript/ES6+ and TypeScript coding standards including camelCase variables, PascalCase classes, and kebab-case filenames.
Enforce Python PEP 8 coding standards including snake_case variables, PascalCase classes, and snake_case filenames.
Recommends modularity, composition, and decoupling patterns for design challenges. Use when designing plugin architectures, reducing coupling, improving testability, or separating cross-cutting concerns.
| name | coding-standard-cpp |
| description | Enforce C++ coding standards including camelCase or snake_case variables, PascalCase classes, and consistent file naming. |
When reviewing or generating C++ code, follow these rules:
.cpp extension (e.g., user_service.cpp or UserService.cpp).h, .hpp, or .hxx extension.tpp or .inl for template implementations#pragma once for modern compilers_HPP suffix#pragma once
// or
#ifndef USER_SERVICE_HPP
#define USER_SERVICE_HPP
#endif
myproject, data_processing)namespace project::utils {})using namespace in headersuser_count or userCount)m_ or suffix with _ (e.g., m_data or data_)s_ (e.g., s_instance)MAX_SIZE or kMaxSize)g_ (e.g., g_config)calculate_total() or calculateTotal())getUserId() or GetUserId())get/set prefix or just property name (e.g., getName() or name())Create, Make, or Build prefix (e.g., CreateUser())UserService, DataProcessor)Point, Rectangle)I prefix optional (e.g., ISerializable or Serializable)T, Container, KeyType)using StringList = std::vector<std::string>;)std::unique_ptr for single ownershipstd::shared_ptr for shared ownershipnew/delete