---
name: Conventional Commit
slug: conventional-commit
category: Automation
description: "Conventional Commit creates a single git commit that follows a team's Conventional Commit rules. Use it when you want to commit changes and need the message inferred from the current diff and status."
github: "https://github.com/CodelyTV/agent-harness/tree/main/.agents/skills/codely-git-conventional_commit"
language: Shell
stars: 242
forks: 6
install: "npx degit https://github.com/CodelyTV/agent-harness/tree/main/.agents/skills/codely-git-conventional_commit ~/.claude/skills/codely-git-conventional_commit"
installs_to: ~/.claude/skills/codely-git-conventional_commit
source_path: .agents/skills/codely-git-conventional_commit/SKILL.md
collection_size: 6
category_size: 1754
collection_url: "https://dirskills.com/collections/CodelyTV/agent-harness"
added: 2026-09-03T06:03:42.698Z
last_synced: 2026-09-03T06:03:42.698Z
canonical_url: "https://dirskills.com/skills/conventional-commit"
---

# Conventional Commit

Conventional Commit creates a single git commit that follows a team's Conventional Commit rules. Use it when you want to commit changes and need the message inferred from the current diff and status.

**Install:**

```bash
npx degit https://github.com/CodelyTV/agent-harness/tree/main/.agents/skills/codely-git-conventional_commit ~/.claude/skills/codely-git-conventional_commit
```

## README

## Context

If the user does not specify the commit message, gather context about the current Git changes to determine it: `git status`, `git diff HEAD`, the untracked files, the current branch and the recent commits.

## Your task

Create a single Git commit. Follow the conventions in [`resources/commit-messages.md`](resources/commit-messages.md) to determine the commit message if it has not been already specified.

## Co-authors

Always add a co-author trailer to the commit message with the following format:

```text
Co-Authored-By: {tool} - {model.name} {model.version} ({model.reasoning_effort}) <{tooling_email}>
```

- `tool`: The AI coding tool used (e.g. `Claude Code`, `Cursor`, `Copilot`, `Codex`)
- `model.name`: The name of the model used to make the change (e.g. `Claude Opus`, `Cursor Composer`, `OpenAI GPT`)
- `model.version`: The version of the model used to make the change (e.g. `4.6`, `1.5`, `5.4`)
- `model.reasoning_effort`: The reasoning effort of the model used to make the change (e.g. `low`, `medium`, `high`)
- `tooling_email`:
  - Claude Code: `noreply@anthropic.com`
  - Cursor: `cursoragent@cursor.com`
  - Copilot: `copilot@github.com`
  - Codex: `codex@openai.com`
