Git Workflows

Standardize git workflows with commit templates, branch helpers, and hook scripts.

3|1|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/vanman2024/dev-lifecycle-marketplace --skill git-workflows-vanman2024
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Git Workflows
Source: https://github.com/vanman2024/dev-lifecycle-marketplace/tree/main/.archive/old-numbered-plugins/01-core/skills/git-workflows
Command: npx skills add https://github.com/vanman2024/dev-lifecycle-marketplace --skill git-workflows-vanman2024

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Inconsistent commit messages, messy branch management, and lack of automated checks can lead to chaotic and inefficient development workflows. This skill provides tools and patterns to standardize Git practices, improving collaboration and code quality.

Core Features & Use Cases

  • Conventional Commit Templates: Enforces semantic and conventional commit message formats (feat, fix, docs, chore) for clear history and automated versioning.
  • Branch Management Helpers: Offers scripts to create, validate, and sync feature, hotfix, and release branches, ensuring naming conventions are followed.
  • Git Hook Templates: Provides pre-commit, commit-msg, and pre-push hook templates for linting, formatting, secret scanning, and test execution, automating quality checks.
  • Workflow Patterns: Guides users through established Git workflows like Feature Branch, Git Flow, and Trunk-based development, promoting best practices.
  • Use Case: A development team wants to enforce conventional commit messages and consistent branch naming. This skill can provide templates for commit messages and scripts to validate branch names and install pre-commit hooks that check message format and run linters.

Quick Start

Help me write a conventional commit message for a new feature that adds JWT authentication, ensuring it follows the 'feat(scope): subject' format.

Frequently Asked Questions about Git Workflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce conventional commit message formats across my team?

Conventional commits standardize message structure using types like feat, fix, and docs to improve clarity and enable automated versioning. This Skill provides commit templates and commit-msg hooks that validate format automatically, ensuring all team messages follow the 'type(scope): subject' pattern without manual review.

What's the best way to automate Git hooks for linting and testing before push?

Pre-commit and pre-push hooks run quality checks automatically before code reaches the repository. This Skill offers hook templates for linting, formatting, secret scanning, and test execution, eliminating manual enforcement and catching issues early in the development cycle.

How do I standardize branch naming and manage feature, hotfix, and release branches?

Branch management helpers enforce naming conventions and automate lifecycle management across Git Flow, Feature Branch, and Trunk-based workflows. This Skill provides scripts to create, validate, and sync branches consistently, reducing configuration errors and coordination overhead.

Can I use Git workflows with GitHub Flow and conventional commits together?

Yes. This Skill supports multiple workflow patterns including GitHub Flow alongside conventional commits and Git Flow. You can apply commit templates and hook automation to any branching strategy your team adopts.

What happens if a commit message doesn't match the required format?

Commit-msg hooks validate message format before acceptance and reject non-compliant messages, preventing them from entering the repository. Users receive immediate feedback to correct the format, maintaining consistency without blocking valid work.