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
feat(integration): scene-driven tool descriptions, hook improvements, and UX fixes
- MCP tool descriptions: all 12 tools now have "Use when:" trigger conditions
for improved Claude Code auto-invocation (scene-driven > functional descriptions)
- MCP instructions: add 7 intent→tool decision rules mapping user goals to tools
- Skill/command descriptions: all 5 commands updated with "Use when:" triggers
- CLI: add --refs/--impact short aliases for show command
- MCP get_ast_node: add include_tests parameter, filter test callers by default
(consistent with CLI show --include-refs behavior)
- Pre-edit hook: grep-based fallback detects containing function for body edits
(previously only triggered on function signature lines)
- User-prompt hook: backtick symbol extraction for mixed Chinese+code prompts
- JSON safety: replace manual string escaping with serde_json in error responses
- Help text: show --refs/--impact as primary flags, expand --include-tests scope
Breaking: overview/trace/deps exit code 1 (was 0) when no results found.
This is semantically correct (no-match = error) but may affect external scripts.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: claude-plugin/commands/impact.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: Analyze impact scope before modifying a symbol
2
+
description: Analyze blast radius before modifying a symbol. Use when about to edit/rename/remove a function, or asked about change risk and affected callers.
Copy file name to clipboardExpand all lines: claude-plugin/commands/rebuild.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: Force a full code-graph index rebuild
2
+
description: Force code-graph index rebuild. Use when search results seem stale or wrong, after major codebase restructuring, or when index health check reports issues.
description: Show code-graph index health and coverage. Use when search returns unexpected results, checking if index is current, or diagnosing code-graph issues.
3
3
---
4
4
5
5
!`code-graph-mcp health-check --format json 2>/dev/null || echo '{"error":"No index found"}'`
Copy file name to clipboardExpand all lines: claude-plugin/commands/trace.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: Trace call flow from a handler or route
2
+
description: Trace call flow from a handler or route. Use when debugging API behavior, understanding request processing flow, or asked how an endpoint works.
Copy file name to clipboardExpand all lines: claude-plugin/commands/understand.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: Deep dive into a module or file's architecture
2
+
description: Deep dive into a module's architecture. Use when starting work in an unfamiliar area, asked to explain how code works, or before implementing changes in a module.
0 commit comments