Automated summary
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
How this analysis is madeExamples
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
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-pr-core-internal-infrastructure-mm78nnvk/download' --output '.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk/SKILL.md.part' && mv '.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk/SKILL.md.part' '.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk/SKILL.md' && test -s '.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/git-pr-core' && cp -R '.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk' '.claude/skills/git-pr-core'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk'openskills read 'git-pr-core-internal-infrastructure-mm78nnvk'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/git-pr-core-internal-infrastructure-mm78nnvk/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.