commit-message

Generate standardized Git commit messages from diffs using a Chinese template.

95|39|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/liuminxin45/auto-podcast --skill commit-message-liuminxin45
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/liuminxin45/auto-podcast/tree/main/.agents/spec-kit/skills/commit-message
Command: npx skills add https://github.com/liuminxin45/auto-podcast --skill commit-message-liuminxin45

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you write Git commit messages that match a strict team template, so commits stay consistent, reviewable, and easy to validate.

Core Features & Use Cases

  • Template Enforcement: Produces messages in the exact required section order with the approved Chinese labels.
  • Diff-to-Message Conversion: Infers commit content from structured inputs or from a code diff when fields are not provided.
  • Commit Workflow Support: Helps create or amend commits while preserving formatting rules such as wrapping and complete required sections.
  • Use Case: A developer finishes a feature branch and needs a standardized commit message that summarizes the change, explains impact, and records self-test results.

Quick Start

Ask the skill to generate a commit message from your diff and return only the final text in the approved template.

Frequently Asked Questions about commit-message

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

FAQPage Schema
How do I generate a standardized Git commit message from a diff?

To generate a standardized Git commit message from a diff, provide the code diff to the skill. It infers commit content and returns final text formatted in the approved Chinese multi-section template.

What is the required structure for Chinese team commit messages?

The required structure for Chinese team commit messages uses a strict multi-section template with approved labels. The skill enforces specific section order, line-length wrapping, and complete required sections before validation.

Can I amend a previous commit while preserving template formatting rules?

Yes, you can amend a previous commit while preserving template formatting rules. The skill supports commit workflow actions like creation and amendment, ensuring wrapping and required sections remain intact.

How do I enforce line-length wrapping and UTF-8 file writing for commit messages?

To enforce line-length wrapping and UTF-8 file writing for commit messages, the skill automatically applies these constraints during generation. It validates the structured change inputs before finalizing the commit creation.

Does this commit message generator work for bug fixes and maintenance commits?

Yes, this commit message generator works for bug fixes and maintenance commits. It applies the approved Chinese multi-section template across feature work, bug fixes, and maintenance commits to keep records consistent and reviewable.

What is the best way to ensure my commit messages pass team validation checks?

The best way to ensure commit messages pass team validation checks is to generate them using a strict template. This skill enforces section order and formatting rules, producing compliant text ready for review.