workflow-branch-sync SKILL.md skillB

workflow-branch-sync from lugassawan/swe-workbench is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add lugassawan/swe-workbench/workflow-branch-sync@git:20261004.6c46130

Pins git:20261004.6c46130 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
lugassawan/swe-workbench
Path
skills/workflow-branch-sync/SKILL.md
Versions recorded
5
Latest version
git:20261004.6c46130, committed Oct 4, 2026
First version recorded
Aug 11, 2026
Size
29,009 bytes
Repository stars
3
License
MIT

Sync the current branch with the default branch via rimba or git, then resolve conflicts file by file with a per-hunk rationale and a keep-mine / keep-main / manual recommendation before staging. Push only happens after explicit confirmation — never automatic.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Workflow: Branch Sync

**Announce at start:** "I'm using the workflow-branch-sync skill to bring this branch up to date and help resolve any conflicts."

## When to Invoke

- User's branch has fallen behind the default branch and they want it brought up to date.
- User asks for help resolving merge/rebase conflicts, or wants guidance on "which side is correct".
- Invoked by `/swe-workbench:sync`.

## What This Skill Does NOT Do

- Does not open, merge, or comment on a PR — that is `swe-workbench:workflow-commit-and-pr` / the user's action. Sole exception: Step 7.5 may trim provably-stale scope tags from the open PR's title (reported in the summary) — never pushes, comments, or merges.
- Does not resolve any conflict without first showing both sides and a recommendation with rationale.
- Does not auto-push — ever. The push is a separate, explicitly prompted step at the end.
- Does not rewrite history beyond the single merge or rebase the user asked for.

## Sync Contract

### Step 1 — Preflight Guard

```bash
command -v swe-workbench-skill-script >/dev/null 2>&1 || {
  echo "swe-workbench runtime commands not on PATH — reinstall or update the swe-workbench plugin." >&2
  exit 1
}
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lugassawan/swe-workbench/workflow-branch-sync@sha256:458b708754dc239b

The line at the top of this page pins the label git:20261004.6c46130, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jl4g2gvr3in4xa4b.svg)](https://markdownregistry.com/a/art_jl4g2gvr3in4xa4b)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 11, 2026 and Oct 4, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
git:20261004.6c46130 latest2026-10-04 6c46130 29,009 BB view · diff
git:20261004.f5a31ff2026-10-04 f5a31ff 26,955 BB view · diff
git:20260927.ec10c6e2026-09-27 ec10c6e 25,451 BB view · diff
git:20260824.7da12472026-08-24 7da1247 23,082 BB view · diff
git:20260811.925e30f2026-08-11 925e30f 22,606 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (29009 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

lugassawan/swe-workbench · 3 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jl4g2gvr3in4xa4b
GET https://markdownregistry.com/api/v1/resolve?ref=lugassawan/swe-workbench/workflow-branch-sync
GET https://markdownregistry.com/api/v1/blob/458b708754dc239b954a2da0683ad644cb79c4132df6f7ec70a394ba5c6ec5b9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from lugassawan/swe-workbench

comms-context SKILL.md skill
lugassawan/swe-workbench · skills/comms-context/SKILL.md · Fetch on-call and discussion context from Slack threads and PagerDuty incidents — participants, timeline, and status…
git:20260828.71a6399 · audit A · 3 stars
language-bash SKILL.md skill
lugassawan/swe-workbench · skills/language-bash/SKILL.md · Bash idioms — strict mode, parameter expansion, arrays, trap cleanup, heredocs, and POSIX portability. Auto-load when…
git:20260828.71a6399 · audit A · 3 stars
language-csharp SKILL.md skill
lugassawan/swe-workbench · skills/language-csharp/SKILL.md · C# and .NET idioms — .NET 8 LTS, C# NRT, records, value semantics, switch expressions, async/await, Task, ValueTask…
git:20260828.71a6399 · audit A · 3 stars
language-dart SKILL.md skill
lugassawan/swe-workbench · skills/language-dart/SKILL.md · Dart idioms — null safety, Futures and Streams, widget composition, and Riverpod app architecture. Auto-load when…
git:20260828.71a6399 · audit A · 3 stars
language-go SKILL.md skill
lugassawan/swe-workbench · skills/language-go/SKILL.md · Go idioms — error handling, concurrency, and standard library usage. Auto-load when working with .go files, go.mod…
git:20260828.71a6399 · audit A · 3 stars
language-java SKILL.md skill
lugassawan/swe-workbench · skills/language-java/SKILL.md · Java idioms — records, sealed types, virtual threads, and JDK 21+ patterns. Auto-load when working with .java files…
git:20260828.71a6399 · audit A · 3 stars
language-kotlin SKILL.md skill
lugassawan/swe-workbench · skills/language-kotlin/SKILL.md · Kotlin idioms — null safety, sealed interfaces, scope functions, and Flow. Auto-load when working with .kt files…
git:20260828.71a6399 · audit A · 3 stars
language-python SKILL.md skill
lugassawan/swe-workbench · skills/language-python/SKILL.md · Python idioms — PEP 8, context managers, generators, asyncio, and testing. Auto-load when working with .py files…
git:20260828.71a6399 · audit A · 3 stars
language-ruby SKILL.md skill
lugassawan/swe-workbench · skills/language-ruby/SKILL.md · Ruby idioms — Ruby 3.x pattern matching, procs, Comparable, error handling, and testing. Auto-load when working with…
git:20260828.71a6399 · audit A · 3 stars
language-rust SKILL.md skill
lugassawan/swe-workbench · skills/language-rust/SKILL.md · Rust idioms — ownership, lifetimes, and iterators. Auto-load when working with .rs files, Cargo.toml, or when the user…
git:20260828.71a6399 · audit A · 3 stars
language-sql SKILL.md skill
lugassawan/swe-workbench · skills/language-sql/SKILL.md · SQL idioms — query tuning, table definitions, constraints, transactions, and pagination. Auto-load when working with…
git:20260828.71a6399 · audit A · 3 stars
language-swift SKILL.md skill
lugassawan/swe-workbench · skills/language-swift/SKILL.md · Swift idioms — optionals, value types, async/await, and Result builders. Auto-load when working with .swift files…
git:20260828.71a6399 · audit A · 3 stars

Every file in lugassawan/swe-workbench

Browse by kind, by grade B, or by owner.