/git:git-pr-corefrom git
Internal skill providing shared scripts for PR creation workflows. Not for direct invocation; used by git-pr and git-cd-pr sub-skills.
Ships in git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
| 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" |
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"
check_scopes.sh - Vérifier scopes GitHubverify_pr_template.sh - Vérifier template PRsmart_qa.sh - Lancer QAanalyze_changes.sh - Analyser changementsconfirm_base_branch.py - Confirmer branche basecreate_pr.sh - Créer la PRassign_milestone.py - Assigner milestoneassign_project.py - Assigner projetauto_review.sh - Code reviewcleanup_branch.sh - Nettoyagereferences/review-template.md (opens in a new tab)references/todos-template.md (opens in a new tab)scripts/analyze_changes.sh (opens in a new tab)scripts/assign_milestone.py (opens in a new tab)scripts/assign_project.py (opens in a new tab)scripts/auto_review.sh (opens in a new tab)scripts/check_scopes.sh (opens in a new tab)scripts/cleanup_branch.sh (opens in a new tab)scripts/confirm_base_branch.py (opens in a new tab)scripts/create_pr.sh (opens in a new tab)scripts/final_report.sh (opens in a new tab)scripts/gh_auth_setup.sh (opens in a new tab)scripts/milestone_cache.py (opens in a new tab)scripts/project_cache.py (opens in a new tab)scripts/safe_push_pr.sh (opens in a new tab)scripts/smart_qa.sh (opens in a new tab)scripts/verify_pr_template.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
npx claudepluginhub atournayre/claude-marketplace --plugin git11 skills in this plugin
/branchgit:branchCréation de branche Git avec workflow structuré/git-branch-coreSkill interne fournissant les scripts communs pour la création de branches. Ne pas appeler directement - utilisé par git:branch et git:worktree.
/commitgit:commitCréer des commits bien formatés avec format conventional et emoji/conflitgit:conflitAnalyse les conflits git et propose à l'utilisateur une résolution pas à pas avec validation de chaque étape.