在设置页提供「导入 Claude Code 配置」入口 / Add an "Import Claude Code config" entry in Settings(勾选式,支持项目级资产) #838
TimeCraker
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
在设置页提供「导入 Claude Code 配置」入口 / Add an "Import Claude Code config" entry in Settings(勾选式,支持项目级资产 / checkbox-based, with project-level assets)
背景与期望 / Background & expectation
背景 / Background
期望 / Expectation
.claude/资产(如项目级 skills)一并导入 / Pick a workspace folder and import its project-level.claude/assets (e.g. project-level skills) in the same flow;落点映射(基于当前实现查证)/ Destination mapping (verified against the current implementation)
~/.claude/skills→~/.agents/skills(rank 500),项目级 →<工作区>/.agents/skills(rank 200)。/ DSH already scans five skill roots; user-level maps to~/.agents/skills(rank 500), project-level to<workspace>/.agents/skills(rank 200).dsh-agent-instructions原生以AGENTS.md、CLAUDE.md为候选文件名,全局注入~/.dsh/AGENTS.md,rules 可合并进该文件(合并策略待定)。/dsh-agent-instructionsalready acceptsAGENTS.md/CLAUDE.mdas candidate instruction files, with the global entry at~/.dsh/AGENTS.md; rules can be merged into it (merge policy TBD).dsh-commands无 .md 扫描),Claude 的commands/*.md斜杠命令无直接落点,需要设计映射(如导入为可加载的 skill 或命令注册文件)——这是本提案最大的设计点。/ DSH commands are code-registered (dsh-commandsdoes not scan .md files), so Claude'scommands/*.mdslash commands have no direct destination — designing this mapping is the biggest open design point of this proposal.dsh-client-ui-settings-plugins)与目录选择器组件(dsh-client-ui-directory-picker-*)均已现成,可复用。/ The settings plugin-card mechanism (dsh-client-ui-settings-plugins) and directory picker components (dsh-client-ui-directory-picker-*) already exist and can be reused.All reactions