settings_ui: Move skills management into settings UI (#58701)
Closes AI-344 Closes AI-342 Moves agent skills management out of the agent panel and into the settings UI. The skill creator (previously its own crate) now lives in `settings_ui` as a settings page, alongside the skills setup page. The agent panel's ellipsis menu now links to the settings page instead of hosting skill management directly. Release Notes: - Improved agent skills management by moving it into the settings UI --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
1 parent
1d1a4bee34
commit
4eebf3fdbc
24 files changed
+793
-786
No files matched your search
@@ -15,7 +15,7 @@ A skill is a folder containing a `SKILL.md` file with metadata and instructions.
|
||||
|
||||
Zed includes a built-in `create-skill` skill — invoke it with `/create-skill` and the agent walks you through the process.
|
||||
|
||||
You can also open the Skill Creator from the Agent Panel using {#kb agent::OpenRulesLibrary}, or by clicking `...` and selecting **Skills**. Outside the panel, use the {#action agent::OpenSkillCreator} action from the command palette. It opens a window where you fill in the skill's name, description, scope (global or project-local), body, and optionally toggle `disable-model-invocation`.
|
||||
You can also open the Skills Manager from the Agent Panel using {#kb agent::ManageSkills}, or by clicking `...` and selecting **Skills**. Outside the panel, use the {#action agent::OpenSkillCreator} action from the command palette, or click **Create Skill** on the **AI > Skills** settings page. The creator opens as a page in the settings window where you fill in the skill's name, description, body, and optionally toggle `disable-model-invocation`. The skill is saved to the scope of the settings file selected in the settings window — the **User** tab creates a global skill, while a **Project** tab creates a project-local skill — and the form shows exactly where the file will be written.
|
||||
|
||||
Lastly, it's also possible to add a skill through importing it from an existing GitHub Markdown file. Open the command palette and look for the {#action agent::CreateSkillFromUrl} action. If your clipboard contains a supported GitHub `.md` URL, Zed pre-fills and fetches it automatically.
|
||||
|
||||
@@ -35,7 +35,7 @@ To install a skill, copy the skill's folder into `~/.agents/skills/` for global
|
||||
|
||||
Open the Settings Editor (`Cmd+,` on macOS, `Ctrl+,` on Linux/Windows) and navigate to **AI > Skills**, or go directly to [agent.skills](zed://settings/agent.skills).
|
||||
|
||||
The **User** tab shows your global skills. The **Project** tab shows skills for the current project.
|
||||
The **User** tab shows your global skills, and each **Project** tab shows the skills for that project.
|
||||
|
||||
For each skill you can:
|
||||
|
||||
@@ -43,13 +43,16 @@ For each skill you can:
|
||||
- **Open** — opens the skill's `SKILL.md` file in the editor
|
||||
- **Delete** — removes the skill folder from disk
|
||||
|
||||
If no skills are installed, the page shows a **Create a Skill** button that opens the Skill Creator.
|
||||
In the skills page, you'll see a **Create Skill** button that opens the settings window, providing the ability to create a skill directly through the UI.
|
||||
|
||||
## Sharing Skills {#sharing-skills}
|
||||
|
||||
You can hand a skill to a teammate without hosting it anywhere. In the Skills settings page, click the **link** icon on a skill row to copy a `zed://skill?data=…` link to your clipboard. The link is self-contained: it embeds the full `SKILL.md` contents (base64url-encoded), so the recipient doesn't need access to your project or any registry.
|
||||
You can hand a skill to a teammate without hosting it anywhere. In the Skills settings page, click the **link** icon on a skill row to copy a `zed://skill?data=…` link to your clipboard.
|
||||
The link is self-contained: it embeds the full `SKILL.md` contents (base64url-encoded), so the recipient doesn't need access to your project or any registry.
|
||||
|
||||
When someone opens that link (for example by pasting it into their browser or clicking it in a chat), Zed launches the Skill Creator pre-filled with the shared skill. The recipient can review the name, description, and full body, choose a scope (global or project-local), and click **Save** to install it. Nothing is written to disk until they explicitly save, so a shared link can never silently install instructions into someone's agent.
|
||||
When someone opens that link (for example by pasting it into their browser or clicking it in a chat), Zed opens the "Create Skill" page in the settings window, pre-filled with the shared skill.
|
||||
The recipient can review the name, description, and full body, choose a scope by selecting the **User** tab (global) or a **Project** tab, and click **Save** to install it.
|
||||
Nothing is written to disk until they explicitly save, so a shared link can never silently install instructions into someone's agent.
|
||||
|
||||
## Using Skills {#using-skills}
|
||||
|
||||
|
||||
Reference in new issue
Block a user