Agent SkillsCopilotKit/OpenTag › merge-main

merge-main

GitHub

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

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

Trigger Scenarios

需要合并主干到当前分支 用户明确要求 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
6a770d8
Hash
f801a2f4
Indexed
2026-08-19 13:55

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-02 09:46
浙ICP备14020137号-1 $bản đồ khách truy cập$