# Fix Pr Comments

> Read review comments on a GitHub PR and fix the issues raised. Use when the user asks to address, fix, or resolve PR comments or review feedback. Use when this capability is needed.

- Skill: `tomevault-io/fix-pr-comments` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/fix-pr-comments`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/fix-pr-comments/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/fix-pr-comments

---


# Fix PR Comments

## Finding the PR

If no PR number is provided, find the current branch's PR:

```bash
gh pr view --json number,url -q '.number'
```

## Reading review comments

Get both general comments and inline review comments:

```bash
# General PR comments
gh pr view <PR_NUMBER> --json comments,reviews --jq '.comments[], .reviews[]'

# Inline review comments (on specific lines of code)
gh api repos/{owner}/{repo}/pulls/<PR_NUMBER>/comments
```

## Workflow

1. Fetch all comments using the commands above
2. Parse each comment to understand what change is being requested
3. Ignore bot comments that are purely informational (e.g. CI status)
4. For each actionable comment, make the requested fix in the codebase
5. Run the linter (`make style && make quality`) and tests (`uv run pytest`) after making changes
6. Commit and push the fixes

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/finbarrtimbers) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

