squash SKILL.md skillA

squash from haacked/dotfiles is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add haacked/dotfiles/squash@git:20260821.de0b8f1

Pins git:20260821.de0b8f1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
haacked/dotfiles
Path
ai/skills/squash/SKILL.md
Versions recorded
4
Latest version
git:20260821.de0b8f1, committed Aug 21, 2026
First version recorded
Jul 23, 2026
Size
8,152 bytes
Repository stars
135
License
none declared

Squash each contributor's run of contiguous commits on the current branch into one, preserving authorship. CI snapshot commits (authored by bots) are preserved in place and reported.

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

# Squash

Squash the current branch's commits while preserving attribution. Each contributor's run of contiguous commits collapses into a single commit authored by that contributor. CI snapshot commits are left untouched.

`message_hint` = any text after `/squash` once a `--parent <ref>` flag (if present) is stripped, or empty string if none was given. `--parent <ref>` overrides base detection: only commits after `<ref>` are squashed.

Example invocations:

- `/squash`
- `/squash Refactor authentication flow`
- `/squash --parent origin/haacked/parent-branch`

## Definitions

- A **CI snapshot commit** is any commit whose author email contains `[bot]` (e.g. `github-actions[bot]@users.noreply.github.com`).
- A **developer commit** is every other commit.
- A **run** is a maximal sequence of developer commits by the same author email, uninterrupted by another human's commits. CI snapshot commits do NOT break a run; a developer commit by a different author does.

## Steps

### 1. Commit Working-Directory Changes

Check for uncommitted changes (staged, unstaged, or untracked):

```bash
git status --porcelain
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add haacked/dotfiles/squash@sha256:653fc242b5e381d5

The line at the top of this page pins the label git:20260821.de0b8f1, 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_ekz3jtuef5jkbdfl.svg)](https://markdownregistry.com/a/art_ekz3jtuef5jkbdfl)

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

Versions

The registry has recorded 4 versions of this file, between Jul 23, 2026 and Aug 21, 2026, about one every 10 days.

versioncommittedcommitsizeaudit
git:20260821.de0b8f1 latest2026-08-21 de0b8f1 8,152 BA view · diff
git:20260814.48451b62026-08-14 48451b6 8,094 BA view · diff
git:20260724.d5bebf22026-07-24 d5bebf2 6,786 BA view · diff
git:20260723.414212a2026-07-23 414212a 6,801 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 (8152 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

haacked/dotfiles · 135 stars · license none declared · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ekz3jtuef5jkbdfl
GET https://markdownregistry.com/api/v1/resolve?ref=haacked/dotfiles/squash
GET https://markdownregistry.com/api/v1/blob/653fc242b5e381d5771364d2b056de5b9c13a3ad3fb105083c4c411373fc5647

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 haacked/dotfiles

AGENTS.md AGENTS.md file
haacked/dotfiles · AGENTS.md
git:20261028.5e8b109 · audit A · 135 stars
CLAUDE.md CLAUDE.md file
haacked/dotfiles · CLAUDE.md
git:20260821.de0b8f1 · audit B · 135 stars
AGENTS.md@ai AGENTS.md file
haacked/dotfiles · ai/AGENTS.md
git:20261024.d48eea8 · audit A · 135 stars
CLAUDE.md@ai CLAUDE.md file
haacked/dotfiles · ai/CLAUDE.md
git:20260821.de0b8f1 · audit B · 135 stars
simplify SKILL.md skill
haacked/dotfiles · ai/codex/skills/simplify/SKILL.md · Simplify recently changed code for clarity, consistency, and maintainability while preserving behavior. Use after…
git:20260827.f7bfa75 · audit A · 135 stars
address-pr-reviews SKILL.md skill
haacked/dotfiles · ai/skills/address-pr-reviews/SKILL.md · Evaluate unresolved PR review comments from any reviewer — bots and humans — fix legitimate issues, and reply to…
git:20261024.d48eea8 · audit A · 135 stars
comment-cleanup SKILL.md skill
haacked/dotfiles · ai/skills/address-pr-reviews/references/comment-cleanup/SKILL.md · Delete and tighten code comments in source files after they are written. Drops narration, restatement, and change-log…
git:20260929.362fe34 · audit A · 135 stars
plain-writing SKILL.md skill
haacked/dotfiles · ai/skills/address-pr-reviews/references/plain-writing/SKILL.md · Write, rewrite, or review prose for other people in clear, direct English. Use for PR descriptions, review comments…
git:20261027.29130d3 · audit A · 135 stars
analyze-permissions SKILL.md skill
haacked/dotfiles · ai/skills/analyze-permissions/SKILL.md · Analyze accumulated permissions and suggest smart wildcard patterns. Only invoke when the user explicitly runs…
git:20260822.9da3dc3 · audit A · 135 stars
babysit-prs SKILL.md skill
haacked/dotfiles · ai/skills/babysit-prs/SKILL.md · One sweep over all of my open PRs — check CI and merge-queue state, handle new review comments, fix and push — tracking…
git:20261009.a2b4058 · audit A · 135 stars
ci-monitor SKILL.md skill
haacked/dotfiles · ai/skills/ci-monitor/SKILL.md · Monitor CI checks after pushing, detect flaky vs legit failures, and auto-fix. Follows a PR into a Trunk merge queue…
git:20261009.a2b4058 · audit A · 135 stars
comment-cleanup SKILL.md skill
haacked/dotfiles · ai/skills/comment-cleanup/SKILL.md · Delete and tighten code comments in source files after they are written. Drops narration, restatement, and change-log…
git:20260929.362fe34 · audit A · 135 stars

Every file in haacked/dotfiles

Other files named squash

squash SKILL.md skill
anantys-oss/koan · koan/skills/core/squash/SKILL.md · Squash all PR commits into one clean commit (ex: /squash https://github.com/owner/repo/pull/42)
v1.0.0 · audit A · 48 stars

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