commit

Generate Chinese Git commit messages with Co-Authored-By and stage changes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BeiBei-Clic/ai-skills --skill commit-beibei-clic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/BeiBei-Clic/ai-skills/tree/main/commit
Command: npx skills add https://github.com/BeiBei-Clic/ai-skills --skill commit-beibei-clic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you produce clear, consistent, and review-friendly Git commit messages in Chinese while ensuring changes are properly staged and committed.

Core Features & Use Cases

  • Structured Chinese Commit Message: Enforces a format with a short summary, optional detailed explanation, and a required Co-Authored-By signature.
  • Commit Workflow Automation: Guides you to inspect repo status, review diffs, check recent history for style, stage the right files, and create the commit.
  • Safety Guardrails: Reduces the risk of accidentally committing sensitive files and discourages problematic commit options such as amend.

Quick Start

When you ask to commit changes, say: "Use the commit skill to inspect my current Git repo, write a Chinese commit message that follows your rules (including Co-Authored-By), stage the appropriate files, and commit."

Frequently Asked Questions about commit

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

FAQPage Schema
How do I write a Chinese Git commit message that matches my team's style?

To write a Chinese Git commit message, inspect recent repository history for style, review your current diffs, stage changes, and commit using a structured summary with an optional detailed explanation and required Co-Authored-By signature.

What is the best way to automate staging changes and generating a commit summary?

The best way to automate staging changes is to inspect git status and diffs, validate the message format with a required Co-Authored-By line, and run git add followed by git commit to safely summarize code edits.

Does the commit workflow support adding a Co-Authored-By signature automatically?

Yes, the commit workflow enforces a required Co-Authored-By signature line in the Chinese commit message, ensuring proper attribution while generating a review-friendly summary of your repository changes.

How do I review git diffs before creating a commit to avoid staging sensitive files?

Reviewing git diffs before committing reduces the risk of accidentally staging sensitive files, as the workflow inspects repository status and changes to validate the commit message and stage only the appropriate files.

Why should I avoid using git commit amend when summarizing code edits?

You should avoid using amend because the workflow includes safety guardrails that discourage problematic commit options, protecting your repository history while ensuring changes are properly staged and committed with a clear Chinese message.

Can I use this commit workflow to enforce a structured Chinese message format in version control?

Yes, you can use this workflow to enforce a structured Chinese message format in version control by generating summaries that match repository changes, including a short summary, optional detailed explanation, and Co-Authored-By line.