Git Commit Message
Developmentgit-commit-messageGit 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/werf/werf/blob/HEAD/.agents/skills/git-commit-message/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/git-commit-message, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Git Commit Message Generation
Instructions
-
Read types, scopes, subject rules, and body rules from
CONTRIBUTING.md#conventions. -
Analyze
git diff --cachedto determine the primary type and scope. -
Use the following format:
<type>(<scope>): <subject> <body> -
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.
-
Output ONLY the commit message (header + body), with no additional text, quotes, or formatting.