Skip to main content

git-workflow

Use this skill when working with git — making commits, creating branches, resolving merge conflicts, opening pull requests, or reviewing diffs. Apply whenever the user asks about version control operations.

Informations de source

Dépôt
aiming-lab/MetaClaw
Dernière activité de la source
10 mars 2026 à 18:04
Langue détectée de SKILL.md
anglais
Étoiles
3 464
Forks
452

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
git-workflow
description
Use this skill when working with git — making commits, creating branches, resolving merge conflicts, opening pull requests, or reviewing diffs. Apply whenever the user asks about version control operations.
category
coding
# Git Workflow Best Practices **Commits:** - Write commit messages in imperative mood: `Add feature X`, not `Added feature X`. - One logical change per commit. Do not bundle unrelated changes. - Stage specific files (`git add <file>`), not `git add .` blindly. **Branches:** - Branch from the latest main/master: `git checkout -b feature/my-change`. - Keep branches short-lived; merge or rebase frequently. **Pull Requests:** - Include a short description of *why*, not just *what*. - Reference related issues (`Closes #123`). - Keep PRs focused — one feature or fix per PR. **Never:** force-push to shared branches, skip hooks with `--no-verify`, or commit secrets.
Voir sur GitHub