Skip to content
cccskills
FreePublished on GitHub

github

GitHub repository management — triage PRs/issues, check Actions status, manage branch protection, tag releases, housekeeping (stale branches, stashes), CODEOWNERS, badges, and repo hardening. Use when the user asks about GitHub, PRs, CI/CD status, repo health, branch protection, releases, or any GitHub operations.

The English summary is being prepared. Showing the original description.

Works withGitHub
See how to install

Files included (1)

  • SKILL.md4.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

GitHub

Overview

Umbrella entrypoint for all GitHub repository work. Handles triage, repo-ops, hardening, and routes to specialist skills when needed.

This skill is intentionally hybrid:

  • Prefer gh CLI for Actions, branch protection, releases, API calls, and repo management.
  • Use local git for branch state, stashes, unpushed commits, and local housekeeping.
  • Route to specialist skills for narrow workflows (review, CI debug, publish).

Core Capabilities

1. Actions / CI-CD Health

  • gh run list — check workflow status (green/red/in-progress)
  • gh run view <id> --log-failed — diagnose failures
  • Verify full pipeline: CI → CD (deploy) chain
  • Concurrency configuration audit

2. Branch Protection

  • Enable/disable via gh api repos/{owner}/{repo}/branches/{branch}/protection
  • Required status checks (strict mode)
  • Force-push and deletion prevention
  • Enforce admins toggle
  • PR review requirements

3. Release Management

  • gh release create — tag from current main with changelog
  • Semantic versioning (vMAJOR.MINOR.PATCH)
  • Release notes from recent commits
  • Rollback anchors for production deploys

4. Repository Housekeeping

  • Stale remote branches: gh api + git remote prune
  • Local stashes: git stash list / git stash clear
  • Unpushed commits: git log origin/main..HEAD
  • Dangling refs and orphan branches

5. CODEOWNERS & Governance

  • Create/update .github/CODEOWNERS
  • Map ownership by directory (server/, client/, .github/, infra/)
  • Validate CODEOWNERS syntax

6. Secret Scanning & Security

  • Enable GitHub native secret scanning (if plan supports)
  • Verify gitleaks workflow presence as fallback
  • Dependabot configuration (.github/dependabot.yml)

7. Status Badges

  • CI/Deploy/Security badges in README
  • Badge format: [![Name](url/badge.svg)](url)

8. PR & Issue Triage

  • Open PR list with status
  • Issue summarization
  • PR patch inspection
  • Comments, labels, reactions

Routing Rules

  1. Resolve context: repo from user input, URL, or local git remote -v
  2. Classify:
    • health check → Actions status, branch protection audit
    • hardening → protection rules, CODEOWNERS, dependabot, badges
    • housekeeping → stale branches, stashes, dangling refs
    • release → tag, changelog, version bump
    • triage → PRs, issues, patches, comments
    • review follow-up → route to gh-address-comments
    • CI debugging → route to gh-fix-ci
    • publish → route to yeet
  3. Execute with confirmation for destructive ops (force-push, branch delete, stash clear)

Command Reference

# Actions
gh run list --repo OWNER/REPO --limit 10
gh run view RUN_ID --log-failed

# Branch Protection
gh api repos/OWNER/REPO/branches/main/protection -X PUT --input protection.json
gh api repos/OWNER/REPO/branches/main/protection  # GET current

# Releases
gh release create vX.Y.Z --target main --title "title" --notes "notes"
gh release list --repo OWNER/REPO

# Branches
gh api repos/OWNER/REPO/branches --jq '.[].name'
gh api repos/OWNER/REPO/git/refs/heads/BRANCH -X DELETE

# Secret Scanning
gh api repos/OWNER/REPO -X PATCH -f security_and_analysis='{"secret_scanning":{"status":"enabled"}}'

# Housekeeping
git remote prune origin
git stash list / git stash clear
git log origin/main..HEAD --oneline

Hardening Checklist

When user asks to "harden" or "audit" a repo, run through:

  • Branch protection enabled on default branch
  • CI required to pass before merge
  • Force-push disabled
  • CODEOWNERS file present
  • Dependabot or Renovate configured
  • Secret scanning (native or gitleaks)
  • At least one tagged release
  • No stale branches
  • Status badges in README
  • Concurrency configured in CI workflow

Output Expectations

  • Health checks: table of workflow statuses with ✅/❌/🔄
  • Hardening: checklist with pass/fail and remediation commands
  • Housekeeping: list of items cleaned with before/after state
  • Releases: link to created release
  • Always end with clear summary of what changed

Examples

  • "Check if CI/CD is green"
  • "Harden this repo"
  • "Any stale branches or open PRs?"
  • "Tag a release"
  • "Enable branch protection"
  • "Add status badges to README"
  • "Run the full housekeeping pass"

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ai-sdk

Free

Vercel AI SDK expert guidance. Use when building AI-powered features — chat interfaces, text generation, structured output, tool calling, agents, MCP integration, streaming, embeddings, reranking, image generation, or working with any LLM provider.

The English summary is being prepared. Showing the original description.

garochee33/DSH4Updated Oct 12, 2026

Algorithm design and analysis skill for DSH; use when working on optimization, data structures, or computational procedures.

The English summary is being prepared. Showing the original description.

garochee33/DSH4Updated Oct 12, 2026

Design and implement scalable API gateways, RESTful APIs, GraphQL endpoints, WebSocket handlers, and microservice communication patterns. Use when creating API routes, designing endpoints, implementing middleware, or setting up service mesh architectures.

The English summary is being prepared. Showing the original description.

garochee33/DSH4Updated Oct 12, 2026

Implement a task N ways in parallel and pick the best. Spawns multiple subagents in isolated worktrees, evaluates all candidates, and applies the winner. Use when asked to "best of n", "try multiple approaches", "parallel implementations", "/best-of-n", or "/bon".

The English summary is being prepared. Showing the original description.

garochee33/DSH4Updated Oct 12, 2026

check

Free

Check your work with a verification subagent. Spawns a verifier that reviews diffs, runs builds and tests, and evaluates correctness. Use when asked to "check work", "verify changes", "self-verify", "/check", "/verify", "/check-work", or "/self-verify".

The English summary is being prepared. Showing the original description.

garochee33/DSH4Updated Oct 12, 2026

CI/CD pipeline design, GitHub Actions workflows, deployment automation, infrastructure as code, and release management. Use when setting up CI/CD, automating deployments, configuring build pipelines, or managing releases.

The English summary is being prepared. Showing the original description.

garochee33/DSH4Updated Oct 12, 2026

See all skills by garochee33

Report a problem with this skill