rebase skillA
rebase is agent-read markdown (skill) from ronaknnathani/relay: Use when you need to rebase the current branch onto main, resolve merge conflicts, and force-push.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Rebase — Rebase, Fix Conflicts, Push Rebase the current branch onto the base branch (default: `main`), resolve any merge conflicts, and force-push. ## Steps ### 1. Determine Base Branch - If `$ARGUMENTS` contains a branch name, use it as the base. - Otherwise, default to `main`. ### 2. Pre-check Working Tree ```bash git status --porcelain ``` If output is non-empty, the working tree is dirty. Abort and report to the user: ``` Working tree has uncommitted changes. Commit or stash before rebasing: <output of git status --porcelain> ``` Do NOT auto-stash — too easy to lose work. ### 3. Fetch Latest ```bash git fetch origin <BASE_BRANCH> ``` ### 4. Rebase ```bash git rebase origin/<BASE_BRANCH> ``` ### 5. Handle Conflicts If the rebase stops with conflicts: 1. Run `git diff --name-only --diff-filter=U` to list conflicted files 2. For each conflicted file: - Read the file to understand the conflict markers - Resolve the conflict by understanding both sides (ours = current branch work, theirs = base branch changes) - Prefer keeping our changes where they don't conflict with upstream intent - If unsure about a conflict, ask the user …
Read the whole file at its exact version.
How to install
mdr add ronaknnathani/relay/rebase@git:20260629.9a6d3b4mdr add ronaknnathani/relay/rebase@sha256:c4354cc660894d58Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_vny5dcaxsaqgxkk6)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260629.9a6d3b4 latest | 2026-06-29 | 9a6d3b4 | 2,587 B | A | view · diff |
| git:20260629.99be5fe | 2026-06-29 | 99be5fe | 2,573 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2587 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
- pass: No script tag
Source
ronaknnathani/relay · 3 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vny5dcaxsaqgxkk6 GET https://markdownregistry.com/api/v1/resolve?ref=ronaknnathani/relay/rebase GET https://markdownregistry.com/api/v1/blob/c4354cc660894d5864a2f0aeca21d130343c23b24052b27aa2c9f14859d618ee
Your agent 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.
More from ronaknnathani/relay
Every file in ronaknnathani/relay