🐙

github

Baixo Risco ⚙️ Comandos externos🌐 Acesso à rede📁 Acesso ao sistema de arquivos

使用 gh CLI 自动化 GitHub 工作流

Também disponível em: Dicklesworthstone

通过网页界面手动管理 GitHub 仓库既耗时又会打断开发流程。此技能可让你在终端中通过 gh CLI 直接进行顺畅的 GitHub 操作,自动化 PR、issue 和工作流。

Suporta: Claude Codex Code(CC)
📊 69 Adequado
1

Baixar o ZIP da skill

2

Upload no Claude

Vá em Configurações → Capacidades → Skills → Upload skill

3

Ative e comece a usar

Testar

A utilizar "github". List open pull requests

Resultado esperado:

  • Found 3 open pull requests:
  • • #142: Update dependencies (draft) - opened 2 days ago by dependabot
  • • #141: Add dark mode support - opened 5 days ago by sarah
  • • #138: Fix memory leak in cache - opened 1 week ago by mike

A utilizar "github". Check workflow status

Resultado esperado:

  • Recent workflow runs:
  • • #456: Build and test - failed (2 hours ago) - View logs: gh run view 456 --log
  • • #455: Lint code - success (5 hours ago)
  • • #454: Build and test - success (1 day ago)

Auditoria de Segurança

Baixo Risco
v5 • 1/17/2026

This skill is documentation-only for the GitHub CLI tool. All 55 static findings are false positives caused by the analyzer misinterpreting documentation metadata and GitHub terminology as security issues. The skill enables safe gh CLI command execution through the official GitHub CLI tool.

2
Arquivos analisados
326
Linhas analisadas
3
achados
5
Total de auditorias

Fatores de risco

⚙️ Comandos externos (1)
🌐 Acesso à rede (1)
📁 Acesso ao sistema de arquivos (1)
Auditado por: claude Ver Histórico de Auditoria →

Pontuação de qualidade

38
Arquitetura
100
Manutenibilidade
85
Conteúdo
31
Comunidade
90
Segurança
91
Conformidade com especificações

O Que Você Pode Construir

简化 PR 流程

创建 PR、请求评审并合并更改,无需离开终端

监控 CI/CD 流水线

从命令行检查工作流状态、查看日志并重试失败任务

管理贡献

高效审查 issue、评论 PR 并分流 bug 报告

Tente Estes Prompts

创建 PR
Create a pull request with title "Fix navigation bug" and description "Updates the header component to handle mobile menu toggle properly"
列出 issue
Show all open issues assigned to me in the current repository
检查工作流
List recent workflow runs and show any that failed
API 查询
Use the GitHub API to get all comments on pull request #123

Melhores Práticas

  • 始终在操作前用 'gh auth status' 验证认证状态
  • 对多行 PR 描述使用 HEREDOC 语法以保留格式
  • 在创建 PR 前用 'git status' 检查是否有未提交更改

Evitar

  • 不要在脚本中硬编码仓库名称 - 请改用变量
  • 避免创建没有描述的 PR - 始终提供上下文
  • 不要忽略 CI 失败 - 合并前先检查工作流状态

Perguntas Frequentes

这与 GitHub Enterprise 兼容吗?
是的,正确配置后 gh CLI 可与 GitHub Enterprise 一起使用
速率限制是多少?
GitHub API 对已认证用户每小时允许 5000 次请求
我能在其他 Git 平台上使用吗?
不可以,此技能仅针对 GitHub,无法用于 GitLab 或 Bitbucket
我的认证令牌安全吗?
gh CLI 会在本地安全存储令牌,命令中不会暴露
为什么我的命令会失败?
用 'gh auth status' 检查认证并确保有仓库访问权限
这与 GitHub 网页版相比如何?
CLI 更适合批量操作,并能与开发流程集成

Detalhes do Desenvolvedor

Estrutura de arquivos

📄 SKILL.md