git-pr-core
Skill interne fournissant les scripts communs pour la création de Pull Requests. Ne pas appeler directement - utilisé par git-pr et git-cd-pr.
Best use case
git-pr-core is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Skill interne fournissant les scripts communs pour la création de Pull Requests. Ne pas appeler directement - utilisé par git-pr et git-cd-pr.
Teams using git-pr-core should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/git-pr-core/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How git-pr-core Compares
| Feature / Agent | git-pr-core | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Skill interne fournissant les scripts communs pour la création de Pull Requests. Ne pas appeler directement - utilisé par git-pr et git-cd-pr.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Git PR Core (Internal)
## Instructions à Exécuter
**IMPORTANT : Exécute ce workflow étape par étape :**
Ce skill fournit les scripts partagés pour la création de PR. Il ne doit pas être appelé directement.
## Scripts disponibles
| Script | Description | Usage |
|--------|-------------|-------|
| `check_scopes.sh` | Vérifie les scopes GitHub | `bash "$CORE_SCRIPTS/check_scopes.sh"` |
| `verify_pr_template.sh` | Vérifie le template PR | `bash "$CORE_SCRIPTS/verify_pr_template.sh" "$PR_TEMPLATE_PATH"` |
| `smart_qa.sh` | Lance la QA intelligente | `bash "$CORE_SCRIPTS/smart_qa.sh"` |
| `analyze_changes.sh` | Analyse les changements git | `bash "$CORE_SCRIPTS/analyze_changes.sh"` |
| `confirm_base_branch.py` | Confirme la branche de base | `python3 "$CORE_SCRIPTS/confirm_base_branch.py"` |
| `create_pr.sh` | Crée la PR (push + gh pr create) | `bash "$CORE_SCRIPTS/create_pr.sh" "$BRANCH_BASE" "$PR_TEMPLATE_PATH"` |
| `safe_push_pr.sh` | Push sécurisé avec création PR | `bash "$CORE_SCRIPTS/safe_push_pr.sh"` |
| `assign_milestone.py` | Assigne un milestone | `python3 "$CORE_SCRIPTS/assign_milestone.py" <pr_number> --milestone "<milestone_name>"` |
| `assign_project.py` | Assigne un projet GitHub | `python3 "$CORE_SCRIPTS/assign_project.py" <pr_number> --project "<project_name>"` |
| `auto_review.sh` | Lance la code review automatique | `bash "$CORE_SCRIPTS/auto_review.sh" <pr_number>` |
| `cleanup_branch.sh` | Nettoie la branche locale | `bash "$CORE_SCRIPTS/cleanup_branch.sh" [--delete]` |
| `final_report.sh` | Génère le rapport final | `bash "$CORE_SCRIPTS/final_report.sh"` |
## Usage par les skills enfants
```bash
CORE_SCRIPTS="${CLAUDE_PLUGIN_ROOT}/skills/git-pr-core/scripts"
# Exemples d'utilisation
bash "$CORE_SCRIPTS/check_scopes.sh"
bash "$CORE_SCRIPTS/create_pr.sh" "$BRANCH_BASE" "$PR_TEMPLATE_PATH"
# IMPORTANT : Pour assign_milestone.py et assign_project.py, utiliser --milestone et --project
# ❌ INCORRECT : python3 "$CORE_SCRIPTS/assign_milestone.py" 1234 "Continuous Delivery"
# ✅ CORRECT : python3 "$CORE_SCRIPTS/assign_milestone.py" 1234 --milestone "Continuous Delivery"
PR_NUMBER=$(gh pr view --json number -q .number)
python3 "$CORE_SCRIPTS/assign_milestone.py" "$PR_NUMBER" --milestone "Continuous Delivery"
python3 "$CORE_SCRIPTS/assign_project.py" "$PR_NUMBER" --project "MyProject"
```
## Workflow standard
1. `check_scopes.sh` - Vérifier scopes GitHub
2. `verify_pr_template.sh` - Vérifier template PR
3. `smart_qa.sh` - Lancer QA
4. `analyze_changes.sh` - Analyser changements
5. `confirm_base_branch.py` - Confirmer branche base
6. `create_pr.sh` - Créer la PR
7. `assign_milestone.py` - Assigner milestone
8. `assign_project.py` - Assigner projet
9. `auto_review.sh` - Code review
10. `cleanup_branch.sh` - NettoyageRelated Skills
git-branch-core
Skill interne fournissant les scripts communs pour la création de branches. Ne pas appeler directement - utilisé par git:branch et git:worktree.
fix-grammar
Fix grammar and spelling errors in one or multiple files while preserving formatting
symfony-framework
Comprehensive Symfony 6.4 development skill for web applications, APIs, and microservices.
symfony:make
Cherche si il existe un maker Symfony pour faire la tache demandée et l'utilise si il existe. Si aucun maker n'existe alors utilise la slash command "/prepare"
phpstan-resolver
Résout automatiquement les erreurs PHPStan en analysant et corrigeant les problèmes de types. Boucle jusqu'à zéro erreur ou stagnation.
elegant-objects
Vérifie la conformité du code PHP aux principes Elegant Objects de Yegor Bugayenko. Analyse un fichier spécifique ou tous les fichiers modifiés dans la branche.
prompt:validate
Vérifie la checklist avant exécution et liste les oublis
prompt:transform
Transforme un prompt en prompt exécutable compatible avec le Task Management System (TaskCreate/TaskUpdate/TaskList)
prompt:team
Orchestre une équipe d'agents spécialisés pour les tâches complexes. Auto-détecte le type, compose l'équipe, coordonne les phases analyse → challenge → implémentation → QA.
prompt:start
Démarre un développement avec un starter léger puis active le mode plan
apex
Systematic implementation using APEX methodology (Analyze-Plan-Execute-eXamine) with parallel agents, self-validation, and optional adversarial review. Use when implementing features, fixing bugs, or making code changes that benefit from structured workflow.
fix-errors
Fix all ESLint and TypeScript errors with parallel processing using snipper agents