github-rulesets

Official

Enforce GitHub branch policies with presets.

Authorboettiger-lab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

GitHub organization admins spend time configuring and enforcing repository protection rules; this skill automates the deployment and maintenance of branch-protection and merge settings across repos.

Core Features & Use Cases

  • Apply standard (no approvals) or strict (1 approval, dismiss stale) branch-protection rules to repositories.
  • Update existing rulesets or create new ones idempotently to avoid duplicates.
  • Enforce squash-merge-only and delete-branch-on-merge across repos; supports admin-level governance.

Quick Start

Run the apply-ruleset.sh OWNER/REPO with standard or strict to configure the repository governance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: github-rulesets
Download link: https://github.com/boettiger-lab/agent-skills/archive/main.zip#github-rulesets

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.