Add connectivity verification and troubleshooting to Config skill#225
Open
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
Open
Add connectivity verification and troubleshooting to Config skill#225CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
CheeYuTan wants to merge 1 commit intodatabricks-solutions:mainfrom
Conversation
…and troubleshooting The config skill was a 22-line stub with just a manage_workspace reference. Expanded with: - get_current_user documentation (verified: returns username + home_path) - 5-step connectivity verification workflow (identity → workspace → resources → SQL → catalogs) - Workspace switching workflow (list → present → switch → verify) - Troubleshooting: 5 auth failure symptoms, token/profile issues, 4 CLI fallback commands, 3 common misconfigurations - Cross-references to databricks-compute skill for compute tools Tested through 10 iterations. 3 fixes applied: - current_catalog() returns "main" not empty string - get_current_user returns null values, not errors, when unauthenticated - OAuth token expiry verified at 3600s (1 hour)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
databricks-configskill was a 22-line stub with just amanage_workspacereference. Expanded to 242 lines with connectivity verification, workspace switching, and troubleshooting.No new files — just an expanded
SKILL.md. Noinstall_skills.shchanges needed.What's new (220 lines added)
get_current_user(return fields, use cases),manage_workspace(intent-to-action mapping), cross-refs to compute toolsTest evidence — 10 iterations
Live MCP tool tests
get_current_user{}{"username": "steven.tan@databricks.com", "home_path": "/Workspace/Users/steven.tan@databricks.com/"}execute_sqlSELECT current_user(), current_catalog(), current_schema()["steven.tan@databricks.com", "main", "default"]execute_sqlSHOW CATALOGSCLI fallback tests
databricks auth describegrep '^\[' ~/.databrickscfgdatabricks clusters list --output jsonMCP tool schema verification
get_current_useruser.pysource code{username, home_path}manage_workspaceworkspace.pysource codeactionrequired,profile/hostoptionalWhat the 10 iterations fixed
current_catalog()return value""(empty string)"main""main"get_current_userexpires_in: 360018/18 checklist items passed
All tool schemas, response formats, workflow steps, troubleshooting entries, CLI commands, cross-references, and edge cases verified.
Test plan
get_current_userandexecute_sqldatabricks-computeverified bidirectional