rosshamish/kuskus/kuskus-branch-protection

Claude Code and agent skill by rosshamish/kuskus

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Master branch protection rules, bypass policy, and how to modify when needed

Install

npx vskill@latest install rosshamish/kuskus/kuskus-branch-protection

SKILL.md

Kuskus Branch Protection

Master is protected by a GitHub Ruleset (not classic branch protection). All changes must go through a PR. No external approval required — the maintainer (rosshamish) reviews and merges their own PRs.


What's Active

Ruleset: "Protect master" (ID: 13087704) URL: https://github.com/rosshamish/kuskus/rules/13087704

Rules
  • No deletion of master
  • No force pushes
  • Pull request required — 0 required approvals (maintainer self-merges); dismiss stale reviews on push
Bypass actors
  • Repository admin role (bypass_mode: always) — this covers:
  • You (rosshamish), pushing directly via PAT or CLI
  • CI workflows using TOKEN_GITHUB (your admin PAT) — version bump pushes work
What is blocked
  • Direct pushes from non-admins
  • Direct pushes from non-admins (PRs required, no approval gating)
  • Workflows using GITHUB_TOKEN (write-level, not admin) pushing to master directly

Diagnose Current State

bash
# View current ruleset configuration
gh api repos/rosshamish/kuskus/rulesets/13087704 | python3 -m json.tool
# List all rulesets
gh api repos/rosshamish/kuskus/rulesets | python3 -m json.tool

Or via the UI: https://github.com/rosshamish/kuskus/rules/13087704


Destructive Operations

Ruleset deletion, enforcement changes, and protection bypass are documented in a private runbook. Contact the maintainer.


Why Ruleset, Not Classic Branch Protection

Classic branch protection doesn't support bypass actors on personal (non-org) repos. Rulesets work everywhere and are more flexible.


CI Version Bump Compatibility

The publish workflows use GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }} (rosshamish's admin PAT) for the version bump commit. Since admin bypasses the ruleset, version bump pushes to master continue to work without change.

If TOKEN_GITHUB is ever rotated/revoked, re-add the new PAT as the secret in repo settings, or switch to a deploy key with admin access.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
50
Repository forks
13
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rosshamish/kuskus/kuskus-branch-protection/badge)](https://verified-skill.com/skills/rosshamish/kuskus/kuskus-branch-protection)

Something wrong with this skill or its page? Tell us.