Token导航 LogoToken导航TokenDH.com
运维和基础设施可写文件github未标认证来源可访问clear审计通过

github-expertGitHub expert 运维

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

588

周安装

24

GitHub Stars

4

下载量

190
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:github-expert(GitHub expert 运维)
来源仓库:https://github.com/questfortech-investments/claude-code-skills
仓库路径:skills/github-expert
安装命令:
npx skills add https://github.com/questfortech-investments/claude-code-skills --skill github-expert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/questfortech-investments/claude-code-skills --skill github-expert

简介

扮演 GitHub 专家角色,解答平台使用疑难与最佳实践。

  • 适用于指导 workflow 编写、API 调用限制规避或权限申请。
  • 提供官方文档链接与社区案例,减少试错成本。
  • 不替代人工审核,重大操作仍需用户二次确认。
  • github-expert 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

GitHub Expert

Overview

Transform into a GitHub expert with comprehensive knowledge of GitHub Actions, CI/CD workflows, repository automation, and development best practices. This skill provides everything needed to set up robust CI/CD pipelines, automate repository management, and implement GitHub workflows efficiently.

Core Capabilities

1. GitHub Actions & CI/CD Workflows

Create and manage GitHub Actions workflows for continuous integration and deployment.

Script: scripts/create_workflow.py

Generate production-ready workflow files for common scenarios:

# Node.js CI workflow
python scripts/create_workflow.py ci --type nodejs-ci

# Python CI workflow
python scripts/create_workflow.py ci --type python-ci

# Docker build and push
python scripts/create_workflow.py docker --type docker-build

# Automated releases
python scripts/create_workflow.py release --type release

# Azure deployment
python scripts/create_workflow.py deploy-azure --type deploy-azure

# Dependabot auto-merge
python scripts/create_workflow.py dependabot --type dependabot-auto-merge

Available Templates:

  • nodejs-ci: Node.js testing and building with multiple versions
  • python-ci: Python testing with multiple Python versions
  • docker-build: Docker build and push to GitHub Container Registry
  • release: Automated release creation with changelog
  • deploy-azure: Deploy to Azure App Service
  • dependabot-auto-merge: Auto-merge Dependabot PRs

When to use:

  • Setting up new project CI/CD
  • Adding automated testing
  • Implementing deployment automation
  • Configuring Docker builds
  • Setting up release automation

Reference: references/github_actions_guide.md

Comprehensive guide covering:

  • Workflow syntax and structure
  • Common events and triggers
  • Matrix strategies for multi-platform testing
  • Caching and optimization
  • Secrets management
  • Best practices (pinning actions, minimizing permissions)
  • Troubleshooting common issues
  • Advanced patterns (reusable workflows, composite actions)

When to consult:

  • Learning GitHub Actions syntax
  • Debugging workflow issues
  • Need optimization strategies
  • Security best practices
  • Advanced workflow patterns

2. Repository Automation

Automate repository management with Dependabot and CodeQL.

Assets available:

assets/dependabot.yml Configure automated dependency updates:

  • Weekly updates for npm, GitHub Actions
  • Security updates daily
  • Auto-labels and commit messages
  • Grouped updates to reduce PR noise

Usage:

  1. Copy to .github/dependabot.yml
  2. Customize package ecosystems (npm, pip, docker, etc.)
  3. Adjust update schedule
  4. Set up auto-merge workflow (optional)

assets/codeql-analysis.yml Automated security scanning:

  • Scans on push, PR, and scheduled
  • Multi-language support
  • Automatic vulnerability detection
  • Security alerts integration

Usage:

  1. Copy to .github/workflows/codeql-analysis.yml
  2. Select languages to scan
  3. Enable in repository security settings
  4. Review security alerts regularly

When to use:

  • Keeping dependencies updated
  • Security scanning
  • Vulnerability detection
  • Compliance requirements

3. Pull Request Management

Standardize pull request process with templates.

assets/pull_request_template.md Comprehensive PR template with:

  • Description and change type
  • Related issues linking
  • Testing checklist
  • Deployment notes
  • Review guidelines

Usage:

  1. Copy to .github/pull_request_template.md
  2. Customize sections for your workflow
  3. All new PRs will use this template

Benefits:

  • Consistent PR documentation
  • Ensures testing is done
  • Links issues automatically
  • Improves code review process

4. Issue Management

Create structured issue templates.

assets/bug_report_template.md Bug report template with:

  • Clear bug description
  • Reproduction steps
  • Expected vs actual behavior
  • Environment information
  • Screenshots and logs

Usage:

  1. Create .github/ISSUE_TEMPLATE/
  2. Copy bug_report_template.md there
  3. Create additional templates (feature request, etc.)

Benefits:

  • Consistent bug reports
  • Easier triaging
  • Faster debugging
  • Better user experience

5. Release Automation

Generate release notes automatically.

Script: scripts/generate_release_notes.sh

Generates formatted release notes from git history:

# Generate notes between tags
./scripts/generate_release_notes.sh v1.0.0 v1.1.0

# Generate notes from last tag to HEAD
./scripts/generate_release_notes.sh

# Save to file
./scripts/generate_release_notes.sh > notes.md

# Create GitHub release
gh release create v1.1.0 --notes-file notes.md

Features:

  • Categorizes commits (features, fixes, docs, etc.)
  • Lists contributors
  • Shows statistics
  • Conventional commit support

When to use:

  • Creating releases
  • Publishing changelogs
  • Documenting version changes
  • Communicating updates

Workflow Examples

Example 1: "Set up CI/CD for my Node.js project"

  1. Generate CI workflow: python scripts/create_workflow.py ci --type nodejs-ci
  2. Review generated workflow:

- Check .github/workflows/ci.yml - Verify Node.js versions in matrix - Ensure test scripts match package.json

  1. Add deployment (if needed): python scripts/create_workflow.py deploy --type deploy-azure
  2. Set up secrets: gh secret set AZURE_CREDENTIALS --body "$(az ad sp create-for-rbac --sdk-auth)"
  3. Push and verify:

- Commit workflows - Push to GitHub - Check Actions tab

Example 2: "Enable automated dependency updates"

  1. Add Dependabot config:

- Copy assets/dependabot.yml to .github/dependabot.yml - Customize ecosystems and schedule

  1. Set up auto-merge (optional): python scripts/create_workflow.py dependabot --type dependabot-auto-merge
  2. Configure branch protection:

- Require status checks - Require review for manual PRs - Allow Dependabot to bypass for minor/patch

  1. Monitor:

- Check Insights → Dependency graph - Review Dependabot PRs - Merge or configure as needed

Example 3: "Add security scanning"

  1. Enable CodeQL:

- Copy assets/codeql-analysis.yml to .github/workflows/ - Select languages for your project

  1. Enable security features:

- Settings → Security → Code security and analysis - Enable Dependabot alerts - Enable Dependabot security updates - Enable Secret scanning

  1. Review alerts:

- Check Security tab - Review and fix vulnerabilities - Update dependencies

Example 4: "Standardize PR and issue process"

  1. Add PR template: cp assets/pull_request_template.md.github/pull_request_template.md
  2. Add issue templates: mkdir -p.github/ISSUE_TEMPLATE cp assets/bug_report_template.md.github/ISSUE_TEMPLATE/
  3. Configure branch protection:

- Require PR before merging - Require reviews - Require status checks - Enforce linear history (optional)

  1. Test:

- Create new PR - should show template - Create new issue - should show template options

Example 5: "Create a release with notes"

  1. Generate release notes: ./scripts/generate_release_notes.sh v1.0.0 v1.1.0 > notes.md
  2. Review and edit notes:

- Check categorization - Add highlights - Note breaking changes

  1. Create release: gh release create v1.1.0 --notes-file notes.md
  2. Or use workflow:

- Push tag: git tag v1.1.0 && git push --tags - Workflow creates release automatically

Best Practices

GitHub Actions

  • Pin actions to SHA for security
  • Use caching to speed up workflows
  • Minimize permissions (least privilege)
  • Use concurrency to cancel old runs
  • Enable debug mode for troubleshooting
  • Use reusable workflows for common patterns

Repository Management

  • Enable branch protection on main
  • Require status checks before merge
  • Use CODEOWNERS for auto-assignment
  • Configure auto-merge for trusted automation
  • Regular security audits

CI/CD Pipeline

  • Test on multiple platforms/versions
  • Fail fast (don't waste resources)
  • Cache dependencies appropriately
  • Separate build and deploy jobs
  • Use environments for deployment gates
  • Monitor workflow execution times

Security

  • Never log secrets
  • Use environment secrets, not repository secrets for sensitive data
  • Enable secret scanning
  • Regular dependency updates
  • Use Dependabot security updates
  • Review and rotate tokens regularly

Quick Reference

Common Commands

# Generate workflow
python scripts/create_workflow.py <name> --type <template>

# Generate release notes
./scripts/generate_release_notes.sh [prev-tag] [current-tag]

# GitHub CLI
gh workflow run <workflow-name>
gh run list
gh run watch
gh secret set <name>
gh release create <tag>

File Locations

.github/
├── workflows/          # GitHub Actions workflows
│   ├── ci.yml
│   ├── deploy.yml
│   └── codeql.yml
├── dependabot.yml     # Dependabot configuration
├── CODEOWNERS         # Code ownership
├── pull_request_template.md
└── ISSUE_TEMPLATE/
    ├── bug_report.md
    └── feature_request.md

Common Workflow Events

  • push: Code pushed to branch
  • pull_request: PR opened/updated/closed
  • release: Release published
  • workflow_dispatch: Manual trigger
  • schedule: Cron schedule
  • issues: Issue opened/closed
  • pull_request_target: PR from fork (security)

Reference Documentation

references/github_actions_guide.md

Read when:

  • Learning GitHub Actions
  • Creating custom workflows
  • Debugging workflow issues
  • Need advanced patterns
  • Security questions

Key sections:

  • Quick Reference (syntax, events, common actions)
  • CI/CD Patterns (matrix, caching, conditionals)
  • Secrets Management
  • Best Practices
  • Common Workflows
  • Troubleshooting
  • Advanced Patterns

When NOT to Use This Skill

  • GitLab CI/CD: Different syntax and platform
  • Bitbucket Pipelines: Different platform
  • Jenkins: Self-hosted CI/CD tool
  • GitHub Enterprise Server: May have different features/limitations

For these topics, provide general CI/CD guidance but acknowledge platform differences.

Success Metrics

Your GitHub repository should have:

  • ✅ CI workflow running on PRs
  • ✅ Automated dependency updates
  • ✅ Security scanning enabled
  • ✅ PR template in place
  • ✅ Branch protection configured
  • ✅ All workflows passing
  • ✅ Secrets properly managed
  • ✅ Regular releases with notes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

28.88%
按下载量换算55

Gemini CLI

21.78%
按下载量换算41

Claude Code

15.8%
按下载量换算30

trae

12.87%
按下载量换算24

Codex

6.96%
按下载量换算13

windsurf

3.73%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills