git-hygiene SKILL.md skillA

git-hygiene from bolens/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add bolens/agent-skills/git-hygiene@git:20260909.82ed8e3

Pins git:20260909.82ed8e3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
bolens/agent-skills
Path
skills/git-hygiene/SKILL.md
Versions recorded
5
Latest version
git:20260909.82ed8e3, committed Sep 9, 2026
First version recorded
Sep 5, 2026
Size
10,119 bytes
Repository stars
3
License
MIT

Coordinate Git writes, worktree isolation, focused commits, and integration for concurrent agents across repository surfaces. Use for shared-checkout work, parallel implementation, mixed staged changes, branch handoffs, PR freshness checks, or post-merge synchronization and cleanup. Commit-message-only requests and read-only reviews keep their own workflows.

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

# Git hygiene for concurrent agents

Preserve each contributor's work and make the integrated result traceable. Apply this workflow alongside the task's implementation skill. It does not authorize spawning agents, publishing changes, or changing repository policy.

## Establish ownership before writing

Read applicable repository instructions and delivery guidance. Inspect the repository root, branch, HEAD, staged and unstaged changes, untracked files, worktrees, and any operation already in progress:

```sh
git rev-parse --show-toplevel
git status --short --branch
git rev-parse HEAD
git diff --stat
git diff --cached --stat
git worktree list --porcelain
```

Inspect full diffs for paths the task may touch. Treat existing changes as owned by someone else until their purpose is established. A clean status does not prove no other agent is working. Confirm assignments through the available coordination channel. Stop mutations on an unexpected HEAD change, overlapping edits, or an operation owned by another task, while continuing independent inspection.

Record assignments in the existing task channel or repository convention:

| Field | Required information |
|---|---|
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_tozb4utey5miecyn/7dd9f6df6698fcef14ed070fdb72b5e55980d19e8f4362f087913bbd0a405412.json

Then /plugin install git-hygiene@markdownregistry-tozb4utey5miecyn in Claude Code. It installs git:20260909.82ed8e3, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add bolens/agent-skills/git-hygiene@sha256:7dd9f6df6698fcef

The line at the top of this page pins the label git:20260909.82ed8e3, 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_tozb4utey5miecyn.svg)](https://markdownregistry.com/a/art_tozb4utey5miecyn)

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

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in bolens/agent-skills/git-hygiene since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of git-hygiene from somewhere else? Ask it: where did my git-hygiene come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Sep 5, 2026 and Sep 9, 2026, more than one a day.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260909.82ed8e3 latest2026-09-09 82ed8e3 10,119 BA view · diff
git:20260908.72ec4522026-09-08 72ec452 9,862 BA view · diff
git:20260906.c0bfd042026-09-06 c0bfd04 9,622 BA view · diff
git:20260906.90262a62026-09-06 90262a6 9,420 BA view · diff
git:20260905.562b8f22026-09-05 562b8f2 9,077 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

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 (10119 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

bolens/agent-skills · 3 stars · license MIT · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tozb4utey5miecyn
GET https://markdownregistry.com/api/v1/resolve?ref=bolens/agent-skills/git-hygiene
GET https://markdownregistry.com/api/v1/blob/7dd9f6df6698fcef14ed070fdb72b5e55980d19e8f4362f087913bbd0a405412

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 bolens/agent-skills

speckit-analyze SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-analyze/SKILL.md · Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after…
git:20260915.e7c49bf · audit A · 3 stars
speckit-checklist SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-checklist/SKILL.md · Generate a custom checklist for the current feature based on user requirements.
git:20260915.e7c49bf · audit A · 3 stars
speckit-clarify SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-clarify/SKILL.md · Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and…
git:20261106.88eb75e · audit A · 3 stars
speckit-constitution SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-constitution/SKILL.md · Create or update the project constitution from interactive or provided principle inputs.
git:20260915.e7c49bf · audit A · 3 stars
speckit-converge SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-converge/SKILL.md · Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new…
git:20261106.88eb75e · audit A · 3 stars
speckit-implement SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-implement/SKILL.md · Execute the implementation plan by processing and executing all tasks defined in tasks.md
git:20260915.e7c49bf · audit A · 3 stars
speckit-plan SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-plan/SKILL.md · Execute the implementation planning workflow using the plan template to generate design artifacts.
git:20260915.e7c49bf · audit A · 3 stars
speckit-specify SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-specify/SKILL.md · Create or update the feature specification from a natural language feature description.
git:20261106.88eb75e · audit A · 3 stars
speckit-tasks SKILL.md skill
bolens/agent-skills · .agents/skills/speckit-tasks/SKILL.md · Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.
git:20260915.e7c49bf · audit A · 3 stars
AGENTS.md AGENTS.md file
bolens/agent-skills · AGENTS.md
git:20260906.e273861 · audit A · 3 stars
accessibility SKILL.md skill
bolens/agent-skills · skills/accessibility/SKILL.md · Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y…
v2.0 · audit A · 3 stars
animation-assets SKILL.md skill
bolens/agent-skills · skills/animation-assets/SKILL.md · Integrate, diagnose, and verify authored Lottie JSON, dotLottie, and Rive animations in web interfaces, including…
git:20260905.db6655e · audit A · 3 stars

Every file in bolens/agent-skills

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