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
- Add daemon detection and config enforcement to deploy-skills.bash
- Automatic classic hook removal when daemon detected
- Update README.md with Claude Code Integration section
- Seamless migration path for existing projects
Eliminates double execution overhead, single source of truth.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,56 @@ The script configures:
80
80
81
81
**Prerequisites**: Requires [GitHub CLI](https://cli.github.com/) (`gh`) installed and authenticated.
82
82
83
+
## Claude Code Integration
84
+
85
+
PHP-QA-CI now integrates seamlessly with [Claude Code Hooks Daemon](https://github.com/anthropics/claude-code-hooks-daemon) to provide enhanced development guardrails and automation when using Claude Code.
86
+
87
+
### What is hooks-daemon?
88
+
89
+
hooks-daemon is a high-performance daemon for Claude Code hooks that provides 20x faster execution than classic hooks after warmup. It enables intelligent workflow enforcement, destructive command prevention, and automated quality checks.
90
+
91
+
### Integration Features
92
+
93
+
When you deploy php-qa-ci skills and hooks to your project, the deployment script automatically:
94
+
95
+
-**Detects hooks-daemon** - Checks if `.claude/hooks-daemon.yaml` exists
96
+
-**Configures required handlers** - Ensures the daemon has the necessary handlers enabled with correct settings
97
+
-**Migrates from classic hooks** - Removes legacy `.claude/hooks/*.py` files and settings.json registrations
98
+
-**Provides clear instructions** - If daemon not detected, displays installation guide
99
+
100
+
### Benefits
101
+
102
+
✅ **No double execution overhead** - Single handler execution instead of running both classic hooks and daemon handlers
103
+
✅ **Superior performance** - 20x faster after warmup via Unix socket IPC
104
+
✅ **Better implementations** - Daemon handlers include enhancements and bug fixes
105
+
✅ **Single source of truth** - Daemon provides all hook functionality
**Documentation**: See `.claude/hooks/README.md` for detailed hook documentation and [hooks-daemon repository](https://github.com/anthropics/claude-code-hooks-daemon) for daemon documentation.
132
+
83
133
## Docs
84
134
85
135
Comprehensive documentation is available in the [./docs](./docs) folder:
0 commit comments