本文へ移動
cccskills
無料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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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"

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

ai-sdk

無料

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.

日本語の概要は準備中です。原文の説明を表示しています。

garochee33/DSH42026年10月9日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

garochee33/DSH42026年10月9日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

garochee33/DSH42026年10月9日 更新

best-of-n

無料

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".

日本語の概要は準備中です。原文の説明を表示しています。

garochee33/DSH42026年10月9日 更新

check

無料

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".

日本語の概要は準備中です。原文の説明を表示しています。

garochee33/DSH42026年10月9日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

garochee33/DSH42026年10月9日 更新

garochee33 のスキルをすべて見る

このスキルの問題を報告する