Commit Graph

2 Commits

Author SHA1 Message Date
daniel c98ce4ec6e 🔧 Fix hook JSON structure for Claude Code compatibility
- Update all 14 hooks to use proper Claude Code array/matcher format
- Fix CLI merge logic to handle new hook structure correctly
- Add support for both old and new hook formats during migration
- Remove conflict detection for hooks (Claude Code arrays support multiple entries)
- Ensure hooks follow proper structure:
  {
    "hooks": {
      "EventName": [
        {
          "matcher": "ToolPattern",
          "hooks": [
            {"type": "command", "command": "bash-command"}
          ]
        }
      ]
    }
  }

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 07:52:08 -04:00
daniel bea1cd00d4 🪝 Reorganize hooks into thematic categories
- Restructure hooks to match component categories (development-tools, git-workflow, testing, automation, security, performance)
- Create 14 new hooks organized by practical use cases:
  • Development tools: command logging, file backup, change tracking, formatting, linting
  • Git workflow: auto-staging, smart commits
  • Testing: automated test running
  • Automation: build triggers, notifications, dependency checking
  • Security: file protection, vulnerability scanning
  • Performance: system monitoring
- Update components.json with new hook structure
- Improve frontend filter consistency across all component types

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 22:51:15 -04:00