configuring-git-hygiene SKILL.md skillA

configuring-git-hygiene from alexei-led/cc-thingz is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add alexei-led/cc-thingz/configuring-git-hygiene@git:20260928.296db92

Pins git:20260928.296db92 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
alexei-led/cc-thingz
Path
src/skills/configuring-git-hygiene/SKILL.md
Versions recorded
5
Latest version
git:20260928.296db92, committed Sep 28, 2026
First version recorded
Jun 2, 2026
Size
3,555 bytes
Repository stars
38
License
MIT

'Configure safe git workflow hygiene: pre-commit/pre-push hooks, Gitleaks.

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

# Configure Git Hygiene

Set up project-local hygiene that stays fast enough to keep enabled. Stop if the directory is not a git repo.

## Ask first

Propose the plan (current facts, files and config to change, verification, risks) and get approval before you:

- write, replace, or merge into a hook file;
- set a `git config` value (local or global) or run `chmod`;
- run `git rm --cached`;
- install a tool, or choose whether a hook fails or skips when a tool is missing.

If the repo is dirty, show `git status --short` and ask before hook or config edits.

When asked for a plan, give the whole plan in one answer. If you have not inspected the repo yet, make the inspection commands below its first step, mark current state as unverified, and still lay out the hook, Gitleaks, or `.gitignore` changes from the policy and how you will verify them.

## Inspect

```bash
git status --short
git config --show-origin --get core.hooksPath || true
git config --show-origin --list | rg '^(file:.*\s+)?(user\.|commit\.|tag\.|pull\.|fetch\.|rerere\.|core\.hooksPath|includeIf\.)' || true
git ls-files .gitignore .pre-commit-config.yaml .gitleaks.toml 2>/dev/null || true
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add alexei-led/cc-thingz/configuring-git-hygiene@sha256:64136a71eb65e141

The line at the top of this page pins the label git:20260928.296db92, 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_bwcfl7gd6hrbuqfk.svg)](https://markdownregistry.com/a/art_bwcfl7gd6hrbuqfk)

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

Versions

The registry has recorded 5 versions of this file, between Jun 2, 2026 and Sep 28, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20260928.296db92 latest2026-09-28 296db92 3,555 BA view · diff
git:20260928.b87f7472026-09-28 b87f747 3,263 BA view · diff
git:20260716.29b4d222026-07-16 29b4d22 4,180 BA view · diff
git:20260603.97d760b2026-06-03 97d760b 4,184 BA view · diff
git:20260602.01d2ec82026-06-02 01d2ec8 4,240 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 (3555 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

alexei-led/cc-thingz · 38 stars · license MIT · pushed 2026-10-25 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_bwcfl7gd6hrbuqfk
GET https://markdownregistry.com/api/v1/resolve?ref=alexei-led/cc-thingz/configuring-git-hygiene
GET https://markdownregistry.com/api/v1/blob/64136a71eb65e141d8ac1ca775f1d295308d4e7eb655ccf2f3a75c8039559e85

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 alexei-led/cc-thingz

AGENTS.md AGENTS.md file
alexei-led/cc-thingz · AGENTS.md
git:20261010.bc87856 · audit A · 38 stars
CLAUDE.md CLAUDE.md file
alexei-led/cc-thingz · CLAUDE.md
git:20260512.586616a · audit B · 38 stars
brainstorming-ideas SKILL.md skill
alexei-led/cc-thingz · src/skills/brainstorming-ideas/SKILL.md · Brainstorm ideas and stress-test draft plans before coding. Use when
git:20261021.2f01d27 · audit A · 38 stars
browser-automation SKILL.md skill
alexei-led/cc-thingz · src/skills/browser-automation/SKILL.md · 'Browser automation for rendered UI exploration, validation, screenshots,
git:20260928.aef806a · audit A · 38 stars
cleanup-git SKILL.md skill
alexei-led/cc-thingz · src/skills/cleanup-git/SKILL.md · Remove merged local branches and stale git worktrees. Use when the user
git:20261021.a9f3052 · audit A · 38 stars
committing-code SKILL.md skill
alexei-led/cc-thingz · src/skills/committing-code/SKILL.md · Create normal git commits with logical grouping. Use when committing,
git:20261005.de984fb · audit A · 38 stars
documenting-code SKILL.md skill
alexei-led/cc-thingz · src/skills/documenting-code/SKILL.md · Write, rewrite, or update project docs from implementation facts - README
git:20261005.de984fb · audit A · 38 stars
evolving-config SKILL.md skill
alexei-led/cc-thingz · src/skills/evolving-config/SKILL.md
git:20260928.23d332d · audit B · 38 stars
fixing-code SKILL.md skill
alexei-led/cc-thingz · src/skills/fixing-code/SKILL.md · Fix code defects with a reproducible feedback loop, root-cause diagnosis,
git:20261021.2f01d27 · audit A · 38 stars
improving-tests SKILL.md skill
alexei-led/cc-thingz · src/skills/improving-tests/SKILL.md · Improve test design, speed, and coverage with behavior-focused tests,
git:20261021.2f01d27 · audit A · 38 stars
installation-doctor SKILL.md skill
alexei-led/cc-thingz · src/skills/installation-doctor/SKILL.md · Diagnose cc-thingz plugin installations with the bundled read-only doctor. Use for missing installed skills, helpers…
git:20260929.e2cd2eb · audit A · 38 stars
looking-up-docs SKILL.md skill
alexei-led/cc-thingz · src/skills/looking-up-docs/SKILL.md · Find exact, version-correct library/API/framework docs through one lookup
git:20260928.aef806a · audit A · 38 stars

Every file in alexei-led/cc-thingz

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