jig-repo-hygiene SKILL.md skillA

jig-repo-hygiene from 0x0w1/jig is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add 0x0w1/jig/jig-repo-hygiene@git:20260914.f91d23d

Pins git:20260914.f91d23d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
0x0w1/jig
Path
.agents/skills/jig-repo-hygiene/SKILL.md
Versions recorded
3
Latest version
git:20260914.f91d23d, committed Sep 14, 2026
First version recorded
Aug 31, 2026
Size
8,720 bytes
Repository stars
5
License
MIT

Use to audit and clean the debris a long-running jig repository accumulates: task branches whose work already shipped, branches from retired flows, stale remote-tracking refs, tag and release mismatches, an uncommitted rubric, and installer .bak leftovers. Reports first; deletes only what the user confirms.

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

# Repo Hygiene

Use this repository skill to find and clear the debris that builds up in a repository worked through jig. It audits first and always reports; it removes only what the user names.

This is the repository's own housekeeping. For the state of the jig **installation**, use `jig-doctor`, which is read-only and never deletes.

## Why Merged Branches Look Unmerged

`develop-task-flow` finishes with `git merge --squash`, so the task branch tip never becomes an ancestor of `develop`. Git therefore reports every finished branch as unmerged:

```bash
git branch --merged develop     # finds almost nothing
git branch --no-merged develop  # lists work that shipped months ago
```

**Never decide a branch is safe to delete with `--merged`.** Under a squash flow it answers a different question than the one being asked.

A plain diff does not answer it either, in either spelling:

| Command | What it compares | Why it misjudges |
|---|---|---|
| `git diff develop...<branch>` | merge base against the branch | still shows the branch's own contribution after a squash merge, so finished work reads as unfinished |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add 0x0w1/jig/jig-repo-hygiene@sha256:95d0f559810938ae

The line at the top of this page pins the label git:20260914.f91d23d, 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_mjnpk2z3o7itnmkq.svg)](https://markdownregistry.com/a/art_mjnpk2z3o7itnmkq)

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

Versions

The registry has recorded 3 versions of this file, between Aug 31, 2026 and Sep 14, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20260914.f91d23d latest2026-09-14 f91d23d 8,720 BA view · diff
git:20260831.99934af2026-08-31 99934af 5,452 BA view · diff
git:20260831.7af539e2026-08-31 7af539e 4,914 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 (8720 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

0x0w1/jig · 5 stars · license MIT · pushed 2026-09-30 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mjnpk2z3o7itnmkq
GET https://markdownregistry.com/api/v1/resolve?ref=0x0w1/jig/jig-repo-hygiene
GET https://markdownregistry.com/api/v1/blob/95d0f559810938aee5df684277c175271bc1fcf96c26a632298cd947bbd24145

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 0x0w1/jig

jig-conformance-audit SKILL.md skill
0x0w1/jig · .agents/skills/jig-conformance-audit/SKILL.md · Use to check whether a repository's history actually followed the jig procedure: conventional squash subjects…
git:20260901.ea92942 · audit A · 5 stars
jig-develop-task-flow SKILL.md skill
0x0w1/jig · .agents/skills/jig-develop-task-flow/SKILL.md · Use for ordinary implementation tasks in a repository that has adopted the jig develop/main model: start from develop…
git:20260914.f91d23d · audit A · 5 stars
jig-doctor SKILL.md skill
0x0w1/jig · .agents/skills/jig-doctor/SKILL.md · Use when diagnosing every detected jig installation for Claude Code, Codex, and Antigravity across current project and…
git:20260914.f91d23d · audit A · 5 stars
jig-github-release SKILL.md skill
0x0w1/jig · .agents/skills/jig-github-release/SKILL.md · Use when releasing this repository from the CLI by promoting develop to main with a fast-forward push, grading the…
git:20260930.a370957 · audit A · 5 stars
jig-github-sync SKILL.md skill
0x0w1/jig · .agents/skills/jig-github-sync/SKILL.md · Use when synchronizing this repository's GitHub setup: main/develop branches, optional branch protection, and the…
git:20260914.f91d23d · audit A · 5 stars
jig-hotfix-flow SKILL.md skill
0x0w1/jig · .agents/skills/jig-hotfix-flow/SKILL.md · Use when a released defect on main must ship before the work already sitting on develop. Branches from main, lands one…
git:20260831.4cf7503 · audit A · 5 stars
jig-readme SKILL.md skill
0x0w1/jig · .agents/skills/jig-readme/SKILL.md · Use when writing or updating a project README.md: scan the repository to classify the project type (CLI tool, library…
git:20260914.f91d23d · audit A · 5 stars
jig-rubric-scan SKILL.md skill
0x0w1/jig · .agents/skills/jig-rubric-scan/SKILL.md · Use when recommending which version rubric fits this repository: scan the tracked files to classify the project type…
git:20260828.ed5d820 · audit A · 5 stars
jig-setup SKILL.md skill
0x0w1/jig · .agents/skills/jig-setup/SKILL.md · Use after installing jig for Claude Code, Codex, or Antigravity to select and verify the repository GitHub CLI profile…
git:20260914.57ac6a7 · audit A · 5 stars
jig-update SKILL.md skill
0x0w1/jig · .agents/skills/jig-update/SKILL.md · Use when updating every detected jig installation for Claude Code, Codex, and Antigravity across current project and…
git:20260914.57ac6a7 · audit B · 5 stars
jig-version-rubric SKILL.md skill
0x0w1/jig · .agents/skills/jig-version-rubric/SKILL.md · Use when creating, reviewing, or re-setting this repository's version grading rubric at .jig/versioning.md: adopt the…
git:20260930.a370957 · audit A · 5 stars
conformance-audit SKILL.md skill
0x0w1/jig · .claude/skills/conformance-audit/SKILL.md · Use to check whether a repository's history actually followed the jig procedure: conventional squash subjects…
git:20260901.ea92942 · audit A · 5 stars

Every file in 0x0w1/jig

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