gh-address-comments – skill Lập trình cho agent AI
Hỗ trợ xử lý các comment review/issue trên PR GitHub đang mở của nhánh hiện tại bằng gh CLI; kiểm tra xác thực gh trước và nhắc người dùng đăng nhập nếu chưa đăng nhập.
Cài skill gh-address-comments bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /gh-address-comments – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $gh-address-comments – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /gh-address-comments – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /gh-address-comments – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
PR Comment Handler
Guide to find the open PR for the current branch and address its comments with gh CLI. Run all gh commands with elevated network access.
Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.
1) Inspect comments needing attention
- Run scripts/fetch_comments.py which will print out all the comments and review threads on the PR
2) Ask the user for clarification
- Number all the review threads and comments and provide a short summary of what would be required to apply a fix for it
- Ask the user which numbered comments should be addressed
3) If user chooses comments
- Apply fixes for the selected comments
Notes:
- If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with
gh auth login, then retry.
Skill liên quan
- ai-decision-authority – Phân loại quyết định marketing và GTM vào ba vùng quản trị AI (AI-Primary…
- gh-fix-ci – Dùng khi người dùng yêu cầu gỡ lỗi hoặc sửa các PR check thất bại chạy trên GitHub…
- debugging-and-error-recovery – Hướng dẫn gỡ lỗi có hệ thống để tìm nguyên nhân gốc. Dùng khi test thất bại, build hỏng…
- agentflow – Điều phối pipeline phát triển AI tự động qua bảng Kanban (Asana, GitHub Projects…
- agentic-actions-auditor – Kiểm toán workflow GitHub Actions về lỗ hổng bảo mật trong tích hợp AI agent, gồm Claude…
- agentic-test-audit – Kiểm toán bộ test pytest: mutant sống sót và code chưa được test, test flaky, test phụ…
- agentic-verify – Kiểm tra xem thay đổi Python có được test bắt được không: chạy mọi mutant của các dòng…
- bats-testing-patterns – Thành thạo Bash Automated Testing System (Bats) để kiểm thử toàn diện shell script. Dùng…