mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-05-18 21:31:15 +08:00
Translate everything-claude-code repository to Japanese including: - 17 root documentation files - 60 agent documentation files - 80 command documentation files - 99 rule files across 18 language directories (common, angular, arkts, cpp, csharp, dart, fsharp, golang, java, kotlin, perl, php, python, ruby, rust, swift, typescript, web) - 199 skill documentation files Total: 455 files translated to Japanese with: - Consistent terminology glossary applied throughout - YAML field names preserved in English (name, description, etc.) - Code blocks and examples untouched (comments translated) - Markdown structure and relative links preserved - Professional translation maintaining technical accuracy This translation expands ECC accessibility to Japanese-speaking developers and teams. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
40 lines
867 B
Markdown
40 lines
867 B
Markdown
---
|
|
paths:
|
|
- "**/*.cpp"
|
|
- "**/*.hpp"
|
|
- "**/*.cc"
|
|
- "**/*.hh"
|
|
- "**/*.cxx"
|
|
- "**/*.h"
|
|
- "**/CMakeLists.txt"
|
|
---
|
|
# C++ フック
|
|
|
|
> このファイルは [common/hooks.md](../common/hooks.md) を C++ 固有のコンテンツで拡張します。
|
|
|
|
## ビルドフック
|
|
|
|
C++ の変更をコミットする前にこれらのチェックを実行する:
|
|
|
|
```bash
|
|
# フォーマットチェック
|
|
clang-format --dry-run --Werror src/*.cpp src/*.hpp
|
|
|
|
# 静的解析
|
|
clang-tidy src/*.cpp -- -std=c++17
|
|
|
|
# ビルド
|
|
cmake --build build
|
|
|
|
# テスト
|
|
ctest --test-dir build --output-on-failure
|
|
```
|
|
|
|
## 推奨 CI パイプライン
|
|
|
|
1. **clang-format** — フォーマットチェック
|
|
2. **clang-tidy** — 静的解析
|
|
3. **cppcheck** — 追加解析
|
|
4. **cmake ビルド** — コンパイル
|
|
5. **ctest** — サニタイザーを使用したテスト実行
|