github-impact
Génère automatiquement deux rapports d'impact (métier et technique) pour une PR GitHub et les intègre dans la description.
When & Why to Use This Skill
The GitHub PR Impact Analysis skill automates the generation of comprehensive business and technical impact reports for GitHub Pull Requests. By analyzing code diffs, dependencies, and test coverage, it provides stakeholders with clear insights into functional changes, user experience impacts, and technical debt, seamlessly integrating these reports directly into the PR description to streamline the review process.
Use Cases
- Automated PR Documentation: Automatically populate Pull Request descriptions with structured technical and business summaries to save developer time and improve review transparency.
- Cross-Functional Communication: Generate high-level business impact reports that help Product Managers and non-technical stakeholders understand how code changes affect UX and business goals.
- Risk and Security Assessment: Identify potential architectural risks, security vulnerabilities, and performance bottlenecks early in the development lifecycle before merging.
- Technical Debt Monitoring: Track changes in code complexity, dependency shifts, and test coverage to maintain long-term software health and quality standards.
| name | github-impact |
|---|---|
| description | > |
| allowed-tools | [Bash, Read, Write, TodoWrite, Grep, Glob] |
| model | claude-opus-4-1-20250805 |
GitHub PR Impact Analysis Skill
Usage
/github:impact <pr-number>
Workflow
- Récupérer infos PR via
gh pr view - Identifier fichiers modifiés (
gh pr diff) - Analyser dépendances et templates
- Analyser tests
- Générer rapport métier
- Générer rapport technique
- Ajouter rapports à la description PR
- Sauvegarder localement dans
.analysis-reports/
Rapports générés
Rapport Métier
- Vue d'ensemble (portée, domaines, risque)
- Changements fonctionnels (nouvelles features, améliorations, corrections)
- Impact utilisateur (UX, performance, compatibilité)
- Risques identifiés + recommandations
Rapport Technique
- Métriques (fichiers, ajouts, suppressions)
- Analyse par type (PHP, JS, Templates, Config, Assets)
- Changements architecturaux (classes, dépendances)
- Analyse sécurité
- Couverture tests
- Points d'attention (performance, compatibilité, dette technique)
Templates détaillés
- Rapport métier - Structure et niveaux de risque
- Rapport technique - Métriques et scripts d'analyse
Output
# Dans la PR
<!-- IMPACT-REPORTS-START -->
[Rapport métier]
[Rapport technique]
<!-- IMPACT-REPORTS-END -->
# Local
.analysis-reports/impact_pr_{PR_NUMBER}.md
Error Handling
- PR introuvable → ARRÊT
- Échec mise à jour PR → WARNING (non bloquant)