git-conventions
Git commit message conventions and workflow rules. Use when making git commits, pushing changes, or performing git operations.
Latest: v1.0.0
Initial release of git-conventions skill:
- Introduces semantic commit message format:
<type>(<scope>): <subject> - Defines standard commit types: feat, fix, docs, style, refactor, test, chore
- Outlines rules for language (English only), force push confirmation, and mandatory sign-off
- Requires consolidation of changes into meaningful commits
- Adds user prompt before pushing to remote repository
- Displays repository access URL after successful push
Git Commit Conventions
Commit Message Format
Use semantic commit format: <type>(<scope>): <subject>
Commit Types
feat: add new featurefix: correct bugdocs: update documentationstyle: format code (no functional changes)refactor: restructure codetest: add/modify testschore: update build tasks
Workflow Rules
-
Language: Use English only for git commit messages.
-
Force Push: Always confirm before
git push --force. -
Sign-off: Include
--signoffflag with all commits. -
Consolidation: Consolidate changes into meaningful commits.
-
Push Confirmation: After making a local commit, ALWAYS prompt the user whether they want to push to the remote repository.
-
Display URL: After successfully pushing to remote, display the repository's access URL.
