Skip to content

Add skill import from GitHub URL - #57458

Merged
danilo-leal merged 9 commits into
mainfrom
create-skill-from-url
May 26, 2026
Merged

Add skill import from GitHub URL#57458
danilo-leal merged 9 commits into
mainfrom
create-skill-from-url

Conversation

@MartinYe1234

@MartinYe1234 MartinYe1234 commented May 22, 2026

Copy link
Copy Markdown
Contributor

Summary:

  • Added a URL mode to Skill Creator for importing GitHub Markdown files.
  • Added clipboard prefill and command palette entry for creating a skill from URL.
  • Reused skill frontmatter parsing so imported skills prefill metadata and content.
  • Added Command Palette command to add skills via URL.

Closes AI-301
Release Notes:

  • Added Skill Creator support for importing skills from GitHub Markdown URLs

@MartinYe1234 MartinYe1234 self-assigned this May 22, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 22, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label May 22, 2026
@MartinYe1234
MartinYe1234 marked this pull request as ready for review May 22, 2026 17:21
MartinYe1234 and others added 5 commits May 22, 2026 11:47
Adopts the convention used in thread_view::handle_title_editor_event
and agent_panel::handle_terminal_title_editor_event: programmatic
set_text is performed while the editor is unfocused, so a focus check
in the input event handler filters synthesized BufferEdited events out
of the user-edit path. This removes the one-shot
suppress_next_url_input_event flag, which assumed set_text fires
exactly one BufferEdited event and could either stay armed forever
(eating a real user edit) or let extra events slip through.

open_url_import's deferred closure now runs set_text first, then moves
focus, so the focus-check guard catches the programmatic write.
start_url_import also clears url_import_debounce_task so an explicit
start always supersedes a pending timer.
@danilo-leal
danilo-leal enabled auto-merge May 26, 2026 01:55
@danilo-leal
danilo-leal added this pull request to the merge queue May 26, 2026
Merged via the queue into main with commit 2984faf May 26, 2026
32 checks passed
@danilo-leal
danilo-leal deleted the create-skill-from-url branch May 26, 2026 02:07
@danilo-leal

Copy link
Copy Markdown
Member

/cherry-pick preview

@zed-zippy

zed-zippy Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

danilo-leal added a commit that referenced this pull request May 27, 2026
…57836)

Cherry-pick of #57458 to preview

----
Summary:

- Added a URL mode to Skill Creator for importing GitHub Markdown files.
- Added clipboard prefill and command palette entry for creating a skill
from URL.
- Reused skill frontmatter parsing so imported skills prefill metadata
and content.
- Added Command Palette command to add skills via URL.

Closes AI-301
Release Notes:

- Added Skill Creator support for importing skills from GitHub Markdown
URLs

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>

Co-authored-by: MartinYe1234 <52641447+MartinYe1234@users.noreply.github.com>
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 2, 2026
Summary:

- Added a URL mode to Skill Creator for importing GitHub Markdown files.
- Added clipboard prefill and command palette entry for creating a skill
from URL.
- Reused skill frontmatter parsing so imported skills prefill metadata
and content.
- Added Command Palette command to add skills via URL.

Closes AI-301
Release Notes:

- Added Skill Creator support for importing skills from GitHub Markdown
URLs

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Summary:

- Added a URL mode to Skill Creator for importing GitHub Markdown files.
- Added clipboard prefill and command palette entry for creating a skill
from URL.
- Reused skill frontmatter parsing so imported skills prefill metadata
and content.
- Added Command Palette command to add skills via URL.

Closes AI-301
Release Notes:

- Added Skill Creator support for importing skills from GitHub Markdown
URLs

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Summary:

- Added a URL mode to Skill Creator for importing GitHub Markdown files.
- Added clipboard prefill and command palette entry for creating a skill
from URL.
- Reused skill frontmatter parsing so imported skills prefill metadata
and content.
- Added Command Palette command to add skills via URL.

Closes AI-301
Release Notes:

- Added Skill Creator support for importing skills from GitHub Markdown
URLs

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants