[5/5] Aitools: project scope (--project/--global)#4814
Open
simonfaltum wants to merge 2 commits intosimonfaltum/aitools-pr4-restructurefrom
Open
[5/5] Aitools: project scope (--project/--global)#4814simonfaltum wants to merge 2 commits intosimonfaltum/aitools-pr4-restructurefrom
simonfaltum wants to merge 2 commits intosimonfaltum/aitools-pr4-restructurefrom
Conversation
Open
8 tasks
f2fba9a to
1243dc4
Compare
b2584d2 to
47f3578
Compare
Implements scope selection for aitools install, update, uninstall, and version commands. Skills can now be installed to a project directory (cwd) instead of only globally. Agents that support project scope (Claude Code, Cursor) get symlinks from their project config dirs to the canonical project skills dir. Co-authored-by: Isaac
…agent guard, param cleanup Co-authored-by: Isaac
1243dc4 to
ccf24e9
Compare
47f3578 to
8de78bd
Compare
Suggested reviewersBased on git history of the changed files, these people are best suited to review:
Confidence: high Eligible reviewersBased on CODEOWNERS, these people or teams could also review: @databricks/eng-apps-devex, @lennartkats-db Suggestions based on git history of 17 changed files (6 scored). See CODEOWNERS for path-specific ownership rules. |
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.
PR Stack
Manifest v2 PR: databricks/databricks-agent-skills#35
Base:
simonfaltum/aitools-pr4-restructure(PR 4)Why
Skills are currently global-only. Teams working on the same project can't share a curated set of skills via their repo. Project-scoped installation puts skills alongside the code, so they can be committed to git and shared.
Changes
Before: All skills install to
~/.databricks/aitools/skills/(global only).Now:
--projectflag on install, update, uninstall: operates on<cwd>/.databricks/aitools/skills/--globalflag: explicit global scope (default behavior)--global+--project-> errorhuh.NewSelectin cmd layer.SupportsProjectScopefield onAgentstruct. Only Claude Code and Cursor support project scope.scope: "project"field for project installs.Test plan
--projectinstalls to cwd-relative directory--global+--project-> errorSupportsProjectScopeset correctly for all 6 agents