mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-07-07 11:17:48 +02:00
89e89d4aa3
Add Chinese (Simplified) translations for all documentation, organized under a dedicated zh/ directory that mirrors the English folder structure. Co-authored-by: tanqingkuang <tanqingkuang@users.noreply.github.com> Translations originally contributed by @tanqingkuang in #45. Restructured from *-CN.md suffix pattern into zh/ directory to prevent the EPUB builder (scripts/build_epub.py collect_folder_files) from picking up Chinese files via glob("*.md") inside module folders.
27 lines
725 B
Markdown
27 lines
725 B
Markdown
---
|
|
allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*), Bash(git diff:*)
|
|
argument-hint: [message]
|
|
description: 创建带上下文的 Git 提交
|
|
---
|
|
|
|
## 上下文
|
|
|
|
- 当前 git 状态: !`git status`
|
|
- 当前 git diff: !`git diff HEAD`
|
|
- 当前分支: !`git branch --show-current`
|
|
- 最近的提交: !`git log --oneline -10`
|
|
|
|
## 你的任务
|
|
|
|
根据上面的变更创建一个单独的 Git 提交。
|
|
|
|
如果通过参数传入了 message,就直接使用它:$ARGUMENTS
|
|
|
|
否则,分析这些变更,并按照 conventional commits 格式生成合适的提交信息:
|
|
- `feat:` 新功能
|
|
- `fix:` 修复 bug
|
|
- `docs:` 文档变更
|
|
- `refactor:` 代码重构
|
|
- `test:` 新增测试
|
|
- `chore:` 维护任务
|