Agent Skills › CopilotKit/OpenTag › merge-main

merge-main

GitHub

将 origin/main 合并到工作分支,处理冲突并运行测试。若测试通过则发布更改,失败则返回日志,确保 PR 意图不被丢弃。

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

Trigger Scenarios

用户要求将 main 合并到当前分支 技能名称为 merge-main

Install

npx skills add CopilotKit/OpenTag --skill merge-main -g -y
More Options

Non-standard path

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

Use without installing

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.

Version History

  • 6a770d8 Current 2026-08-19 13:55

Same Skill Collection

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

Metadata

Files
0
Version
d5ea8cf
Hash
f801a2f4
Indexed
2026-08-19 13:55

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-01 22:28
浙ICP备14020137号-1