# Git Commit Message

> Git Commit Message is an Agent Skill for development published in the werf/werf repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Generates git commit messages according to werf conventions. Use after staging changes.

- Skill name: `git-commit-message`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/werf/werf/blob/HEAD/.agents/skills/git-commit-message/SKILL.md
- Repository: werf/werf (4,706 GitHub stars when collected)

## SKILL.md

# Git Commit Message Generation

## Instructions

1. Read types, scopes, subject rules, and body rules from `CONTRIBUTING.md#conventions`.
2. Analyze `git diff --cached` to determine the primary type and scope.
3. Use the following format:

   ```
   <type>(<scope>): <subject>

   <body>
   ```

4. Follow these rules:
   - **Header:** ≤ 72 characters. Nested scopes are allowed.
   - **Subject:** imperative, lower-case, no trailing period.
   - **Body:** imperative, include motivation for the change, contrast with previous behavior.
5. Output ONLY the commit message (header + body), with no additional text, quotes, or formatting.

---

Source: https://www.openparable.com/skill/development/git-commit-message (OpenParable). Cite the canonical URL above.
