Our review
Internal skill providing shared scripts for automated Pull Request creation, used by git-pr and git-cd-pr.
Strengths
- Ready-to-use scripts covering the entire PR workflow
- Built-in checks and validations (scopes, template, QA)
- Enables automation and standardization of PRs
Limitations
- Should not be called directly, only through parent skills
- Requires Claude environment with Bash and Python tools
- Depends on local GitHub repository configuration
When building or extending an automated PR creation skill (git-pr, git-cd-pr).
For direct user interaction or outside a structured PR creation pipeline.
Security analysis
CautionThe skill delegates to Bash and Python scripts that perform git operations (push, branch deletion, PR creation) and GitHub API interactions, which are powerful but legitimate for a PR automation tool. No destructive or exfiltration commands are directly present, but the scripts themselves are not inspected, so caution is warranted due to potential impact if misused.
No concerns found
Examples
Crée une Pull Request pour mes changements sur la branche main.Execute smart QA on the current branch before creating the PR.name: git-pr-core description: > 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. allowed-tools: [Bash, Read, Write, AskUserQuestion] model: sonnet
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
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
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- Nettoyage
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.