fix(skills): market card sticky desc, nested paths + dt-skill Node 18 / 0.18.6 - #89
Merged
liuxy0551 merged 3 commits intoJul 30, 2026
Merged
Conversation
added 3 commits
July 30, 2026 10:49
Default market description from SKILL.md (shared with Web import), keep existing card on content re-publish unless --description is set, preserve nested filePaths on upload, keep remote slug on installKey match, and show full hero summary without artificial wrap.
Pin CLI deps (ora/commander/clack/p-retry/undici) and vitest 3.x so dt-skill runs and tests on Node 18 aligned with the Doraemon server.
Fix CI prettier check failure on test/skills-registry-contract.test.js.
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.
摘要
SKILL.md提取(与 Web 导入共用解析逻辑);内容重发且未传--description时保留原有卡片文案;上传时保留嵌套filePaths;按installKey安装时保留远端 slug;技能详情页 hero 摘要不再人为截断折行。ora/commander/@clack/p-retry/undici)与 Vitest 3.x,使 CLI 可在 Node >=18.17 上运行与测试(与 Doraemon 服务端对齐);包版本升至 0.18.6。提交
fix(skills): align CLI publish with card summary and nested pathschore(dt-skill): support Node >=18.17 and bump to 0.18.6测试计划
node --test test/skill-utils-normalize-path.test.js test/skills-registry-contract.test.js(或跑主仓库完整测试)cd dt-skill && npm run test:src(Node 18 与 Node 20)--description应保留市场卡片描述;带 flag 应更新filePaths正确installKey安装能解析到预期 slug