AugmentClaude

Chinese Commit Conventions

Configure git commits and changelogs following Chinese-adapted Conventional Commits standards.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/chinese-commit-conventions-jnmetacode/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Use when a repository follows Chinese-language Conventional Commits — writes commit messages and changelogs in the Chinese-adapted convention.

What this skill does

This skill helps teams adopt Conventional Commits adapted for Chinese-language development. It provides standardized commit message formats, changelog generation, and automated validation using industry-standard tools. By combining type prefixes (feat, fix, docs, etc.) with Chinese-language scope and description, teams maintain consistency while keeping tool compatibility intact.

What it does

  • Commit message template: Uses the format <type>(<scope>): <description> with types in English (feat, fix, docs, style, refactor, perf, test, chore, ci, revert) and scope and description in Chinese
  • Body guidelines: Details how to explain the "why," technical approach, and impact range; recommends 72 characters (or ~36 Chinese characters) per line
  • Breaking changes: Requires explicit BREAKING CHANGE footer notation or ! suffix for incompatible modifications (API changes, database schema updates, config format changes)
  • Issue linking: Supports GitHub (Closes #128), Gitee (Closes #I5ABC1), Coding, and custom platforms (Jira, Zentao)
  • Automated changelog: Generates changelogs via conventional-changelog-cli configured with Chinese section headings through .versionrc.js
  • Linting and validation: Uses commitlint with custom rules allowing Chinese characters; integrates with husky hooks to enforce standards pre-commit

How to use it

Provide your repository's commit history, branch name, and description of the change you're making. Claude will write a properly formatted commit message following the Chinese-adapted Conventional Commits standard, draft changelog entries if needed, and suggest commitlint.config.js and .versionrc.js configurations for your team. You can also ask for help setting up the full toolchain with commitizen, lint-staged, and git hooks.

Related skills