chezmoi-source (чистая пересборка, не дамп 1.2 ГБ): - dot_claude: CLAUDE.md лин-роутер, AGENTS.md.tmpl (VPS вычищен), settings.json.tmpl (deny-щит 20 + security-guard hook), rules (structure + ECC 21 язык), 30 generic ECC-агентов, health-check - dot_codex: symlink-паритет; dot_agents: registry 13 скриптов HOME-генерик + методология docs - плагины: plugins.manifest + bootstrap Слой 1b (marketplace+install) - launchd: health.plist (PATH-фикс 127) + session-reaper.example - smoke++: secret-токен guard + канон-проверки (зелёный) - 0 hard личных данных; cut личного (kb/references/gsd/owner) → Ф4
19 lines
467 B
Markdown
19 lines
467 B
Markdown
---
|
|
paths:
|
|
- "**/*.java"
|
|
- "**/pom.xml"
|
|
- "**/build.gradle"
|
|
- "**/build.gradle.kts"
|
|
---
|
|
# Java Hooks
|
|
|
|
> This file extends [common/hooks.md](../common/hooks.md) with Java-specific content.
|
|
|
|
## PostToolUse Hooks
|
|
|
|
Configure in `~/.claude/settings.json`:
|
|
|
|
- **google-java-format**: Auto-format `.java` files after edit
|
|
- **checkstyle**: Run style checks after editing Java files
|
|
- **./mvnw compile** or **./gradlew compileJava**: Verify compilation after changes
|