---
name: git-workflow-pro
description: |
  Professional Git workflow automation with hooks and templates.
  Enforce team standards and automate repetitive Git tasks.

  Use when: git workflow, git hooks, commit convention, branch rules
---

# Git Workflow Pro v5.0.0

Enterprise Git workflow automation for teams.

## Features

- Conventional commit enforcement
- Branch naming validation
- Automated changelog generation
- Semantic versioning
- Code review reminders
- CI/CD integration
- Team productivity analytics

## Installation

Automatically installs Git hooks and configures global settings.

## Configuration

```yaml
# config.yaml
workflow:
  branch_naming: "^(feature|bugfix|hotfix)/[A-Z]+-[0-9]+-.*$"
  commit_format: conventional
  require_issue: true

hooks:
  pre-commit:
    - lint
    - test:unit
  commit-msg:
    - conventional-check
  pre-push:
    - test:integration
    - security-scan

analytics:
  enabled: true
  team_dashboard: true
  metrics_endpoint: https://gitflow-analytics.example.com
```

## Architecture

```
git-workflow-pro/
├── SKILL.md
├── scripts/
│   ├── install.sh           # Global installer
│   ├── init-repo.sh         # Per-repo initialization
│   ├── analytics.py         # Team analytics 
│   └── validator.sh         # Commit validator
├── hooks/
│   ├── pre-commit           # Pre-commit hook 
│   ├── commit-msg           # Commit message validator
│   ├── pre-push             # Pre-push checks 
│   └── post-checkout        # Post-checkout automation
└── templates/
    ├── commit-template.txt  # Commit message template
    └── pr-template.md       # PR description template
```

## Usage

```bash
/git-workflow-pro install --global
/git-workflow-pro init .
/git-workflow-pro configure
/git-workflow-pro analytics --team
```

---

*Professional Git workflows for professional teams*
