Commit 5f65ee3
Fixes of scaffolding instructions (#4215)
Summary
- Update databricks_discover tool description to emphasize it must be
called first
- Update flow.tmpl with explicit scaffolding workflow rules
Changes
provider.go:
- databricks_discover description now says "CALL THIS FIRST" and
explains it returns scaffolding commands
flow.tmpl:
- Added "Critical Workflow Rules" section
- Rule: "NEVER use npm/npx/vite directly - init-template creates proper
Databricks bundle"
- Reordered tools to put databricks_discover first with "MUST call
first" note
Why
AI agents were defaulting to npm/vite for scaffolding instead of using
invoke_databricks_cli with init-template. These prompt improvements
guide agents to call databricks_discover first, which returns the
correct scaffolding workflow.
---------
Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: Lennart Kats (databricks) <[email protected]>1 parent 6b9afd5 commit 5f65ee3
File tree
2 files changed
+13
-9
lines changed- experimental/apps-mcp/lib
- prompts
- providers/clitools
2 files changed
+13
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments