Skip to content

Load project skills through worktree buffers - #58094

Merged
MartinYe1234 merged 8 commits into
mainfrom
skills-worktree-api
Jun 1, 2026
Merged

Load project skills through worktree buffers#58094
MartinYe1234 merged 8 commits into
mainfrom
skills-worktree-api

Conversation

@MartinYe1234

@MartinYe1234 MartinYe1234 commented May 29, 2026

Copy link
Copy Markdown
Contributor

Project-local skills now load through project buffers so remote workspaces can resolve them consistently with other project files.

Validation:

  • cargo check -p agent_skills -p agent
  • cargo test -p agent_skills
  • cargo test -p agent skills

Closes AI-329

Closes #57877

Release Notes:

  • Improved project skills support in remote workspaces.

@MartinYe1234 MartinYe1234 self-assigned this May 29, 2026
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label May 29, 2026
@zed-community-bot zed-community-bot Bot added the staff Pull requests authored by a current member of Zed staff label May 29, 2026
@MartinYe1234
MartinYe1234 marked this pull request as ready for review May 29, 2026 18:58
MartinYe1234 and others added 6 commits May 29, 2026 11:59
Cover the new worktree-buffer skill paths: project-local body resolution through project buffers (verified by reading in-memory edits, not disk), the SKILL.md size guard, malformed-frontmatter error reporting, and metadata refresh via the broadened .agents trigger.
SkillTool::new was only reachable from the skill_tool unit tests; production wires the tool with with_body_resolver. These tests verify rendering, escaping, and authorization, not how bodies are fetched, so inject an in-memory stub resolver instead of standing up a filesystem. Removes the test-only fs code path entirely.
Co-authored-by: Cole Miller <cole@zed.dev>
@MartinYe1234
MartinYe1234 added this pull request to the merge queue Jun 1, 2026
Merged via the queue into main with commit 4fe71ff Jun 1, 2026
32 checks passed
@MartinYe1234
MartinYe1234 deleted the skills-worktree-api branch June 1, 2026 13:26
TomPlanche pushed a commit to TomPlanche/zed that referenced this pull request Jun 2, 2026
Project-local skills now load through project buffers so remote
workspaces can resolve them consistently with other project files.

Validation:
- cargo check -p agent_skills -p agent
- cargo test -p agent_skills
- cargo test -p agent skills

Closes AI-329

Closes zed-industries#57877

Release Notes:

- Improved project skills support in remote workspaces.

---------

Co-authored-by: Cole Miller <cole@zed.dev>
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Project-local skills now load through project buffers so remote
workspaces can resolve them consistently with other project files.

Validation:
- cargo check -p agent_skills -p agent
- cargo test -p agent_skills
- cargo test -p agent skills

Closes AI-329

Closes zed-industries#57877

Release Notes:

- Improved project skills support in remote workspaces.

---------

Co-authored-by: Cole Miller <cole@zed.dev>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Project-local skills now load through project buffers so remote
workspaces can resolve them consistently with other project files.

Validation:
- cargo check -p agent_skills -p agent
- cargo test -p agent_skills
- cargo test -p agent skills

Closes AI-329

Closes zed-industries#57877

Release Notes:

- Improved project skills support in remote workspaces.

---------

Co-authored-by: Cole Miller <cole@zed.dev>
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.

Skills are not see in catalog if in .agents/skills for remote project

2 participants