agentleFS
sjain-stanfordsjain-stanford/claude-workspace/skills/gh-address-comments/SKILL.md

gh-address-comments

Skill2 starsChanged 22 days agoApache-2.0View on GitHub

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.

36 other projects use a version of this, 25 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use email-draft-polish, codebase-migrate and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ComposioHQSkill

    email-draft-polish

    Draft, rewrite, or condense emails with target tone, length, and audience; use for cold outreach, replies, status updates, or escalations where clarity and brevity matter.

    Also in 4 projects that use this

  • ComposioHQSkill

    codebase-migrate

    Run large codebase migrations and multi-file refactors. Uses the Composio CLI to coordinate issue tracking, batched PRs, and CI verification while the agent executes the transforms locally across hundreds of files.

    Also in 4 projects that use this

  • petestewartSkill

    datadog-logs

    Query Datadog logs via the Logs Search API v2. Use when the user asks to "check the logs", "search logs", "find errors in Datadog", "look up logs for", "show me production logs", "check for errors", "search Datadog", or any request involving log search, error investigation, or production debugging that requires Datadog log data.

    Also in 3 projects that use this

  • MicrosoftSkill

    deploy-pipeline

    Triggers a Power Platform Pipeline deployment run for a Power Pages solution. Selects a target stage, validates the package, optionally configures deployment settings (environment variables, connection references), then deploys and polls for completion. Use when asked to: "deploy pipeline", "run pipeline", "trigger deployment", "deploy to staging", "deploy to production", "run power platform pipeline", "deploy solution via pipeline", "promote solution", "push to staging", "push to production".

    Also in 3 projects that use this

  • +8 more from ComposioHQ

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 34 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run gh auth status for the target host with normal permissions first.

    line 14
  2. Very specific:

    Run python3 <skill-dir>/scripts/fetch_comments.py from the PR worktree to print conversation comments, reviews, and complete inline threads …

    line 20
  3. Distinctive:

    Follow comments already selected by the user.

    line 26
  4. Distinctive:

    Ask only when a comment requires a material product decision or its intended scope is unclear.

    line 30

“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PR Comment Handler

Find the open PR for the current branch and address the requested comments with the gh CLI. Use the PR's branch-backed development worktree and the target repository's contribution and verification guidance.

Run gh auth status for the target host with normal permissions first. Request network escalation only when the sandbox actually blocks access. Ask the user to authenticate only for an authentication failure; distinguish that from rate limits and transient network failures.

1) Inspect comments needing attention

  • Run python3 <skill-dir>/scripts/fetch_comments.py from the PR worktree to print conversation comments, reviews, and complete inline threads as JSON. The helper resolves the base repository and host from the PR URL, including fork PRs, and paginates each connection and long thread independently.

2) Establish scope

  • Follow comments already selected by the user. A request to address PR feedback authorizes fixing actionable comments; do not ask the user to select the same scope again.
  • Summarize actionable findings and validate them against the current code. Ask only when a comment requires a material product decision or its intended scope is unclear.

3) Apply and verify fixes

  • Implement the requested fixes, run appropriate checks, and summarize which comments were addressed or remain unresolved.
  • Posting replies or resolving GitHub threads requires explicit authorization to change that remote discussion state.

Offline helper checks: python3 -m pytest <skill-dir>/tests.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.