跳到正文
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.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md4.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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月19日 更新

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

中文简介正在准备中。当前显示原文说明。

garochee33/DSH42026年10月19日 更新

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月19日 更新

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月19日 更新

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月19日 更新

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月19日 更新

查看 garochee33 的全部技能

报告此技能的问题