PR Comment Handler
Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.
Overview
The PR Comment Handler is a specialized DevOps skill designed to facilitate the resolution of pull request feedback through an AI agent interface. Sourced from the mxyhi/ok-skills repository—a collection with 423 stars—this tool utilizes the GitHub CLI to interact with comments on the active branch's PR. The skill ensures operational reliability by verifying the user's GitHub authentication status at the start of the process, prompting for a login if the session is inactive. By integrating with agents like Claude-Code and Cursor, it allows developers to programmatically address review issues and maintain workflow continuity without leaving their development environment.
Use Cases
Install Notes
# Review source first
open https://github.com/mxyhi/ok-skills/blob/main/gh-address-comments/SKILL.mdCopy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.
Security Notes
The skill operates through the GitHub CLI and requires existing local authentication. It includes a mandatory check to verify the user's login status, ensuring that actions are only performed when a valid, authorized session is detected.
Related Skills
Core
vercel-labs/agent-browser
Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple
Agent Browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button",
Agentcore
vercel-labs/agent-browser
Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include "use agentcore", "run on AWS", "cloud browser with AWS", "bedroc
LangChain Middleware
langchain-ai/langchain-skills
INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware, or structured output. Covers HumanInTheLoopMiddleware for human approval of dangerous tool calls, creating custom middleware with hooks, Command resume patterns, and structured output with Pydantic/Zod.
Deep Agents Core
langchain-ai/langchain-skills
INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.
LangGraph Persistence
langchain-ai/langchain-skills
INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping. Covers checkpointers, thread_id, time travel, Store, and subgraph persistence modes.