eliabdevweb-svg/opencode-skills-mcp/git-workflow
Claude Code and agent skill by eliabdevweb-svg/opencode-skills-mcp
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Workflow Git professionnel, branching strategies, commit conventions, et collaboration d'équipe. Use when creating branches, writing or fixing commits, rebasing, resolving merge conflicts, reviewing pull requests, or when the user mentions git, branche, commit, merge, rebase ou convention de commit.
Install
npx vskill@latest install eliabdevweb-svg/opencode-skills-mcp/git-workflowSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as eliabdevweb-svg/opencode-skills-mcp/git-workflow.
Git Workflow
Guide pour un workflow Git professionnel et une collaboration d'équipe efficace.
Branching Strategy
Git Flow
GitHub Flow (Recommandé)
Règles :
mainest toujours déployable- Toutes les branches partent de
main - Les PRs sont requises pour merger
- Le CI doit passer avant le merge
Conventional Commits
Format
Types
| Type | Description | Exemple | |
|---|---|---|---|
feat | Nouvelle fonctionnalité | feat(auth): add OAuth login | |
fix | Correction de bug | fix(api): handle null response | |
docs | Documentation | docs(readme): update install steps | |
style | Formatage (pas de changement logique) | style: fix prettier issues | |
refactor | Refactorisation | refactor(auth): extract validation | |
perf | Amélioration de performance | perf(api): add caching | |
test | Ajout de tests | test(auth): add unit tests | |
build | Build system | build: update webpack config | |
ci | CI/CD | ci: add github actions | |
chore | Maintenance | chore: update dependencies | |
revert | Revert | revert: feat(auth): add OAuth |
Exemples
Workflow Quotidien
1. Début de journée
2. Pendant le développement
3. Avant de créer une PR
4. Créer une PR
Rebase vs Merge
Rebase (Recommandé pour les features)
Avantages : Historique linéaire, propre Inconvénients : Réécrit l'historique, dangereux sur les branches partagées
Merge (Recommandé pour les releases)
Avantages : Préserve l'historique, sûr pour les branches partagées Inconvénients : Historique plus complexe
Sauvegarde et Récupération
Stash
Undo
Git Hooks
Husky + lint-staged
Commitlint
Commands Utiles
Checklist PR
- [ ] Le code suit-il les conventions de commit ?
- [ ] Les tests passent-ils ?
- [ ] Le lint passe-t-il ?
- [ ] La documentation est-elle mise à jour ?
- [ ] Les breaking changes sont-ils documentés ?
- [ ] Le reviewer est-il assigné ?
- [ ] La description de la PR est-elle claire ?
Anti-Patterns
| Pattern | Problème | Solution | |
|---|---|---|---|
| Force push sur main | Perd l'historique | Utiliser des PRs | |
| Grand commit | Difficile à review | Séparer par fonctionnalité | |
| Merge sans PR | Pas de review | Toujours passer par des PRs | |
| Commit de secrets | Sécurité compromise | Utiliser des .env | |
| Historique sale | Difficile à naviguer | Utiliser rebase régulièrement |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/git-workflow/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eliabdevweb-svg/opencode-skills-mcp/git-workflow)