Skip to content
Skill

gc

by whtoo

AI Summary

A Git commit helper that automatically groups modified files by project structure and generates standardized commit messages following conventional commit format. Ideal for developers working on structured projects (like compilers or multi-module systems) who want faster, more consistent Git workflows.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "gc" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (3 files)
mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/whtoo/How_to_implment_PL_in_Antlr4/main/.claude/commands/gc.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/ga.md "https://raw.githubusercontent.com/whtoo/How_to_implment_PL_in_Antlr4/main/.claude/commands/ga.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/gs.md "https://raw.githubusercontent.com/whtoo/How_to_implment_PL_in_Antlr4/main/.claude/commands/gs.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

快速创建规范的git提交,自动按文件路径分组并生成标准提交信息

命令用途

快速创建符合项目规范的 git commit,自动分析修改文件并生成标准化提交信息。

参数说明

• [提交信息]: 可选,如果不提供则自动生成

1. 分析修改

`bash git status --short # 查看未暂存文件 git diff --name-only # 查看已修改文件 `

2. 智能分组

按以下规则自动分组: • ep{NN}/** → ep{NN}组(例如:ep18、ep21) • docs/** → docs组 • tests/ 或 /test/*/.java → test组 • .claude/** → config组 • 其他 → 根目录组

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
33 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars33
Forks5
Issues0
Updated2mo ago
View on GitHub
BSD-3-Clause License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code