Agent SkillsCopilotKit/OpenTag › merge-main

merge-main

GitHub

将 origin/main 合并至工作分支,通过 Daytona 同步基础代码,解决冲突并运行测试,根据测试结果发布更改或返回日志。

agent/coding/skills/merge-main/SKILL.md CopilotKit/OpenTag

触发场景

需要合并主干到当前分支 用户明确要求 merge-main

安装

npx skills add CopilotKit/OpenTag --skill merge-main -g -y
更多选项

非标准路径

npx skills add https://github.com/CopilotKit/OpenTag/tree/main/agent/coding/skills/merge-main -g -y

不安装直接使用

npx skills use CopilotKit/OpenTag@merge-main

指定 Agent (Claude Code)

npx skills add CopilotKit/OpenTag --skill merge-main -a claude-code -g -y

安装 repo 全部 skill

npx skills add CopilotKit/OpenTag --all -g -y

预览 repo 内 skill

npx skills add CopilotKit/OpenTag --list

SKILL.md

Frontmatter
{
    "name": "merge-main",
    "description": "Merge origin\/main into the working branch. Use when the brief skill is merge-main or the user wants latest main merged into a PR branch."
}

merge-main

Merge origin/main into the working branch from the brief.

  1. Call prepare_repository with the PR or named head and sync_base: true.
  2. The host synchronizes the base through Daytona. Never fetch or pull with Git yourself.
  3. Resolve conflicts with the smallest correct edits. Do not drop the PR's intent.
  4. Run the test command from the brief, or the repo default test command.
  5. If green, commit locally if needed and call publish_changes; it reuses an existing PR.
  6. If red, do not call publish_changes. Return the log tail.

版本历史

  • 6a770d8 当前 2026-08-19 13:55

同 Skill 集合

agent/coding/skills/fix-ci/SKILL.md
agent/coding/skills/fix-tests/SKILL.md
agent/coding/skills/implement-issue/SKILL.md

元信息

文件数
0
版本
6a770d8
Hash
f801a2f4
收录时间
2026-08-19 13:55

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 02:40
浙ICP备14020137号-1 $访客地图$