gh-address-comments – skill Lập trình cho agent AI
Hỗ trợ xử lý các bình luận 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-fae59.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-fae59.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-fae59.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-fae59.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
- airtable – API REST của Airtable qua curl. CRUD bản ghi, bộ lọc, upsert.
- claude-api – Tài liệu tham khảo cho Claude API / Anthropic SDK — model id, giá, tham số, streaming…
- code-simplification – Đơn giản hóa code để dễ đọc hơn. Dùng khi refactor code cho rõ ràng hơn mà không thay…
- astropy – Thư viện Python cốt lõi cho quy trình thiên văn học và vật lý thiên văn cần dùng API của…
- async-python-patterns – Thành thạo asyncio, lập trình đồng thời và mẫu async/await trong Python cho ứng dụng…
- gh-fix-ci – Kiểm tra trạng thái check của PR GitHub bằng gh, lấy log GitHub Actions lỗi, tóm tắt bối…
- contract-review – Dành cho trợ lý pháp lý, trợ lý luật và chuyên gia quản lý dự án khi rà soát hợp đồng và…
- video-generator – Dùng mô hình AI lớn tạo video có thoại và âm thanh môi trường từ văn bản, khung đầu/cuối…