You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add comprehensive Claude Code hooks for development workflow
This commit adds a complete set of Claude Code hooks to improve the
development experience for Nextflow:
**Immediate Formatting (PostToolUse):**
- format-editorconfig.py: Applies editorconfig rules to all source files
- format-idea.py: Formats Groovy files with IntelliJ IDEA code style
**Build & Test Validation (Stop):**
- check-build.py: Runs 'make compile' to catch compilation errors
- run-tests.py: Runs corresponding test class for edited files
**Subagent Validation (SubagentStop):**
- check-build.py: Verifies subagent changes compile successfully
**Benefits:**
- Instant code formatting after each edit
- Build errors caught before tests run
- Tests only run once when agent finishes (not after each edit)
- Subagents validate compilation but skip slower test runs
- Non-blocking when optional tools (IDEA) not available
**Configuration:**
All hooks configured in .claude/settings.json with appropriate timeouts
and proper event triggers for optimal development workflow.
0 commit comments