Repository navigation
新建工作目录时让 .claude/skills 整个链接到 .agents/skills - #118
Merged
Merged
Conversation
workspace-init 在处理 AGENTS.md / CLAUDE.md 之后,建好 .agents/skills, 并把 .claude/skills 链接到 ../.agents/skills,Claude 与 Codex 读同一份技能。 已有的 .claude/skills 里只有逐技能指回 .agents/skills 的链接时换成整目录链接; 放着 Claude 独有技能、Git 仓库、路径被占用时原样保留。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
改动
workspace-init在建 AGENTS.md / CLAUDE.md 链接之后,建好.agents/skills,并让.claude/skills整个链接到../.agents/skills。.claude/skills已是目录且里面只有指回../../.agents/skills/<同名>的链接时,换成整目录链接。.claude/skills里有 Claude 独有技能、工作目录是 Git 仓库(避免未跟踪文件让 pull 拒绝更新)、路径被文件或链接占用。npx skills会识别整目录链接并跳过;原来的逐技能链接逻辑在整目录链接下照常工作。节点侧改动,Runtime 节点升级后生效。
测试
pytest tests/unit1706 通过,ruff / pyright 干净。🤖 Generated with Claude Code