Générateur de résumé de PR

VérifiéSûr

Génère un résumé de changelog pour une branche en analysant les messages de commit et le diff. Produit un titre, un objectif et jusqu'à trois points clés. Utile pour rédiger une description de PR ou des notes de version.

Spar Skills Guide Bot
DeveloppementIntermédiaire
5002/06/2026
Claude Code
#pr-summarize#changelog#git#pull-request

Recommandé pour

Notre avis

Génère un résumé de changelog concis pour la branche courante à partir du diff Git.

Points forts

  • Détecte automatiquement la convention de messages de commit du dépôt
  • Produit un titre et une explication clairs
  • Limite les points 'How' à trois pour rester concis

Limites

  • Dépend de la détection de la branche par défaut qui peut échouer
  • Ne gère pas les cas de branches avec beaucoup de commits fusionnés
Quand l'utiliser

Lorsque vous devez rapidement créer un résumé de changelog pour une pull request.

Quand l'éviter

Pour des analyses de code détaillées nécessitant une revue ligne par ligne.

Analyse de sécurité

Sûr
Score qualité85/100

The skill only instructs to run read-only git commands (log, diff) to generate a summary, with no destructive or exfiltration actions.

Aucun point d'attention détecté

Exemples

Generate PR changelog
Generate a changelog for the current branch following the repo's commit convention.
Summarize branch changes
Summarize the changes on this branch in a concise PR changelog format.

name: dev-pr-summarize description: Generate a concise PR changelog summary from the current branch diff.

pr-summarize - PR Changelog Generator

Generate a clear, minimal changelog for the current branch.

Instructions

  1. Detect the default branch: BASE=$(git remote show upstream 2>/dev/null | sed -n 's/.*HEAD branch: //p') || BASE=main
  2. Run git log --oneline -10 $BASE to study the repo's commit message convention (e.g., feat:, MSSQL:, [COMPONENT], plain imperative, etc.)
  3. Run git log --oneline $BASE..HEAD to get commits on the branch
  4. Run git diff $BASE...HEAD --stat to see changed files
  5. Run git diff $BASE...HEAD to read the actual changes
  6. Produce a changelog using the template below, with the title matching the repo's convention
  7. If this is in main branch, create a new branch for this change

Template

## <Short imperative title describing the change>

## Why

<One sentence explaining the motivation or problem>

## How (at most 3 points, start with verb)

- <Bullet points describing what was done, keep each line short>
- <Focus on what changed, not implementation details>

Rules

  • Title must follow the repo's commit message convention detected in step 1
  • "Why" is one sentence max
  • "How" bullets should be extremely minimal and clear
  • No fluff, no over-explanation
  • Output only the changelog, nothing else
Skills similaires