repo-hardening SKILL.md skillA

repo-hardening from gabrieldabbah/genesis is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add gabrieldabbah/genesis/repo-hardening@git:20260730.16e056e

Pins git:20260730.16e056e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
gabrieldabbah/genesis
Path
skills/repo-hardening/SKILL.md
Versions recorded
2
Latest version
git:20260730.16e056e, committed Jul 30, 2026
First version recorded
Jul 28, 2026
Size
6,170 bytes
Repository stars
4
License
MIT

Set a repository up so it cannot merge broken code and cannot quietly rot: continuous integration, automated dependency updates, a protected default branch, and the CI check made a required gate. Use when the user says "/repo-hardening", "harden this repo", "set up CI", "protect main", "add branch protection", "enable Dependabot", or when a project is about to become public or start deploying from its default branch. Ordering matters — a required status check can only be added after that check…

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 hardening — make broken code unmergeable

Four things, in this order. The order is not cosmetic: step 4 depends on the check from step 2 having actually
run, and doing it earlier fails with a confusing error.

Assumes a repository hosted on GitHub with a default branch that deploys or releases. Adapt the mechanics for
another host; the four properties are the same everywhere.

**Every step here changes settings on a hosted repository the user owns.** Propose the set, then apply on their
go-ahead. Nothing in this skill is urgent enough to justify surprising someone with a changed merge policy.

## 1. Automated dependency updates

Turn on the host's dependency alerts and automatic security updates, and commit a config that also opens
routine (non-security) update PRs on a schedule. Group them — a weekly batch is reviewable, thirty individual
PRs are not. A scaffolded project already has that config at `.github/dependabot.yml`; check its ecosystem
matches the stack, and that a project with several manifests has a block per directory.

The alerts are a repository setting and the config is a file: turning on one without the other looks the same
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add gabrieldabbah/genesis/repo-hardening@sha256:f3e425300f253e38

The line at the top of this page pins the label git:20260730.16e056e, 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_xq2apwezdf2x23s6.svg)](https://markdownregistry.com/a/art_xq2apwezdf2x23s6)

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

Versions

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

versioncommittedcommitsizeaudit
git:20260730.16e056e latest2026-07-30 16e056e 6,170 BA view · diff
git:20260728.9da56a52026-07-28 9da56a5 4,533 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 (6170 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

gabrieldabbah/genesis · 4 stars · license MIT · pushed 2026-09-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xq2apwezdf2x23s6
GET https://markdownregistry.com/api/v1/resolve?ref=gabrieldabbah/genesis/repo-hardening
GET https://markdownregistry.com/api/v1/blob/f3e425300f253e38db513a3d444242dc02028802de23c035b4b60e05c9d47a91

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 gabrieldabbah/genesis

CLAUDE.md CLAUDE.md file
gabrieldabbah/genesis · CLAUDE.md
git:20260730.9057633 · audit B · 4 stars
axiomatic-induction SKILL.md skill
gabrieldabbah/genesis · skills/axiomatic-induction/SKILL.md · The project constitution AND the reasoning method. Apply it in ALL planning and execution of non-trivial work: reason…
git:20260728.4c095da · audit A · 4 stars
generate-pr SKILL.md skill
gabrieldabbah/genesis · skills/generate-pr/SKILL.md · Generate a complete pull request when the user asks to create/open a PR, fill the PR template, or mentions…
git:20260730.0357e7d · audit A · 4 stars
genesis SKILL.md skill
gabrieldabbah/genesis · skills/genesis/SKILL.md · Build a new project from an empty folder, or bring an existing repository up to standard. Use when the user says…
git:20260729.845c773 · audit A · 4 stars
git-commit SKILL.md skill
gabrieldabbah/genesis · skills/git-commit/SKILL.md · Stage, write a Conventional Commits message from the actual diff, commit, and push. Use when the user asks to commit…
git:20260728.9da56a5 · audit A · 4 stars
parallel-work SKILL.md skill
gabrieldabbah/genesis · skills/parallel-work/SKILL.md · Rules for working in a repository where other Claude sessions are editing at the same time — no git writes, no process…
git:20260730.bf5cf08 · audit A · 4 stars
security-audit SKILL.md skill
gabrieldabbah/genesis · skills/security-audit/SKILL.md · Audit a surface for security problems, score them honestly, and turn each into a task with a fix. Use before declaring…
git:20260728.9da56a5 · audit A · 4 stars
sources SKILL.md skill
gabrieldabbah/genesis · skills/sources/SKILL.md · Consult the project''s trusted-sources registry before searching the web or adding a dependency/tool, and ground every…
git:20260728.9da56a5 · audit A · 4 stars
test-gate SKILL.md skill
gabrieldabbah/genesis · skills/test-gate/SKILL.md · Run the full verification battery and block on red before any commit/PR. Use before committing, before claiming a task…
git:20260728.9da56a5 · audit B · 4 stars
todo SKILL.md skill
gabrieldabbah/genesis · skills/todo/SKILL.md · Maintain the project's master TODO — the internal backlog in docs/TODO.md and its dated archive docs/TODO-done.md. Use…
git:20260728.9da56a5 · audit A · 4 stars
DESIGN.md@templates/docs DESIGN.md file
gabrieldabbah/genesis · templates/docs/DESIGN.md
git:20260728.9da56a5 · audit A · 4 stars

Every file in gabrieldabbah/genesis

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