Credited skills
Skill 47 of 54
Merge a base ref and safely regenerate compiled workflow lock-file conflicts.
2 minutes · 363 words · 3 sections
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/mainThe command works both before a merge and after another command has stopped on conflicts. It:
--no-commit, or resumes the current merge..lock.yml..github/workflows/*.md for leftover conflict-marker lines
(<<<<<<<, |||||||, =======, >>>>>>>) and aborts before compiling
if any are found — see “Why the marker scan matters” below.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.
A source .md conflict resolved manually (by a human or an agent) can leave
a stray conflict-marker line behind — most often the rarely-noticed
||||||| base (original) diff3 marker — inside a workflow’s YAML
frontmatter. git diff --check only inspects lines touched by the current
diff/staged hunks, so a marker already committed in otherwise-unchanged file
content passes silently. The gh-aw compiler then parses the marker text as a
literal YAML header option (e.g. invalid header option: "|||||| base (original)"), which fails compilation later — often in an unrelated
scheduled recompilation run, far from the original merge, making the root
cause hard to trace back.
Run the standalone check any time you suspect a workflow .md file went
through manual conflict resolution, even outside this script’s merge flow:
./.github/skills/resolve-merge-conflicts/resolve.sh --verify-markersIt exits non-zero and lists the offending file(s)/line(s) if any marker is found, and does not modify the working tree.
ours or theirs for compiled lock files; regenerate them..lock.yml files..md, Go, JavaScript, or other mixed conflict.Credited
This skill is installed in github/gh-aw — in use here rather than published from here — so there is no install command for it on this page.
main, last pushed 24 September 2026.SKILL.md, not by matching a directory convention. 4 distinct layouts observed: .claude/skills/*/SKILL.md, .github/skills/*/SKILL.md, .squad/*/skill.md, SKILL.md (repo root).h1 and no skipped levels:/github/gh-aw.md, and each skill at its own .md URL.1 file · 4 KB
Everything this skill ships beside its prose. All of it is set here, as a subchapter of skill 47.
Everything else published alongside the skill.