360 Secure SkillHub
360 安全技能中心

github-repo

核心功能涵盖三类:一是生成GitHub Actions工作流,配置Dependabot按依赖类型分组;二是设置CodeRabbit、Copilot、PR/issue模板、CODEOWNERS及分支保护等集成;三是验证github-flow所需的仓库前置条件。适用于仓库初始化、CI/CD搭建、合规检查场景,通过指令式输入完成配置或获取验证结果。

drumrobot
drumrobot
热度 25.95
最近更新 2026-09-18 23:56:57
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:代码生成 / DevOps / 自动化脚本 / API 集成 ...

安装技能

复制下面的话术发给你的 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.