feat: add .agents/skills as a skill provider directory#2476
Merged
tanzhenxin merged 1 commit intoQwenLM:mainfrom Mar 20, 2026
Merged
feat: add .agents/skills as a skill provider directory#2476tanzhenxin merged 1 commit intoQwenLM:mainfrom
tanzhenxin merged 1 commit intoQwenLM:mainfrom
Conversation
karlhorky
reviewed
Mar 19, 2026
Collaborator
|
@Br1an67 Pls help resolve the unit tests errors, we would love to merge this PR once they are resolved. |
c805060 to
ad21991
Compare
Contributor
Author
|
Hi @tanzhenxin, thanks for the heads up! I've rebased onto the latest |
Collaborator
|
@Br1an67 Thanks for your quick response! But I think maybe we should follow @karlhorky 's advise, I mean the standard name is ".agents", not ".agent". Pls check. |
Replace `.agent` with `.agents` (plural) as the standard skill provider directory, following the cross-tool convention (agentskills/agentskills#15). SKILL_PROVIDER_CONFIG_DIRS is now [".qwen", ".agents"]. Precedence order: .qwen > .agents (first match wins in deduplication).
ad21991 to
5aa5041
Compare
Contributor
Author
|
Done! Updated to replace
|
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.
TLDR
Adds
.agents(with an "s") as a skill provider directory, following the emerging cross-tool convention (agentskills/agentskills#15). One-line change toSKILL_PROVIDER_CONFIG_DIRSwith updated tests.Dive Deeper
Currently only
.qwen/skillsand.agent/skillsare recognized. Multiple AI agent tools are converging on.agents/skillsas a standard directory (Cursor, Claude Code, etc.). This adds it as a third option.Change:
packages/core/src/config/storage.tsline 15:Precedence order:
.qwen>.agent>.agents(first match wins in deduplication). All downstream code (skill-manager.ts,storage.ts getUserSkillsDirs()) automatically picks up the new directory via the shared constant.Reviewer Test Plan
.agents/skills/test-skill/SKILL.mdin project rootqwenand verify the skill appears in/skillslisting.qwenand.agentskills still take precedence over.agentsduplicatesTesting Matrix
Linked issues / bugs
Closes #2155