Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
03bd0cf
feat: add automatic code quality enforcement with real-time hooks
decider Jul 20, 2025
f5f176e
fix: clean up code quality hooks and improve configuration
decider Jul 20, 2025
84a9f85
fix: use relative paths in hook configuration
decider Jul 20, 2025
6a4cb46
feat: create portable bash-only code quality hooks
decider Jul 20, 2025
f05340d
cleanup: remove Node.js/TypeScript dependencies
decider Jul 20, 2025
717cd07
fix: handle empty grep results in portable validator
decider Jul 20, 2025
9024e67
fix: prevent exit code 1 in portable validator
decider Jul 20, 2025
c9778d7
feat: migrate all hooks from bash to Python
decider Jul 20, 2025
4c789ae
cleanup: remove all bash files after Python migration
decider Jul 20, 2025
64a6fc9
fix: make pre-tool hook non-blocking with suggestions
decider Jul 20, 2025
888befe
feat: make post-tool hook non-blocking with strong warnings
decider Jul 20, 2025
cbdf11d
refactor: improve hook code quality and organization
decider Jul 20, 2025
f41762c
refactor: split handle_stop_event into smaller functions
decider Jul 20, 2025
b1ebb9d
refactor: improve code quality to meet validation standards
decider Jul 20, 2025
5f5e6ab
fix: resolve all code quality violations and increase max nesting to 4
decider Jul 20, 2025
688088d
merge: resolve conflicts with main branch
decider Jul 20, 2025
d8f2f76
fix: resolve timezone issues in package age checker
decider Jul 20, 2025
def5365
feat: add hook introspection CLI tool
decider Jul 20, 2025
784220d
refactor: fix code quality violations in hook introspection
decider Jul 20, 2025
6b7d548
chore: add Python cache to .gitignore
decider Jul 20, 2025
015f974
refactor: complete code quality fixes for hook introspection
decider Jul 20, 2025
b3e2495
fix: resolve all remaining code quality violations
decider Jul 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .claude/hookconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"version": "1.0",
"description": "Claude Hooks Configuration - defines hooks that run during Claude Code operations",
"hooks": {
"pre-tool": [
{
"id": "pre-write-quality",
"script": "pre-tool-hook.py",
"tools": ["Write", "Edit", "MultiEdit"],
"priority": 90,
"description": "Provides code quality suggestions before writing"
},
{
"id": "package-age-check",
"script": "check-package-age.py",
"tools": ["Bash"],
"priority": 100,
"description": "Prevents installation of outdated packages",
"config": {
"max_age_days": 180
}
}
],
"post-tool": [
{
"id": "code-quality-validator",
"script": "post-tool-hook.py",
"tools": ["Write", "Edit", "MultiEdit"],
"priority": 100,
"description": "Validates code quality and provides warnings"
}
],
"stop": [
{
"id": "final-quality-check",
"script": "stop-hook.py",
"priority": 100,
"description": "Runs final code quality checks and can block if violations exist"
},
{
"id": "task-completion-notify",
"script": "task-completion-notify.py",
"priority": 50,
"description": "Sends notifications when Claude completes tasks",
"config": {
"notify_on_stop": true
}
}
]
}
}
12 changes: 0 additions & 12 deletions .claude/hooks/config.cjs

This file was deleted.

Loading