본문으로 건너뛰기
cccskills
무료GitHub에 공개

github-operations

Manage GitHub pull requests, which propose code changes, and issues through a central MCP server. Create and update records, add comments, request reviewers, check changed files and automated checks, and merge pull requests.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

管理 GitHub Pull Request 和 Issue。包括创建/更新/合并 PR、添加评论、管理 Issue 等。注意:文件读写、分支操作、代码提交等请使用 git-delegation 技能。

연동 도구GitHub
설치 방법 보기

이럴 때 유용합니다

  • Creating or updating pull requests
  • Checking changed files and automated check status
  • Requesting reviewers and adding review comments
  • Creating, updating, or closing issues

포함된 파일(1)

  • SKILL.md8.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

GitHub PR & Issue Management

Overview

This skill allows you to manage Pull Requests and Issues via the centralized MCP Server. For git operations (clone, pull, push, commit, branch), use the git-delegation skill instead.

Environment Variables

No environment variables needed — mcporter reads its config from the default path ./config/mcporter.json automatically.

TaskUse This SkillUse git-delegation
Create/update/close PR✅
Review/merge PR✅
Comment on PR/Issue✅
Create/update/close Issue✅
Clone repository✅
Pull/fetch changes✅
Read/write files✅
Create branches✅
Commit/push code✅

How to Call GitHub Tools

Use mcporter CLI to call MCP Server tools:

# Method 1: key=value format (recommended for simple args)
mcporter \
  call mcp-github.<TOOL_NAME> key1=value1 key2=value2

# Method 2: JSON format with --args flag (for complex objects)
mcporter \
  call mcp-github.<TOOL_NAME> --args '{"key1":"value1","key2":"value2"}'

IMPORTANT:

  • Always place --config BEFORE the call subcommand
  • For JSON arguments, use the --args flag (not bare JSON string)
  • Use mcp-github.<tool_name> selector format

Output

mcporter returns JSON output. Parse with jq for clean results.


Pull Request Operations

create_pull_request

Create a new Pull Request:

mcporter \
  call mcp-github.create_pull_request --args '{
    "owner": "higress-group",
    "repo": "agentteams",
    "title": "Add new feature",
    "body": "## Summary\n- Change 1\n- Change 2\n\n## Test plan\n- [ ] Test A\n- [ ] Test B",
    "head": "feature-branch",
    "base": "main"
  }'

list_pull_requests

List PRs in a repository:

mcporter \
  call mcp-github.list_pull_requests owner=higress-group repo=agentteams state=open

get_pull_request

Get details of a specific PR:

mcporter \
  call mcp-github.get_pull_request owner=higress-group repo=agentteams pull_number=1

update_pull_request

Update PR title, body, or state:

mcporter \
  call mcp-github.update_pull_request --args '{
    "owner": "higress-group",
    "repo": "agentteams",
    "pull_number": 1,
    "title": "Updated title",
    "body": "Updated description"
  }'

merge_pull_request

Merge a PR:

mcporter \
  call mcp-github.merge_pull_request owner=higress-group repo=agentteams pull_number=1 merge_method=squash

get_pull_request_files

List files changed in a PR:

mcporter \
  call mcp-github.get_pull_request_files owner=higress-group repo=agentteams pull_number=1

get_pull_request_status

Get CI status of a PR:

mcporter \
  call mcp-github.get_pull_request_status owner=higress-group repo=agentteams pull_number=1

request_reviewers

Request reviewers for a PR:

mcporter \
  call mcp-github.request_reviewers --args '{
    "owner": "higress-group",
    "repo": "agentteams",
    "pull_number": 1,
    "reviewers": ["reviewer-username"]
  }'

PR Comments & Reviews

add_issue_comment (general PR comments)

Add a general comment to a PR (PRs are also issues):

mcporter \
  call mcp-github.add_issue_comment owner=higress-group repo=agentteams issue_number=1 body="LGTM! Great work."

list_issue_comments

List comments on a PR:

mcporter \
  call mcp-github.list_issue_comments owner=higress-group repo=agentteams issue_number=1

create_pull_request_review_comment

Comment on a specific code line in a PR:

# First get the latest commit SHA from the PR
PR_DATA=$(mcporter \
  call mcp-github.get_pull_request owner=higress-group repo=agentteams pull_number=1)
COMMIT_SHA=$(echo "$PR_DATA" | jq -r '.head.sha')

# Create a review comment
mcporter \
  call mcp-github.create_pull_request_review_comment --args '{
    "owner": "higress-group",
    "repo": "agentteams",
    "pull_number": 1,
    "body": "Consider using a helper function here.",
    "commit_id": "'"$COMMIT_SHA"'",
    "path": "src/utils/helpers.ts",
    "line": 42,
    "side": "RIGHT"
  }'

get_pull_request_comments

List all review comments on a PR:

mcporter \
  call mcp-github.get_pull_request_comments owner=higress-group repo=agentteams pull_number=1

get_pull_request_reviews

List reviews on a PR:

mcporter \
  call mcp-github.get_pull_request_reviews owner=higress-group repo=agentteams pull_number=1

Issue Operations

create_issue

Create a new issue:

mcporter \
  call mcp-github.create_issue owner=higress-group repo=agentteams title="Bug report" body="Description..."

list_issues

List issues in a repository:

mcporter \
  call mcp-github.list_issues owner=higress-group repo=agentteams state=open

get_issue

Get details of a specific issue:

mcporter \
  call mcp-github.get_issue owner=higress-group repo=agentteams issue_number=1

update_issue

Update issue title, body, state, or labels:

mcporter \
  call mcp-github.update_issue --args '{
    "owner": "higress-group",
    "repo": "agentteams",
    "issue_number": 1,
    "title": "Updated title",
    "state": "closed"
  }'

add_issue_comment

Add a comment to an issue:

mcporter \
  call mcp-github.add_issue_comment owner=higress-group repo=agentteams issue_number=1 body="Comment text"

list_issue_comments

List comments on an issue:

mcporter \
  call mcp-github.list_issue_comments owner=higress-group repo=agentteams issue_number=1

Labels

list_labels

List labels in a repository:

mcporter \
  call mcp-github.list_labels owner=higress-group repo=agentteams

get_label

Get details of a label:

mcporter \
  call mcp-github.get_label owner=higress-group repo=agentteams name=bug

Search Operations

search_issues

Search issues and PRs:

mcporter \
  call mcp-github.search_issues q="is:issue is:open repo:agentscope-ai/AgentTeams"

search_code

Search code in repositories:

mcporter \
  call mcp-github.search_code q="function handleAuth repo:agentscope-ai/AgentTeams"

search_repositories

Search repositories:

mcporter \
  call mcp-github.search_repositories query="agentteams language:go"

search_users

Search users:

mcporter \
  call mcp-github.search_users q="john location:shanghai"

Utility Operations

get_me

Get current authenticated user:

mcporter \
  call mcp-github.get_me

list_notifications

List notifications:

mcporter \
  call mcp-github.list_notifications all=false

list_teams

List teams in an organization:

mcporter \
  call mcp-github.list_teams

list_team_members

List members of a team:

mcporter \
  call mcp-github.list_team_members org=higress-group team_slug=core-team

Known Issues

  • create_pull_request_review: Has a template processing bug. For adding PR review comments, use:
    • General PR comment: Use add_issue_comment
    • Comment on specific code line: Use create_pull_request_review_comment

Important Notes

  • Transport: The MCP Server uses HTTP transport (configured in mcporter-servers.json)
  • Auth: HTTP endpoint requires Authorization header with Bearer token (auto-configured)
  • Rate limits: GitHub API rate limits apply. If you get 403 responses, wait and retry
  • Permissions: Your MCP access is controlled by the Manager. If you get 403 from the MCP Server, the Manager may need to re-authorize your access

Typical Workflow

  1. Clone & modify → Use git-delegation skill
  2. Push changes → Use git-delegation skill
  3. Create PR → Use create_pull_request (this skill)
  4. Review PR → Use add_issue_comment, create_pull_request_review_comment (this skill)
  5. Merge PR → Use merge_pull_request (this skill)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Find worker agents in Nacos that match a task, recommend candidates, and import the administrator's chosen worker. It also supports importing a specified nacos package URI, with worker name confirmation and direct reporting of installation failures.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find a suitable worker for an unassigned task
  • Compare Nacos worker candidates before importing
  • Import a worker from a specified nacos package URI
agentscope-ai/AgentTeams5.8천2026년 10월 17일 업데이트

Prepare an existing OpenClaw setup for import as an AgentTeams managed Worker. Analyze tool dependencies, adapt role instructions and scheduled jobs, and build a ZIP package containing the configuration and custom image requirements.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Moving standalone OpenClaw into AgentTeams
  • Reviewing required tool dependencies
  • Adapting role instructions for a Worker
agentscope-ai/AgentTeams5.8천2026년 10월 17일 업데이트

Manage communication channels by identifying senders, maintaining trusted contacts, and setting the administrator's primary notification destination. It also covers first contact on a new channel and contacting the administrator across channels, with rules for handling unknown senders.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Identify who sent a message in a room
  • Add or remove trusted contacts
  • Configure the administrator's primary notification channel
agentscope-ai/AgentTeams5.8천2026년 10월 17일 업데이트

Prepare coding tasks for delegation to an authorized agent’s AI command-line tool. Set up and synchronize the workspace, write precise change requests, then review returned changes and run relevant checks before reporting completion.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Delegating code implementation or bug fixes to an AI CLI
  • Writing coding requests with clear acceptance criteria
  • Reviewing and testing changes returned by a CLI
agentscope-ai/AgentTeams5.8천2026년 10월 17일 업데이트

Run AI coding command-line tools on behalf of worker agents using their prepared prompts and workspaces. Detect available tools, configure delegation, return results, and apply supported execution controls such as time budgets and permission settings.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Running coding tools for worker agents
  • Detecting and selecting available coding CLIs
  • Setting Qwen Code permissions and time budgets
agentscope-ai/AgentTeams5.8천2026년 10월 17일 업데이트

Guide agent replies in Matrix chat rooms, including when to mention a coordinator, report completion, raise blockers, or answer questions. The rules limit repetitive acknowledgments and stop exchanges that add no new task, question, or decision.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reporting task completion to a coordinator
  • Raising blockers or questions that need action
  • Reducing repetitive acknowledgments
agentscope-ai/AgentTeams5.8천2026년 10월 17일 업데이트

agentscope-ai의 스킬 모두 보기

이 스킬의 문제 신고