用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/github/gh-aw --skill resolve-merge-conflicts命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
GitHub Agentic Workflows (`gh-aw`) is a GitHub CLI extension for writing Agentic Workflows in markdown and compiling them to GitHub Actions.
Operate safely and efficiently inside a gh-aw workflow with a restricted tools/bash allowlist, and correctly triage tool-denial events before they exhaust the session's denial budget.
Optional Sergo examples for cache formats and reporting templates.
基于 SOC 职业分类
正在显示 SKILL.md
| name | resolve-merge-conflicts |
| description | Merge a base ref and safely regenerate compiled workflow lock-file conflicts. |
| tools | {"bash":["./.github/skills/resolve-merge-conflicts/resolve.sh *","git diff *","git status *"]} |
Use this skill when merging origin/main into a branch, especially when the
only conflicts are generated .github/workflows/*.lock.yml files.
From the repository root, run:
./.github/skills/resolve-merge-conflicts/resolve.sh origin/main
The command works both before a merge and after another command has stopped on conflicts. It:
--no-commit, or resumes the current merge..lock.yml.make recompile once so generated files come from the merged Markdown.The script does not fetch, commit, push, abort, or edit workflow Markdown.
Refresh origin/main first only when credentials are available. After success,
review the staged merge, run the repository's final validation gate, then
commit and push.
ours or theirs for compiled lock files; regenerate them..lock.yml files..md, Go, JavaScript, or other mixed conflict.