rebase SKILL.md skillA

rebase from wpfleger96/ai-agent-rules is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add wpfleger96/ai-agent-rules/rebase@v1.1.1

Pins v1.1.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
wpfleger96/ai-agent-rules
Path
src/ai_rules/config/skills/rebase/SKILL.md
Versions recorded
5
Latest version
v1.1.1, committed Jul 4, 2026
First version recorded
Jun 8, 2026
Size
11,551 bytes
Repository stars
10
License
MIT

Rebase a branch onto main (or a target) with squash-first strategy, semantic merge verification, and safe force-push.

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

## Context

- Arguments: `${ARGS}`
- Project root: !`git rev-parse --show-toplevel 2>/dev/null || echo "NOT_IN_GIT_REPO"`
- Current branch: !`git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "NO_BRANCH"`
- Default base: !`sh -c 'ref=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed "s@^refs/remotes/origin/@@"); echo "${ref:-main}"'`
- Commits ahead: !`git rev-list --count HEAD --not --remotes 2>/dev/null || echo "unknown"`
- Ecosystem: !`sh -c 'e=""; [ -f Cargo.toml ] && e="${e:+$e,}rust"; [ -f package.json ] && e="${e:+$e,}node"; [ -f pyproject.toml ] && e="${e:+$e,}python"; [ -f go.mod ] && e="${e:+$e,}go"; echo "${e:-unknown}"'`
- Tooling: !`[ -f Justfile ] && echo "just" || { [ -f Makefile ] && echo "make" || echo "none"; }`

## Ecosystem Defaults

Use project tooling (Justfile/Makefile) first. Fall back to these only when no project recipe exists:

| Ecosystem | Build | Lint | Format | Test | Lock Regen |
|---|---|---|---|---|---|
| Rust | `cargo build --workspace` | `cargo clippy --workspace --all-targets -- -D warnings` | `cargo fmt --all` | `cargo test --workspace` | `cargo update` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wpfleger96/ai-agent-rules/rebase@sha256:f6ef1417f6daa980

The line at the top of this page pins the label v1.1.1, 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_pkd6lsyohxh47hjl.svg)](https://markdownregistry.com/a/art_pkd6lsyohxh47hjl)

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

Versions

The registry has recorded 5 versions of this file, between Jun 8, 2026 and Jul 4, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
v1.1.1 latest2026-07-04 cac8f2d 11,551 BA view · diff
v1.1.12026-06-27 4f79b6e 11,440 BA view · diff
v1.1.12026-06-13 149c6f4 11,551 BA view · diff
v1.1.02026-06-09 f15d76d 11,550 BA view · diff
v1.0.02026-06-08 7ef5639 11,363 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11551 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

GitHub

wpfleger96/ai-agent-rules · 10 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pkd6lsyohxh47hjl
GET https://markdownregistry.com/api/v1/resolve?ref=wpfleger96/ai-agent-rules/rebase
GET https://markdownregistry.com/api/v1/blob/f6ef1417f6daa980cc48be8e438af9a72d57dc4b31642a5e73fceaa1caedf3ad

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 wpfleger96/ai-agent-rules

AGENTS.md AGENTS.md file
wpfleger96/ai-agent-rules · AGENTS.md
git:20260929.8dc0b41 · audit A · 10 stars
AGENTS.md@src/ai_rules/config AGENTS.md file
wpfleger96/ai-agent-rules · src/ai_rules/config/AGENTS.md
git:20260930.c325fca · audit A · 10 stars
AGENTS.md@src/ai_rules/config/amp AGENTS.md file
wpfleger96/ai-agent-rules · src/ai_rules/config/amp/AGENTS.md
git:20260704.cac8f2d · audit B · 10 stars
CLAUDE.md@src/ai_rules/config/claude CLAUDE.md file
wpfleger96/ai-agent-rules · src/ai_rules/config/claude/CLAUDE.md
git:20260704.cac8f2d · audit B · 10 stars
AGENTS.md@src/ai_rules/config/codex AGENTS.md file
wpfleger96/ai-agent-rules · src/ai_rules/config/codex/AGENTS.md
git:20260704.cac8f2d · audit B · 10 stars
writing-as-will SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/profiles/skills/writing-as-will/SKILL.md · Drafts or edits prose written as Will for human readers, in Will's voice. Use when writing Slack or Buzz messages for…
v1.0.0 · audit A · 10 stars
agents-md SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/skills/agents-md/SKILL.md · Create or update AGENTS.md with repo-specific patterns, conventions, commands, and gotchas for LLM coding agents. Use…
v1.0.1 · audit A · 10 stars
code-reviewer SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/skills/code-reviewer/SKILL.md · Performs thorough code review on local changes or PRs. Use this skill proactively after implementing code changes to…
v1.2.0 · audit A · 10 stars
continue-crash SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/skills/continue-crash/SKILL.md · Continues after a session crash while working on a task
v1.0.0 · audit A · 10 stars
crossfire SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/skills/crossfire/SKILL.md · Get multi-model perspectives (Codex + Gemini) on any work product. Use at any development stage — planning, design…
v1.0.0 · audit B · 10 stars
dev-docs SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/skills/dev-docs/SKILL.md · Creates or updates PLAN.md based on session - auto-detects create vs update mode
v1.0.1 · audit A · 10 stars
doc-writer SKILL.md skill
wpfleger96/ai-agent-rules · src/ai_rules/config/skills/doc-writer/SKILL.md · Write, update, or review documentation (README, ARCHITECTURE.md, API docs, guides). Use after implementing features to…
v1.0.1 · audit A · 10 stars

Every file in wpfleger96/ai-agent-rules

Other files named rebase

rebase SKILL.md skill
anantys-oss/koan · koan/skills/core/rebase/SKILL.md · Queue a PR rebase mission (ex: /rebase https://github.com/owner/repo/pull/42). A bare rebase only rebases onto the base…
v2.0.0 · audit A · 47 stars
rebase SKILL.md skill
flurdy/agent-skills · skills/rebase/SKILL.md · Rebase feature or stacked branches, or explicitly integrate a fetched upstream into local main/master. Separate trunk…
v1.1.0 · audit A · 9 stars
rebase SKILL.md skill
ronaknnathani/relay · skills/rebase/SKILL.md · Use when you need to rebase the current branch onto main, resolve merge conflicts, and force-push
git:20260629.9a6d3b4 · audit A · 3 stars

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