gh-address-comments

bởi openai

Xử lý phản hồi đánh giá pull request có thể hành động trên GitHub. Sử dụng khi người dùng muốn kiểm tra các luồng đánh giá chưa được giải quyết, các thay đổi được yêu cầu hoặc đánh giá nội dòng…

npx skills add https://github.com/openai/plugins --skill gh-address-comments

GitHub PR Comment Handler

Use this skill when the user wants to work through requested changes on a GitHub pull request. Use the GitHub app from this plugin for PR metadata and patch context, but treat thread-aware review data as a gh api graphql problem because the connector comment surface is flat and does not preserve full review-thread state.

Run all gh commands with elevated network access. If CLI auth is required, confirm gh auth status first and ask the user to authenticate with gh auth login if it fails.

Workflow

  1. Resolve the PR.
    • If the user provides a repository and PR number or URL, use that directly.
    • If the request is about the current branch PR, use local git context plus gh auth status and gh pr view --json number,url to resolve it.
  2. Inspect review context with thread-aware reads.
    • Use the GitHub app from this plugin to fetch PR metadata and patch context when the repo and PR are known.
    • Use the bundled scripts/fetch_comments.py workflow whenever the task depends on unresolved review threads, inline review locations, or resolution state. That script fetches reviewThreads, isResolved, isOutdated, and file and line anchors that the connector comment surface does not preserve.
    • Use connector-only comment reads only for lightweight top-level PR comment summaries.
  3. Cluster actionable review threads.
    • Group comments by file or behavior area.
    • Separate actionable change requests from informational comments, approvals, already-resolved threads, and duplicates.
  4. Confirm scope before editing.
    • Present numbered actionable threads with a one-line summary of the required change.
    • If the user did not ask to fix everything, ask which threads to address.
    • If the user asks to fix everything, interpret that as all unresolved actionable threads and call out anything ambiguous.
  5. Implement the selected fixes locally.
    • Keep each code change traceable back to the thread or feedback cluster it addresses.
    • If a comment calls for explanation rather than code, draft the response rather than forcing a code change.
  6. Summarize the result.
    • List which threads were addressed, which were intentionally left open, and what tests or checks support the change.

Write Safety

  • Do not reply on GitHub, resolve review threads, or submit a review unless the user explicitly asks for that write action.
  • If review comments conflict with each other or would cause a behavioral regression, surface the tradeoff before making changes.
  • If a comment is ambiguous, ask for clarification or draft a proposed response instead of guessing.
  • Do not treat flat PR comments from the connector as a complete representation of review-thread state.
  • If gh hits auth or rate-limit issues mid-run, ask the user to re-authenticate and retry.

Fallback

If neither the connector nor gh can resolve the PR cleanly, tell the user whether the blocker is missing repository scope, missing PR context, or CLI authentication, then ask for the missing repo or PR identifier or for a refreshed gh login.

Thêm skills từ openai

user-context
openai
Tải hoặc quản lý các tùy chọn định tuyến nguồn bền vững, logic giới thiệu, tiến trình thiết lập và sổ đăng ký lớp ngữ nghĩa của plugin Phân tích Dữ liệu.
official
notion-research-documentation
openai
Nghiên cứu nội dung Notion và tổng hợp thành các bản tóm tắt có cấu trúc, báo cáo hoặc so sánh kèm trích dẫn. Tìm kiếm và truy xuất các trang Notion bằng truy vấn mục tiêu, sau đó sắp xếp kết quả theo chủ đề với trích dẫn nguồn trong văn bản và phần tài liệu tham khảo. Chọn từ bốn định dạng đầu ra (tóm tắt nhanh, tổng hợp nghiên cứu, so sánh, báo cáo toàn diện) dựa trên phạm vi và mục tiêu của người dùng. Tạo và cập nhật các trang Notion bằng mẫu có sẵn; liên kết trực tiếp nguồn và theo dõi thay đổi khi
official
rcsb-pdb-skill
openai
Gửi yêu cầu RCSB PDB nhỏ gọn để lấy siêu dữ liệu cốt lõi, truy vấn API Tìm kiếm và tải xuống FASTA. Sử dụng khi người dùng muốn tóm tắt RCSB ngắn gọn; lưu JSON thô hoặc…
official
pdf
openai
Đọc, tạo và xác thực PDF với kết xuất trực quan và tạo theo chương trình. Kết xuất các trang PDF sang PNG để kiểm tra trực quan bố cục, khoảng cách và kiểu chữ trước khi bàn giao bằng Poppler (pdftoppm). Tạo PDF theo chương trình với reportlab để định dạng đáng tin cậy; trích xuất văn bản và siêu dữ liệu bằng pdfplumber hoặc pypdf. Thực thi các tiêu chuẩn chất lượng: không có văn bản bị cắt, phần tử chồng lấn, bảng bị hỏng hoặc hiện vật kết xuất; chỉ sử dụng dấu gạch nối ASCII, trích dẫn dễ đọc cho con người. Sử dụng...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
Tự động hóa trình duyệt qua terminal với ảnh chụp nhanh phần tử và quy trình UI tương tác. Hoạt động thông qua script wrapper playwright-cli (yêu cầu npx); hỗ trợ chế độ headless và headed để gỡ lỗi trực quan. Quy trình cốt lõi: mở trang, chụp nhanh để tham chiếu phần tử ổn định, tương tác bằng refs, chụp lại sau khi điều hướng hoặc thay đổi DOM. Bao gồm điền biểu mẫu, nhấp chuột, gõ văn bản, quản lý nhiều tab, chụp ảnh màn hình/PDF và ghi lại trace để gỡ lỗi luồng. Tham chiếu phần tử (ví dụ: e3, e15)...
official
ukb-topmed-phewas-skill
openai
Lấy các bản tóm tắt PheWAS UKB-TOPMed nhỏ gọn cho các biến thể đơn lẻ bằng cách chấp nhận đầu vào rsID, GRCh37 hoặc GRCh38 và phân giải thành truy vấn GRCh38 cần thiết. Sử dụng khi một…
official
code-review-context
openai
Ngữ cảnh hiển thị của mô hình
official