feat: add batch commands and codex install - #95
Open
liuxy0551 wants to merge 2 commits into
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…cases - keep amp/universal/replit global install on canonical ~/.agents/skills - fail fast on invalid --category/--version in multi-path publish - reject path args containing .. in update Co-Authored-By: Claude Sonnet 4.6 <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.
Summary
扩展
dt-skillCLI 的批量能力,并修复 Codex 全局安装的软链接 bug。Changes
upload/publish接受多个路径参数,逐项通过/api/v1/skills发布,按 slug 去重、失败汇总;单路径容器目录仍走 package 打包(import-file),交互勾选默认全选。update接受多个 slug 或路径(aaa/bbb-skill→bbb-skill),去重后共用一次 scope,逐项处理,失败不阻断后续项。getAgentSkillsDir/linkOrCopyToAgent的 universal 判定,--global --agent codex在~/.codex/skills创建软链接(cursor / gemini-cli / github-copilot / opencode 一并修复),卸载时同步清理。publish.test.ts/skills.test.ts/installer.test.ts覆盖。Test plan
cd dt-skill && npm run test:src→ 24 files / 228 tests 全部通过docs/superpowers/specs/2026-08-13-dt-skill-batch-commands-codex-install-design.md🤖 Generated with Claude Code