Claude ec9ace9c54 docs: add native Japanese translation of ECC documentation (ja-JP)
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>
2026-05-17 02:31:40 -04:00

67 lines
1.5 KiB
Markdown

---
paths:
- "**/*.dart"
- "**/pubspec.yaml"
- "**/analysis_options.yaml"
---
# Dart/Flutter フック
> このファイルは [common/hooks.md](../common/hooks.md) を Dart および Flutter 固有のコンテンツで拡張します。
## PostToolUse フック
`~/.claude/settings.json` で設定する:
- **dart format**: 編集後に `.dart` ファイルを自動フォーマット
- **dart analyze**: Dart ファイルの編集後に静的解析を実行し、警告を表示
- **flutter test**: 大きな変更後に影響を受けるテストをオプションで実行
## 推奨フック設定
```json
{
"hooks": {
"PostToolUse": [
{
"matcher": { "tool_name": "Edit", "file_paths": ["**/*.dart"] },
"hooks": [
{ "type": "command", "command": "dart format $CLAUDE_FILE_PATHS" }
]
}
]
}
}
```
## コミット前チェック
Dart/Flutter の変更をコミットする前に実行する:
```bash
dart format --set-exit-if-changed .
dart analyze --fatal-infos
flutter test
```
## 便利なワンライナー
```bash
# すべての Dart ファイルをフォーマット
dart format .
# 解析して問題を報告
dart analyze
# カバレッジ付きですべてのテストを実行
flutter test --coverage
# コード生成ファイルを再生成
dart run build_runner build --delete-conflicting-outputs
# 古くなったパッケージを確認
flutter pub outdated
# 制約の範囲内でパッケージをアップグレード
flutter pub upgrade
```