Retour à la bibliothèque

Adresse des commentaires GitHub

productivitySkill13 déploiements
Commande d'installation AntiGravity
$npx @aift/antigravity@latest pull productivity-address-github-comments
À propos de cette ressource

Utilisez ce skill quand vous devez répondre aux commentaires de révision ou de problème sur une Pull Request ouverte sur GitHub en utilisant le CLI gh.

Instructions source (SKILL.md / XML)
---
name: address-github-comments
description: Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
---

# Address GitHub Comments

## Overview

Efficiently address PR review comments or issue feedback using the GitHub CLI (`gh`). This skill ensures all feedback is addressed systematically.

## Prerequisites

Ensure `gh` is authenticated.

```bash
gh auth status
```

If not logged in, run `gh auth login`.

## Workflow

### 1. Inspect Comments

Fetch the comments for the current branch's PR.

```bash
gh pr view --comments
```

Or use a custom script if available to list threads.

### 2. Categorize and Plan

- List the comments and review threads.
- Propose a fix for each.
- **Wait for user confirmation** on which comments to address first if there are many.

### 3. Apply Fixes

Apply the code changes for the selected comments.

### 4. Respond to Comments

Once fixed, respond to the threads as resolved.

```bash
gh pr comment <PR_NUMBER> --body "Addressed in latest commit."
```

## Common Mistakes

- **Applying fixes without understanding context**: Always read the surrounding code of a comment.
- **Not verifying auth**: Check `gh auth status` before starting.
Audit offert (45 min), sans engagement

Déployer ce skill dans votre entreprise sans coder ?

Votre Directeur IA externalisé installe ces agents, connecte vos outils et forme vos équipes sur vos vrais cas métier (à partir de 990 € HT/mois).

Réserver mon audit offert (45 min)