docs/ja-JP/skills/cpp-coding-standards/SKILL.md
C++コアガイドラインに基づくC++コーディング標準(isocpp.github.io)。現代的で安全で慣用的なプラクティスを強制するためにC++コードを書き、レビュー、またはリファクタリングする場合に使用します。
npx skillsauth add affaan-m/everything-claude-code cpp-coding-standardsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
C++コアガイドラインから派生した最新のC++(C++17/20/23)の包括的なコーディング標準。タイプセーフティ、リソースセーフティ、不変性、明確性を強制します。
enum vs enum class、生ポインタ対スマートポインタ)これらのテーマはガイドライン全体に繰り返され、基礎を形成:
const/constexprで開始;変更可能性は例外| Rule | Summary | |------|---------| | P.1 | コード内のアイデアを直接表現 | | P.3 | 意図を表現 | | P.4 | 理想的には、プログラムは静的にタイプセーフである必要があります | | P.5 | ランタイムチェックに対するコンパイル時チェック | | P.8 | リソースをリークしない | | P.10 | 変更可能なデータより不変データを好む | | I.1 | インターフェースを明示的にする | | I.2 | 非const グローバル変数を避ける | | I.4 | インターフェースを正確にし、強く型付けされたものにする |
現代的なC++では、生ポインタの代わりにスマートポインタを使用:
std::unique_ptr<T> 単一所有者向けstd::shared_ptr<T> 共有所有権向けstd::weak_ptr<T> 循環参照を回避するためdevelopment
Share durable, inspectable context and handoffs between Claude, Codex, Hermes, Cursor, OpenCode, and other agents through the local ECC Memory Vault. Use when an agent must save work state, transfer context, resume another agent's task, or search shared project knowledge.
development
Use when multiple consumers and providers must evolve an API or event schema without field drift, integration surprises, or one side silently redefining the interface.
tools
Query live GPU inventory, submit an authenticated Itô fixed-rate RFQ, inspect RFQ or procurement status, and run explicitly gated node qualification through the separately installed canonical CLI. Use when a user asks to find H100/H200 capacity, request a fixed compute rate, check Itô compute status, or validate GPU nodes.
data-ai
Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents. v2.1 adds project-scoped instincts to prevent cross-project contamination.