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.
mdr add gabrieldabbah/genesis/repo-hardening@git:20260730.16e056ePins 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
mdr add gabrieldabbah/genesis/repo-hardening@sha256:f3e425300f253e38The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260730.16e056e latest | 2026-07-30 | 16e056e | 6,170 B | A | view · diff |
| git:20260728.9da56a5 | 2026-07-28 | 9da56a5 | 4,533 B | A | view |
Audit of the latest version
- 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
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.