forked from basher83/Zammad-MCP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitmessage
More file actions
54 lines (49 loc) · 1.74 KB
/
Copy path.gitmessage
File metadata and controls
54 lines (49 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Zammad MCP Commit Message Template
#
# Format: <emoji> <type>(<scope>): <subject>
#
# RULES:
# - Subject line: 50 chars recommended, 72 max
# - Use imperative mood ("add" not "added")
# - No period at the end of subject
# - Separate subject from body with blank line
# - No Claude Code signatures or Co-Authored-By
# ============ TYPES ============
# 🎯 feat - New feature or capability
# 🐛 fix - Bug fix
# 📚 docs - Documentation only
# 🔧 refactor - Code change that neither fixes nor adds
# ⚡ perf - Performance improvement
# ✅ test - Adding or updating tests
# 🔨 build - Build system or dependencies
# 👷 ci - CI/CD configuration
# 🧹 chore - Maintenance, no production code change
# 🎨 style - Code formatting (black, ruff)
# ============ SCOPES ============
# server - MCP server implementation (server.py)
# client - Zammad API client (client.py)
# models - Pydantic models (models.py)
# tests - Test files
# docs - Documentation files
# scripts - Setup/utility scripts
# deps - Dependencies (pyproject.toml)
# docker - Containerization
# ci - GitHub Actions
# ============ EXAMPLES ============
# GOOD:
# 🎯 feat(server): add ticket attachment support
# 🐛 fix(client): handle OAuth2 token refresh
# 📚 docs: update MCP integration guide
# 🔧 refactor(models): simplify validation logic
# ✅ test(server): cover error handling paths
# BAD:
# Added new feature → Missing emoji and type
# 🎯 feat: updated server.py → Not imperative
# 🐛 fix(client): fixed the bug. → Has period
# 🔧 refactor: massive changes → Too vague
# ============ TEMPLATE ============
# <emoji> <type>(<scope>): <what changed>
#
# <why this change was made>
#
# <additional context if needed>