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> 循環参照を回避するためdata-ai
Design task-local harnesses, eval gates, and reusable skill extraction for Claude dynamic workflow mode and other adaptive agent harnesses.
development
React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress end-to-end runs. Use when writing or fixing tests for React components, hooks, or pages.
tools
React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills). Organizes 70+ rules across 8 priority categories — waterfalls, bundle size, server-side, client fetching, re-render, rendering, JS micro-perf, advanced. Use when writing, reviewing, or refactoring React/Next.js code for performance.
tools
React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.