Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gh-workflow

БесплатноБез исполняемых скриптовНе проверен

GitHub CLI (gh) workflow automation for repository management, issue tracking, pull request workflows, GitHub Actions debugging, GitHub Projects (multi-repo…

nasrulhazimот nasrulhazim★ 26 звёзд на GitHub

Об этом скилле

GitHub CLI Workflow

Automate GitHub operations — from issue tracking to release management — using the gh CLI. Assumes gh auth login has been completed.

Command Reference

Command Description
/gh issue Create, list, search, triage, and close issues
/gh pr Create PRs, request reviews, check status, merge
/gh actions List, trigger, watch, and debug workflow runs
/gh repo Create, clone, fork repos; manage settings and visibility
/gh release Create releases with assets, manage downloads
/gh labels Scaffold and sync label sets across repositories
/gh secrets Manage repository and environment secrets and variables
/gh project Create and manage GitHub Projects — boards, custom fields, views, multi-repo tracking
/gh report Generate repository and project reports in HTML, JSON, or Markdown format
/gh api Raw GitHub API calls for advanced operations

1. /gh issue — Issue Management

Create, list, search, and triage GitHub issues.

Create an Issue

gh issue create \
  --title "Bug: login fails with SSO" \
  --body "$(cat <<'EOF'
## Description
Login fails when using SSO provider.

## Steps to Reproduce
1. Click "Login with SSO"
2. Complete SSO flow
3. Redirected back with 500 error

## Expected Behaviour
User should be logged in and redirected to dashboard.

## Environment
- Laravel 12.x
- PHP 8.4
- Production
EOF
)" \
  --label "bug,priority:high" \
  --assignee "@me"

List and Filter Issues

# List open issues assigned to me
gh issue list --assignee "@me" --state open

# Search issues with filters
gh issue list --label "bug" --state open --limit 50

# Search across repos with query
gh search issues "login SSO" --repo owner/repo --state open

# JSON output for scripting
gh issue list --json number,title,labels,assignees --jq '.[] | "\(.number) \(.title)"'

Triage Workflow

# Add labels to an issue
gh issue edit 123 --add-label "priority:high,bug"

# Assign an issue
gh issue edit 123 --add-assignee "username"

# Add to a milestone
gh issue edit 123 --milestone "v2.0"

# Add a comment
gh issue comment 123 --body "Investigating — likely related to #120"

# Close with reason
gh issue close 123 --reason "completed" --comment "Fixed in #125"

Issue Templates

Create .github/ISSUE_TEMPLATE/bug_report.yml:

name: Bug Report
description: Report a bug or unexpected behaviour
labels: ["bug", "triage"]
body:
  - type: textarea
    id: description
    attributes:
      label: Description
      description: What happened?
    validations:
      required: true
  - type: textarea
    id: steps
    attributes:
      label: Steps to Reproduce
      description: How can we reproduce this?
    validations:
      required: true
  - type: textarea
    id: expected
    attributes:
      label: Expected Behaviour
      description: What should have happened?
    validations:
      required: true
  - type: dropdown
    id: severity
    attributes:
      label: Severity
      options:
        - Critical (app unusable)
        - High (major feature broken)
        - Medium (workaround exists)
        - Low (cosmetic / minor)
    validations:
      required: true
  - type: textarea
    id: environment
    attributes:
      label: Environment
      description: "PHP version, Laravel version, OS, browser, etc."

Create .github/ISSUE_TEMPLATE/feature_request.yml:

name: Feature Request
description: Suggest a new feature or improvement
labels: ["enhancement"]
body:
  - type: textarea
    id: problem
    attributes:
      label: Problem
      description: What problem does this solve?
    validations:
      required: true
  - type: textarea
    id: solution
    attributes:
      label: Proposed Solution
      description: How should this work?
    validations:
      required: true
  - type: textarea
    id: alternatives
    attributes:
      label: Alternatives Considered
      description: What other approaches did you consider?

See references/gh-issue-patterns.md for advanced search queries and bulk operations.


2. /gh pr — Pull Request Workflow

Create, review, check status, and merge pull requests.

Create a Pull Request

# Basic PR creation
gh pr create \
  --title "feat(auth): add SSO login support" \
  --body "$(cat <<'EOF'
## Summary
- Add SSO authentication via SAML 2.0
- Support Azure AD and Okta providers
- Auto-provision users on first login

## Test plan
- [ ] SSO login flow with Azure AD
- [ ] SSO login flow with Okta
- [ ] User auto-provisioning
- [ ] Fallback to standard login

🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)" \
  --reviewer "teammate1,teammate2" \
  --label "feature" \
  --milestone "v2.0"

# Create draft PR
gh pr create --title "wip: SSO support" --draft

# Create PR targeting a specific base branch
gh pr create --base develop --title "feat: SSO support"

Review Workfl

Полный SKILL.md на GitHub

Установить gh-workflow в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/gh-actions-patterns.mdreferences/gh-api-recipes.mdreferences/gh-issue-patterns.mdreferences/gh-pr-patterns.mdreferences/gh-project-patterns.mdreferences/gh-repo-management.mdreferences/gh-report-patterns.md

FAQ

Что делает скилл gh-workflow?

GitHub CLI (gh) workflow automation for repository management, issue tracking, pull request workflows, GitHub Actions debugging, GitHub Projects (multi-repo boards with custom fields, views, and workflows), label management, secrets handling, and advanced API operations. Complements git-workflow by covering GitHub-specific operations via the gh CLI. Trigger: "create issue", "list PRs", "check workflow status", "manage labels", "set up repo", "manage secrets", "gh api", "review PR", "merge PR", "create release with assets", "debug actions", "fork repo", "create project", "manage project board", "add to project", "project status", "generate report", "repo report", "activity report", "contributor report". BM: "buat issue", "senarai PR", "semak status workflow", "urus label", "sediakan repo", "urus secrets", "semak PR", "gabung PR", "buat release", "debug actions", "fork repo", "buat project", "urus project board", "tambah ke project", "status project", "jana laporan", "laporan repo", "laporan aktiviti".

Как установить скилл gh-workflow?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gh-workflow запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gh-workflow с