Skip to main content

commit-conventions

Write disciplined git commits. Use whenever committing changes or writing commit messages — conventional-commit subjects, and never commit directly to main.

Informations de source

Dépôt
getsentry/skillet
Dernière activité de la source
11 juillet 2026 à 16:36
Langue détectée de SKILL.md
anglais
Étoiles
12
Forks
2

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.

Explorateur de fichiers
4 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
commit-conventions
spec_hash
72a46e94f7ef
description
Write disciplined git commits. Use whenever committing changes or writing commit messages — conventional-commit subjects, and never commit directly to main.
# Commit Conventions When committing changes, follow these rules without being asked: ## Subject format Write every commit subject as `<type>(<scope>): <description>`: - Types: `feat`, `fix`, `docs`, `test`, `ref` (refactor), `chore`. Scope is optional. - Imperative, present tense: "Add null check", not "Added" or "Adds". - At most 70 characters. No trailing period. - Describe the actual change, not the activity ("fix(api): Handle null user response", never "update code"). Example: after fixing a missing null check in `app.js`: ``` fix(app): Handle null result in user lookup ``` ## Branch safety Before committing, check the current branch (`git branch --show-current`): - On `main` or `master`: create a feature branch first — `git checkout -b <type>/<short-description>` — then commit there. Never commit directly to main, even for small changes. - Already on a feature branch: commit there. ## Never - Never amend, rebase, or force-push existing history unless the user explicitly asks. - Never bundle unrelated changes into one commit — mention anything you left unstaged.
Voir sur GitHub