AgentSkillsCN

github-manager

管理GitHub问题、拉取请求以及仓库数据。在需要列出、查看、创建或更新问题与PR,或使用`gh` CLI搜索仓库历史与元数据时使用此功能。

SKILL.md
--- frontmatter
name: github-manager
description: Manage GitHub issues, pull requests, and repository data. Use when you need to list, view, create, or update issues and PRs, or search through repository history and metadata using the `gh` CLI.

GitHub Manager

Overview

This skill provides a structured way to interact with GitHub repositories using the gh CLI. It's designed to streamline issue management, PR reviews, and repository exploration.

Task-Based Capabilities

1. Issue Management

Use these scripts to interact with issues.

  • List Issues: Use scripts/list_issues.sh [label] to see recent issues.
  • Get Comments: Use scripts/get_issue_comments.sh <issue_number> to read the full conversation of an issue.

2. Repository Information

  • View Repo: gh repo view to see the README and general info.
  • Search Code: gh search code <query> to find specific patterns across the repo.

References

See references/gh_cli_cheatsheet.md for a quick guide to common gh commands.