claude-toolkit 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,8 +40,7 @@
40
40
  "(?:red.green.refactor|tdd)"
41
41
  ],
42
42
  "contentPatterns": ["describe\\(", "it\\(", "expect\\(", "vi\\.mock", "jest\\.mock"]
43
- },
44
- "excludePatterns": ["e2e", "end-to-end"]
43
+ }
45
44
  },
46
45
  "ct-typescript-conventions": {
47
46
  "description": "TypeScript strict mode and conventions",
@@ -66,33 +65,6 @@
66
65
  ],
67
66
  "contextPatterns": ["before claiming", "make sure", "double check"]
68
67
  }
69
- },
70
- "ct-github-actions": {
71
- "description": "GitHub Actions CI/CD workflow patterns",
72
- "priority": 6,
73
- "triggers": {
74
- "keywords": ["github action", "github workflow", "workflow", "ci/cd", "cicd", "pipeline"],
75
- "keywordPatterns": ["github.action", "ci/?cd", "\\bworkflow\\b"],
76
- "pathPatterns": [".github/workflows/**", ".github/**/*.yml"],
77
- "intentPatterns": [
78
- "(?:create|add|update).*(?:workflow|action|pipeline)",
79
- "(?:ci|cd).*(?:pipeline|workflow)"
80
- ],
81
- "contentPatterns": ["runs-on:", "uses:", "steps:"]
82
- }
83
- },
84
- "ct-code-review": {
85
- "description": "Handle code review feedback",
86
- "priority": 4,
87
- "triggers": {
88
- "keywords": ["code review", "pr feedback", "review comment"],
89
- "keywordPatterns": ["code.review", "pr.feedback", "review.comment"],
90
- "intentPatterns": [
91
- "(?:respond|address|handle).*(?:review|feedback|comment)",
92
- "(?:reviewer).*(?:said|suggested|asked)"
93
- ],
94
- "contextPatterns": ["from the reviewer", "in the pr", "review feedback"]
95
- }
96
68
  }
97
69
  }
98
70
  }
@@ -1,35 +0,0 @@
1
- #!/bin/bash
2
- # Skill Evaluation Hook v2.0
3
- # Wrapper script that delegates to the Node.js evaluation engine
4
- #
5
- # This hook runs on UserPromptSubmit and analyzes the prompt for:
6
- # - Keywords and patterns indicating skill relevance
7
- # - File paths mentioned in the prompt
8
- # - Intent patterns (what the user wants to do)
9
- # - Directory mappings (what directories map to which skills)
10
- #
11
- # Configuration is in skill-rules.json
12
-
13
- SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
14
- NODE_SCRIPT="$SCRIPT_DIR/skill-eval.js"
15
-
16
- # Check if Node.js is available (bun also works)
17
- if command -v bun &>/dev/null; then
18
- RUNTIME="bun"
19
- elif command -v node &>/dev/null; then
20
- RUNTIME="node"
21
- else
22
- # Fallback: exit silently if no runtime found
23
- exit 0
24
- fi
25
-
26
- # Check if the Node script exists
27
- if [[ ! -f "$NODE_SCRIPT" ]]; then
28
- exit 0
29
- fi
30
-
31
- # Pipe stdin to the evaluation script (suppress stderr noise from shell init)
32
- cat | $RUNTIME "$NODE_SCRIPT" 2>/dev/null
33
-
34
- # Always exit 0 to allow the prompt through
35
- exit 0