feat: enhance review_pending_changes tool visibility and triggers
- Update tool description to strongly encourage Claude to use it before commits - Add 'ALWAYS use this tool before creating any git commit\!' emphasis - Add comprehensive trigger words in TOOL_TRIGGERS including: - 'before commit', 'about to commit', 'ready to commit' - 'review pending changes', 'check my changes' - 'pre-commit', 'before I commit', 'should I commit' - Make it clear this is essential for code quality and preventing bugs - All tests pass (65 tests), ruff linting clean, black formatting applied
This commit is contained in:
17
config.py
17
config.py
@@ -67,4 +67,21 @@ TOOL_TRIGGERS = {
|
||||
"analyze file",
|
||||
"analyze these files",
|
||||
],
|
||||
"review_pending_changes": [
|
||||
"review pending changes",
|
||||
"check my changes",
|
||||
"validate changes",
|
||||
"pre-commit review",
|
||||
"before commit",
|
||||
"about to commit",
|
||||
"ready to commit",
|
||||
"review my git changes",
|
||||
"check git changes",
|
||||
"validate my changes",
|
||||
"review staged changes",
|
||||
"review unstaged changes",
|
||||
"pre-commit",
|
||||
"before I commit",
|
||||
"should I commit",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user