360 Secure SkillHub
360 安全技能中心

github-repo

面向 GitHub 仓库的配置与核验技能,分三个主题:actions 生成 GitHub Actions 工作流并按依赖类型分组 Dependabot;setup 配置 CodeRabbit、Copilot、issue/PR 模板、CODEOWNERS、分支保护等集成;verify 核验仓库是否满足 github-flow 所需前置条件(远端、默认分支、PR 模板、分支保护、Actions、CO…

drumrobot
drumrobot
热度 26.12
最近更新 2026-09-18 23:56:57
分类:开发依赖:读写文件 / 代码执行 / 第三方 API应用场景:DevOps / 代码生成 / 工作流 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add github-repo
Metadata
name
github-repo
metadata
{"author":"es6kr","version":"0.1.0"}
depends-on
["github-flow"]
description
GitHub repository configuration and verification. Topics — actions (GitHub Actions workflow generation + Dependabot grouping by dependency type), setup (integrations: CodeRabbit, Copilot, issue/PR templates, CODEOWNERS, branch protection), verify (repo prerequisites checklist for github-flow: remote, default branch, PR template, branch protection, GitHub Actions, CONTRIBUTING, LICENSE). Use when: "github actions", "workflow generation", "CI workflow", "dependabot", "dependabot groups", "coderabbit", "copilot setup", "GitHub Actions", "repo setup", "CODEOWNERS", "PR template", "issue template", "branch protection", "repo verify".
allowed-tools
["Read","Edit","Write","Bash(gh:*)","Bash(git:*)","Bash(ls:*)","Bash(mkdir:*)"]

GitHub Repo

GitHub repository configuration, integrations, and prerequisite verification.

Extracted from the github skill (formerly skills/github/) and tracked under skills/github-repo/ (repo-relative path — the repo root itself is checked out at ~/.agents/) for git management.

Topics

Topic Description Guide
actions GitHub Actions workflow generation/management + Dependabot configuration (groups by dependency type) actions.md
setup Integrations setup: CodeRabbit, Copilot, issue templates, PR template, CODEOWNERS, branch protection setup.md
verify Repo prerequisites checklist for github-flow (remote, branch, templates, CI, protection) verify.md

Quick Reference

Repository initial setup

/github-repo setup                    # interactive setup item selection
/github-repo setup coderabbit         # CodeRabbit only
/github-repo setup copilot            # Copilot setup
/github-repo setup templates          # issue/PR templates
/github-repo setup protection         # branch protection

Configuration verification

/github-repo verify                   # full prerequisites check

Actions workflows + Dependabot

/github-repo actions                  # generate workflow for project type
/github-repo actions dependabot       # create/update dependabot.yml

Migration Note

This skill was extracted from the github skill (skills/github/, gitignored). The old /github actions, /github setup, /github verify triggers are replaced by /github-repo actions, /github-repo setup, /github-repo verify.