Notre avis
Crée une pull request GitHub en rassemblant le contexte git, en détectant les modèles de PR, en composant un titre conventional commit et en générant un corps structuré avec des liens de référence.
Points forts
- Tient compte du contexte git (diff, log) pour une description pertinente
- Utilise les modèles de PR présents dans le dépôt
- Applique les conventions conventional commit pour le titre
- Confirme avant de pousser et de créer la PR
Limites
- Nécessite que git et gh soient configurés et authentifiés
- Peut être verbeux dans les échanges de confirmation
- Ne gère pas les workflows de PR complexes (multiples réviseurs, labels avancés)
Utilisez cette compétence lorsque vous souhaitez créer rapidement une pull request bien documentée sans rédiger manuellement tous les détails.
Évitez cette compétence si vous avez besoin d'un contrôle fin sur le contenu de la PR ou si le processus de révision de votre projet est très spécifique.
Analyse de sécurité
SûrThe skill uses only git and gh CLI commands, does not involve destructive actions, and prompts for user confirmation before pushing, making it safe.
Aucun point d'attention détecté
Exemples
Create a pull request for the current branch, summarizing the changes and linking to the related issue.Create a pull request using the repository's pull request template.Create a pull request in French with the title and body in French.name: create-pr description: Create a GitHub pull request with context-aware description allowed-tools: Bash(git status *), Bash(git diff *), Bash(git log *), Bash(git rev-parse *), Bash(git push *), Bash(gh repo view *), Bash(gh pr create *), Bash(echo *), Read, Glob, Grep, AskUserQuestion
Pre-fetched context
!git rev-parse --abbrev-ref HEAD
!git status --short
!git ls-files ':(top,icase).github/pull_request_template.md' ':(top,icase).github/pull_request_template/*.md' ':(top,icase)pull_request_template.md'
Instructions
Create a pull request. Follow this flow:
-
Gather context: Get default branch via
gh repo view --json defaultBranchRef -q .defaultBranchRef.name, then rungit log --oneline,git diff --stat, andgit diffagainst it. -
Uncommitted changes: If
git statusabove shows output, ask the user whether to commit them, ignore them, or abort. Do not proceed until answered. -
PR template:
- If a template path is listed,
Readit before writing title/body. - Detect
template_languagefrom headings/instructions/checklists (ignore code, URLs, HTML comments). - Keep template headings/order and keep HTML comments (
<!-- -->). - If no template exists, skip.
- If a template path is listed,
-
Compose PR:
- Title: Conventional Commits, under 72 chars.
- Decide title language before drafting and keep it fixed unless the user requests a change.
- Title language policy: use
template_languagefirst whenever it can be detected. - If the user explicitly asks to override language for the current PR, follow that override.
- If no
template_languageis detected, use: explicit user request > latest substantive user message > English. - Ignore slash commands (for example
/create-pr), code blocks, file paths, and URLs when inferring language. - If language signals conflict or are ambiguous, ask the user which language to use before drafting.
- Keep
type(scope)tokens standard (feat,fix, etc.); localize only the description text. - Body: if template exists, fill its sections. If not, use Summary / Changes / Concerns / References.
- Proactively include any reference links (issues, docs, related PRs) found in conversation history.
-
Confirm: Show the full PR title and body. Ask if the user wants to add links or make any edits — apply and re-confirm. Do not push or create until approved.
-
Push and create: Push (
git push -u origin HEAD) only if there are unpushed commits (git log @{upstream}..HEAD). Create withgh pr create. Return the PR URL.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.