Skip to content

Add support for .agents for skills resolution#292414

Merged
pwang347 merged 3 commits intomainfrom
pawang/skillsFromAgentsPath
Feb 3, 2026
Merged

Add support for .agents for skills resolution#292414
pwang347 merged 3 commits intomainfrom
pawang/skillsFromAgentsPath

Conversation

@pwang347
Copy link
Copy Markdown
Member

@pwang347 pwang347 commented Feb 2, 2026

Copilot AI review requested due to automatic review settings February 2, 2026 23:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for .agents directory as a new skills resolution location, alongside existing locations like .github, .claude, and .copilot. This enables users to organize their custom agent skills in .agents/skills directories at both workspace and personal levels.

Changes:

  • Added new AgentsWorkspace and AgentsPersonal enum values to PromptFileSource
  • Registered .agents/skills folders in the default skill source folders array
  • Added telemetry tracking for agents-based skills

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.ts Added .agents/skills paths for workspace and personal locations, and new enum values for agents-based sources
src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.ts Added telemetry properties and data collection for agents personal and workspace skills
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Added configuration migration logic to include new .agents folders in existing skill location configurations

@pwang347 pwang347 marked this pull request as ready for review February 3, 2026 00:15
@pwang347 pwang347 marked this pull request as draft February 3, 2026 00:16
@pwang347 pwang347 marked this pull request as ready for review February 3, 2026 00:24
@pwang347 pwang347 enabled auto-merge (squash) February 3, 2026 00:24
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 3, 2026
@pwang347 pwang347 merged commit e6267f1 into main Feb 3, 2026
22 checks passed
@pwang347 pwang347 deleted the pawang/skillsFromAgentsPath branch February 3, 2026 01:02
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Mar 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants