commit-helper

Generate conventional commit messages from staged Git changes.

8|1|Updated Mar 30, 2025
One-click install
npx skills add https://github.com/C0ntr0lledCha0s/logseq-template-graph --skill commit-helper-c0ntr0lledcha0s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-helper
Source: https://github.com/C0ntr0lledCha0s/logseq-template-graph/tree/main/.claude/skills/commit-helper
Command: npx skills add https://github.com/C0ntr0lledCha0s/logseq-template-graph --skill commit-helper-c0ntr0lledcha0s

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solves? Writing consistent, high-quality conventional commit messages can be tricky and time-consuming. This skill automates the process, ensuring your commit history is clean, readable, and adheres to project standards.

Core Features & Use Cases

  • Automated Commit Generation: Analyzes your staged Git changes and suggests a conventional commit message (type, scope, description, body, footer).
  • Commit Validation: Checks for correct format, type, scope, and length, preventing common mistakes.
  • Use Case: After adding a new Recipe class, use this skill to instantly generate a feat(classes): add Recipe class with cooking properties commit message, complete with a detailed body.

Quick Start

Suggest a conventional commit message for my current staged Git changes, focusing on adding a new feature.

Frequently Asked Questions about commit-helper

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

FAQPage Schema
How do I generate conventional commit messages for my Git changes?

Conventional commit messages follow a structured format (type, scope, description) that automates commit generation by analyzing your staged Git changes. This skill examines what you've modified and suggests a properly formatted message like `feat(classes): add Recipe class`, ensuring consistency and readability across your project history.

What is a conventional commit and why does it matter?

A conventional commit is a standardized format specifying type (feat, fix, docs, style, refactor, perf, test, chore) and scope to create machine-readable, semantic commit history. It enables automated changelog generation, clearer code review, and project standards enforcement without manual formatting overhead.

Can this tool validate my commit messages for errors?

Yes, commit validation checks format correctness, verifies type and scope against convention rules, enforces description length under 72 characters, and prevents common mistakes. It catches structural problems before commits are recorded, maintaining clean version control history.

How do I structure a commit message with body and footer sections?

After the initial description line, conventional commits support an optional body explaining rationale and references, plus a footer documenting breaking changes. This skill generates all sections from your staged changes, creating complete commit messages with context for future developers.

What Git scopes does this skill cover?

The skill handles scoped changes across templates, classes, properties, docs, CI workflows, and build scripts, supporting new features, bug fixes, documentation updates, style changes, refactors, performance improvements, tests, and breaking changes in a single conventional format.

Do I need prior knowledge of Git or version control to use this?

Basic familiarity with staged Git changes helps, but the skill automates the convention rules—you stage changes and it generates the formatted message. No deep version control expertise required; the skill handles format enforcement and validation automatically.