Chuyển đến nội dung
Skillpedia
Lập trình chung48k · #3647

address-github-comments

Skill này làm gì

Công cụ này giúp bạn phản hồi các bình luận và góp ý trên một dự án GitHub. Nó sắp xếp các đánh giá và đảm bảo mọi chỗ đã được sửa trước khi bạn gửi câu trả lời.

Khi nào nên dùng

  • ✓Khi dự án GitHub của bạn có các bình luận đánh giá.
  • ✓Khi cần sắp xếp và trả lời các góp ý trên một dự án.
  • ✓Khi muốn đảm bảo mọi chỗ đã được sửa trước khi trả lời.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/address-github-comments/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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/address-github-comments/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

“Vui lòng xử lý các bình luận đánh giá trên dự án GitHub của tôi.”

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

Cách hoạt động

Công cụ trước tiên lấy tất cả bình luận và góp ý từ dự án của bạn. Sau đó nó giúp bạn lên kế hoạch sửa, áp dụng thay đổi vào mã và cuối cùng gửi phản hồi kèm bằng chứng về các chỗ đã sửa.

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.

Address GitHub Comments

Overview

Efficiently address PR review comments or issue feedback using the GitHub CLI (gh). This skill ensures all feedback is addressed systematically.

Prerequisites

Ensure gh is authenticated.

gh auth status

If not logged in, run gh auth login.

Workflow

1. Inspect Comments

Fetch the comments for the current branch's PR.

gh pr view --comments

--comments shows conversation comments; it does not enumerate every inline review thread. Use the available GitHub connector or the GraphQL pullRequest.reviewThreads connection with pagination to inspect inline comments, file/line anchors, and resolution state. Record the repository, PR number, current head SHA, thread IDs, and requested changes.

2. Categorize and Plan

  • List the comments and review threads.
  • Propose a fix for each.
  • Address feedback already covered by the user's requested scope. Ask only when feedback conflicts, expands scope, or requires a consequential choice.

3. Apply Fixes

Read the surrounding implementation, preserve unrelated edits, and apply the changes for the selected comments. Run the relevant repository checks and bind the result to the updated head before reporting a fix.

4. Respond to Comments

When the user authorizes posting replies, respond with the commit and verification evidence. A conversation comment does not resolve an inline review thread. Resolve the specific thread through the supported GitHub API only after its request is actually addressed and resolution is authorized; otherwise leave a proposed reply for the user.

gh pr comment <PR_NUMBER> --body "Addressed in <commit SHA>; verified with <check and result>."

Common Mistakes

  • Applying fixes without understanding context: Always read the surrounding code of a comment.
  • Not verifying auth: Check gh auth status before starting.

When to Use

Use when an existing PR has review threads or issue comments that require a scoped code repair and an evidence-backed response.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Câu hỏi thường gặp

Tôi có cần cài đặt gì không?

Có, bạn cần cài công cụ “gh CLI” và đăng nhập xác thực với GitHub.

“gh CLI” là gì?

“gh CLI” là công cụ dòng lệnh để tương tác trực tiếp với GitHub từ terminal của bạn.

Công cụ có tự động trả lời thay tôi không?

Không, nó sắp xếp và chuẩn bị các câu trả lời, nhưng bạn là người cho phép gửi cuối cùng.

Chi tiết

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

Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#3647
Giấy phép
MIT
Cập nhật
15/10/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ự