commit

Enforce conventional git commit formats and block Co-Authored-By metadata.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/mattpainter701/my-claude-setup --skill commit-mattpainter701
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/mattpainter701/my-claude-setup/tree/main/claude-config/global-skills/commit
Command: npx skills add https://github.com/mattpainter701/my-claude-setup --skill commit-mattpainter701

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Task-aware git commits. Enforces conventional commit format, no Co-Authored-By, and ensures TASKS.md + CHANGELOG.md are updated when they exist.

Core Features & Use Cases

  • Enforces conventional commit format for all commits.
  • Blocks Co-Authored-By metadata in commits.
  • Updates TASKS.md and CHANGELOG.md when present to reflect changes and releases.
  • Provides guidance for composing commit messages and validating staged changes.

Quick Start

Use the commit skill to create a task-aligned commit that updates related task/tracking files.

Frequently Asked Questions about commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce conventional commit formats in git automatically?

Conventional commit formats are enforced by validating staged changes against required type prefixes, ensuring structured git history. It guides composing compliant messages and blocks unauthorized metadata like Co-Authored-By lines.

How do I automatically update CHANGELOG.md and TASKS.md when making a git commit?

To update CHANGELOG.md and TASKS.md during a git commit, the commit process detects these files when present and automatically reflects work items and releases in their content.

What is a task-aware git commit and how does it work?

A task-aware git commit aligns code changes with documented work items by enforcing conventional commit formats and synchronizing updates to TASKS.md and CHANGELOG.md when they exist in the repository.

Can I prevent Co-Authored-By metadata from being added to my git commits?

Yes, you can block Co-Authored-By metadata in git commits by enforcing a validation rule that strips or rejects unauthorized author metadata during the commit creation process.

Do I need TASKS.md and CHANGELOG.md files to use conventional commits?

No, you do not need TASKS.md and CHANGELOG.md files to use conventional commits. The format enforcement applies to all git projects, only updating these tracking files when they are already present.