Skip to content

扩展 GitHub 与 GitLab skill 为平台级 CLI 交互#34

Merged
DCjanus merged 2 commits intomasterfrom
feat/platform-cli-skills
Mar 24, 2026
Merged

扩展 GitHub 与 GitLab skill 为平台级 CLI 交互#34
DCjanus merged 2 commits intomasterfrom
feat/platform-cli-skills

Conversation

@DCjanus
Copy link
Copy Markdown
Owner

@DCjanus DCjanus commented Mar 24, 2026

背景

  • 现有 GitHub / GitLab skill 的名称和描述过于聚焦 issue、PR、MR,容易把触发范围限制死。
  • 实际使用中还会涉及更广泛的平台交互场景,例如 GitLab wiki。
  • 同时不希望在 AGENTS.md 中直接耦合具体 skill 名称,应更多依赖 skill 自身的 name 和 description 做判断。
  • 另外,当前模型在执行 git addgit commitgit push 时容易倾向并行调用,实际会因为 .git/index.lock 导致部分 Git 命令失败,需要在 git-commit skill 中补充明确约束。

变更

  • github-pr-issue 重命名为 github-cli,将 gitlab-mr-issue 重命名为 gitlab-cli
  • 调整两个 skill 的 description 和正文说明,从 issue / PR / MR 场景扩展到平台级 CLI 交互场景。
  • gitlab-cli 中补充 wiki 场景,明确优先检查 glab 子命令,不足时使用 glab api
  • 清理 AGENTS.md 中对具体 skill 的直接引用,仅保留平台交互应优先使用官方 CLI 或 API、且尽量非交互的原则。
  • 更新 README 中的 skill 列表说明,和新的 skill 名称与定位保持一致。
  • git-commit 中新增 Git 写操作默认串行执行的约束,明确避免并行触发多个 git addgit commitgit push,并补充 index.lock 相关处理说明与顺序执行示例。

验证

  • 未运行自动化测试;本次仅涉及文档与 skill 定义调整。

DCjanus and others added 2 commits March 24, 2026 10:28
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
@DCjanus DCjanus merged commit da7940b into master Mar 24, 2026
1 check passed
@DCjanus DCjanus deleted the feat/platform-cli-skills branch March 24, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant