Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计提醒

github-opsGitHub OPS 工具

Agent Skill

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

总安装

541

周安装

23

GitHub Stars

17

下载量

190
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jstarfilms/vibecode-protocol-suite --skill github-ops

简介

用于围绕 GitHub 仓库提供协作辅助。

  • 适合查询项目状态和整理变更事项。
  • 需区分只读查询和写入操作权限。
  • 安装命令:npx skills add https://github.com/jstarfilms/vibecode-protocol-suite --skill github-ops
  • 适用于 Codex、Claude、Cursor 和 Gemini CLI 环境。

SKILL.md

GitHub Ops Skill

Complete GitHub automation toolkit using the gh CLI. Covers issue management, project boards, label systems, and bulk operations.

When to Use

  • User mentions "GitHub issues", "project board", or "gh cli"
  • Setting up automation for a new repo
  • Bulk-creating issues from markdown specs
  • Managing GitHub Projects (v2)

Prerequisites

# Install GitHub CLI
winget install GitHub.cli   # Windows
brew install gh             # macOS

# Authenticate
gh auth login

# Verify
gh auth status

1. Bulk Issue Sync (publish_issues.ps1)

Location: $env:USERPROFILE\.gemini\antigravity\skills\github-ops\scripts\publish_issues.ps1

[!TIP] The script auto-detects the repository from the current working directory. Just cd to your project folder before running.

Features

FeatureDescription
Smart SyncOnly processes files that changed since last run (uses .issue-sync-state.json)
Auto-CloseCloses issue when all checkboxes (- [x]) are ticked
Auto-ArchiveMoves completed .md files to closed/ subfolder
Natural SortProcesses Issue_1, Issue_2... Issue_10 (not 1, 10, 11)
Date SyncSets Start/Target dates on GitHub Projects

Required Flags

FlagRequired?Description
(none)-Creates new issues only (skips existing)
-UpdateFor syncUpdates existing issues
-AutoArchiveOptionalMoves completed issues to closed/ folder
-DryRunOptionalPreview mode - no changes made
-ForceOptionalBypass change detection, sync all files

Project Date Sync Flags (ALL required with -SyncDates)

FlagDescriptionHow to Get
-SyncDatesEnable date syncJust add the flag
-ProjectNumberProject board numbergh project list --owner USERNAME
-ProjectIdProject node IDSee below
-StartDateFieldIdStart Date field IDSee below
-TargetDateFieldIdTarget Date field IDSee below

How to Get Project IDs

# 1. List projects to get project number
gh project list --owner USERNAME

# 2. Get field IDs (replace NUMBER with project number)
gh project field-list NUMBER --owner USERNAME --format json

Look for "Start Date" and "Target Date" in the JSON output. If they don't exist:

gh project field-create NUMBER --owner USERNAME --name "Start Date" --data-type DATE
gh project field-create NUMBER --owner USERNAME --name "Target Date" --data-type DATE

Agent Protocol: Before Running This Script

ALWAYS ask the user:

  1. "Do you want to sync to a GitHub Project with dates?"

- If YES → Need all project IDs - If NO → Skip -SyncDates flag

  1. "Should completed issues be archived to a closed/ subfolder?"

- If YES → Add -AutoArchive

  1. "First run or update existing?"

- First run → No flags needed (or just -AutoArchive) - Update → Add -Update

ALWAYS run with -DryRun first to preview changes.

Example Commands

# Basic: Create new issues only
powershell -ExecutionPolicy Bypass -File .agent/skills/github-ops/scripts/publish_issues.ps1

# Dry run preview
powershell -ExecutionPolicy Bypass -File .agent/skills/github-ops/scripts/publish_issues.ps1 -Update -DryRun

# Update + archive completed
powershell -ExecutionPolicy Bypass -File .agent/skills/github-ops/scripts/publish_issues.ps1 -Update -AutoArchive

# Full sync with project dates
powershell -ExecutionPolicy Bypass -File .agent/skills/github-ops/scripts/publish_issues.ps1 `
    -Update -AutoArchive -SyncDates `
    -ProjectNumber 7 `
    -ProjectId "PVT_xxx" `
    -StartDateFieldId "PVTF_xxx" `
    -TargetDateFieldId "PVTF_yyy"

2. Bulk Add Issues to Project

To quickly add all existing issues to a project (faster than using the sync script):

# Get issue numbers first
$issues = gh issue list --repo OWNER/REPO --state all --limit 500 --json number | ConvertFrom-Json

# Add each to project
$issues | ForEach-Object {
    gh project item-add PROJECT_NUMBER --owner OWNER --url "https://github.com/OWNER/REPO/issues/$($_.number)"
}

3. Quick Commands Reference

TaskCommand
List issuesgh issue list
Create issuegh issue create --title "X" --body "Y" --label "bug"
Close issuegh issue close 42 --comment "Fixed"
Delete issuegh issue delete 42 --yes
List labelsgh label list
Create labelgh label create "priority:high" --color "FF0000"
List projectsgh project list --owner OWNER
Get project fieldsgh project field-list NUMBER --owner OWNER --format json
Add to projectgh project item-add NUMBER --owner OWNER --url ISSUE_URL

4. Supported Issue Markdown Formats

Format A: YAML Frontmatter (Recommended)

---
title: "[Feature] Clear Issue Title"
labels: enhancement, priority-high, module-name
---

## Acceptance Criteria
- [ ] AC1
- [ ] AC2

Format B: Bold Markdown

**Title:** [Feature] Clear Issue Title
**Labels:** `enhancement`, `priority-high`

## Acceptance Criteria
- [ ] AC1

Format C: Markdown Headers

## Title
[Feature] Clear Issue Title

## Labels
`enhancement`, `priority-high`

5. Label System Setup

# Priority
gh label create "priority-critical" --color "b60205"
gh label create "priority-high" --color "d93f0b"
gh label create "priority-medium" --color "fbca04"
gh label create "priority-low" --color "0e8a16"

# Type
gh label create "type-feature" --color "0e8a16"
gh label create "type-bug" --color "d73a4a"
gh label create "type-refactor" --color "a2eeef"

# Scope
gh label create "MUS" --color "5319e7" --description "Minimum Usable Scope"
gh label create "future-scope" --color "bfdadc"

6. Troubleshooting

IssueCauseSolution
gh: command not foundCLI not installedwinget install GitHub.cli
authentication requiredNot logged ingh auth login
Quote errors in titlesSpecial charsScript auto-replaces " with '
"No files changed"Already syncedUse -Force flag
Project commands failWrong IDsRun gh project field-list
Rate limitingToo many API callsWait or use -DryRun

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.45%
按下载量换算67

Claude

29.69%
按下载量换算56

Cursor

18.09%
按下载量换算34

Gemini CLI

8.84%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills