Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)12k · #11566

github

Skill này làm gì

Skill này cho agent tra cứu và quản lý công việc trên GitHub, như pull request, issue và kiểm tra build. Dành cho lập trình viên lưu mã trên GitHub.

Khi nào nên dùng

  • ✓Khi bạn muốn agent hiển thị trạng thái, thay đổi hoặc kiểm tra của một pull request.
  • ✓Khi bạn muốn liệt kê, đọc, tạo hoặc đóng một issue trên GitHub.
  • ✓Khi bạn cần xem các kiểm tra build đã đạt chưa trước một bản phát hành.

Liên kết skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/github/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/github/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hiển thị cho tôi các pull request đang mở trong kho của tôi và các kiểm tra của chúng đã đạt chưa.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent dùng công cụ gh và git để đọc dữ liệu GitHub. Nó chỉ thực hiện các thay đổi như tạo pull request hoặc gộp khi bạn yêu cầu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

GitHub

Use gh for GitHub operations and git for local branches, commits, pulls, and pushes. Use code-reading tools for deep reviews.

Prerequisites

Check authentication before making a GitHub request:

gh auth status

If gh is missing or unauthenticated, explain what is required. Do not invent credentials or expose tokens.

Pull requests

gh pr list --repo owner/repo --json number,title,state,author,url
gh pr view 55 --repo owner/repo --json title,body,author,files,commits,reviews,reviewDecision
gh pr checks 55 --repo owner/repo
gh pr diff 55 --repo owner/repo
gh pr create --repo owner/repo --title "feat: title" --body-file /tmp/pr.md
gh pr merge 55 --repo owner/repo --squash

URLs work directly with commands such as gh pr view. Treat create, comment, review, merge, close, release, and workflow rerun operations as external mutations: perform them only when the user requested that action. Before submitting, show or verify the exact repository and target.

Issues

gh issue list --repo owner/repo --state open --json number,title,labels,url
gh issue view 42 --repo owner/repo --json title,body,comments,labels,state
gh issue create --repo owner/repo --title "Bug: ..." --body-file /tmp/issue.md
gh issue comment 42 --repo owner/repo --body-file /tmp/comment.md
gh issue close 42 --repo owner/repo --comment "Fixed in ..."

CI and runs

gh run list --repo owner/repo --limit 10
gh run view <run-id> --repo owner/repo --json status,conclusion,headSha,url
gh run view <run-id> --repo owner/repo --log-failed
gh run rerun <run-id> --repo owner/repo --failed

API

gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'
gh api repos/owner/repo/labels --jq '.[].name'
gh api --cache 1h repos/owner/repo --jq '{stars: .stargazers_count, forks: .forks_count}'

Prefer --json with --jq for structured output. Use --body-file for comments and bodies containing backticks, shell snippets, environment names, or user-provided text.

Câu hỏi thường gặp

Agent có cần mật khẩu GitHub của tôi không?

Không. Nó dùng công cụ dòng lệnh GitHub, công cụ này phải được đăng nhập sẵn, và skill yêu cầu không hỏi token.

Nó có thể gộp pull request giúp tôi không?

Có, nhưng chỉ khi bạn yêu cầu hành động đó. Việc gộp và các thay đổi khác trên GitHub cần bạn chỉ dẫn trước.

Nếu thiếu công cụ GitHub thì sao?

Agent giải thích những gì cần có và không tự cài đặt một cách âm thầm.

Chi tiết

Mô tả gốc của tác giả

Use GitHub CLI for repositories, issues, pull requests, reviews, CI runs, releases, and structured GitHub API queries.

repo: EKKOLearnAI/ekko-studio

Độ phổ biến

Sao GitHub
12k
Vị trí xếp hạng
#11566
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự