branche
Crée une nouvelle branche Git à partir de la dernière version de main, avec un préfixe conventionnel feat/ (nouvelle fonctionnalité) ou fix/ (correction de bug). Utilise sur /branche, ou quand l'utilisateur veut démarrer un nouveau travail sur une branche dédiée : "nouvelle branche", "crée une branche", "je commence une feature", "pars de main à jour", avant d'attaquer un développement isolé. Amont naturel de /livre.
How do I install this agent skill?
npx skills add https://github.com/naiersaidane/claude-mastery --skill brancheIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill automates Git branch management by updating from the main branch and creating new branches with standard prefixes. It is functional for development workflows but contains a potential command injection surface because user-supplied arguments are interpolated directly into shell commands without explicit validation or sanitization.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
/branche
Crée une nouvelle branche à partir de la dernière version de main.
Étapes
-
Bascule sur main et récupère la dernière version :
git checkout main && git pull origin main -
Si
$ARGUMENTSest fourni (ex./branche feat/algorithme-churn) :- Utilise l'argument directement comme nom de branche
- Crée et bascule sur la branche :
git checkout -b <nom-de-branche>
-
Si aucun argument n'est fourni :
- Demande à l'utilisateur le nom de la branche ou une description du travail
- Propose un nom avec un préfixe conventionnel :
feat/oufix/ - Une fois confirmé, crée la branche :
git checkout -b <nom-de-branche>
-
Confirme la création de la branche en exécutant
git branch --show-current
Conventions de nommage des branches
Utilise ces préfixes :
feat/— Nouvelle fonctionnalitéfix/— Correction de bug
Si l'utilisateur fournit un nom sans préfixe, propose d'en ajouter un.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/naiersaidane/claude-mastery/branche">View branche on skillZs</a>