en un clic
fetch-pr-comments
// Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.
// Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.
Runs all necessary checks (lint, tests) and pushes to GitHub. Use this as the final safety gate.
Prepares the codebase for a commit by formatting code and helping identify temporary comments.
Runs unit tests to quickly verify changes during the development loop.
| name | Fetch PR Comments |
| description | Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown. |
This skill allows you to retrieve comments and reviews from the current GitHub Pull Request (PR) associated with the active branch, or a specific PR by number/URL. It converts the data into a readable Markdown format, including code review comments with file and line context.
To use this skill, run the provided Python script. It requires the GitHub CLI (gh) to be installed and authenticated.
# Fetch comments for the current branch's PR
python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py
# Fetch comments for a specific PR
python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py <PR_NUMBER_OR_URL>
The script outputs Markdown text to stdout, containing:
gh (GitHub CLI) must be installed and in your PATH.python3 must be available.