بنقرة واحدة
git-commit
创建高质量的 git commit,包括查看状态、生成提交信息、提交更改。用于用户请求提交 git、创建 commit、保存代码更改时。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
创建高质量的 git commit,包括查看状态、生成提交信息、提交更改。用于用户请求提交 git、创建 commit、保存代码更改时。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Use when analyzing agno-cookbook Python source files to generate implementation principle documentation (.md). Use when the user asks to generate code analysis, implementation docs, or principle documentation for .py files.
Use when the user asks to commit git changes, create a commit, or save code changes. Creates well-formatted conventional commits with Chinese descriptions.
Use when migrating Agno project code from Gemini, OpenAIResponses, or OpenAIChat to GLM model (OpenAILike). Use when switching models, replacing Gemini/OpenAI with GLM, or configuring OpenAI-compatible models.
Use when translating Python project files (comments, docstrings, instructions, markdown) from English to Chinese. Use when the user asks to translate code comments, README, documentation, or AI prompt instructions to Chinese.
将 Agno 项目代码从 Gemini、OpenAIResponses 或 OpenAIChat 迁移到 GLM 模型(OpenAILike)。用于用户需要切换模型、替换 Gemini/OpenAI 为 GLM、配置 OpenAI 兼容模型时。
Translate Python project files (comments, docstrings, instructions, markdown) from English to Chinese. Use when the user asks to translate code comments, README, documentation, or AI prompt instructions to Chinese in a Python project.
| name | git-commit |
| description | 创建高质量的 git commit,包括查看状态、生成提交信息、提交更改。用于用户请求提交 git、创建 commit、保存代码更改时。 |
帮助用户创建规范的 git commit,自动生成提交信息并执行提交操作。
并行执行以下命令获取完整上下文:
git status # 查看所有变更文件
git diff --stat # 查看变更统计
git log -3 --oneline # 查看最近 3 次提交记录(学习提交风格)
根据变更文件自动识别:
遵循 Conventional Commits 规范:
<type>: <简短描述>
<详细说明(可选)>
- 变更点 1
- 变更点 2
常用 type:
feat: 新功能fix: 修复 bugdocs: 文档更改refactor: 代码重构perf: 性能优化test: 测试相关chore: 构建/工具相关style: 代码格式(不影响功能)使用 HEREDOC 格式确保多行提交信息正确:
git add . && git commit -m "$(cat <<'EOF'
<提交信息>
EOF
)"
简短描述(第一行)
详细说明(可选)
中文提交
更新翻译技能工作流程和性能优化建议
- 增加并行处理策略(小/中/大型任务)
- 补充 Task 提示词模板
- 扩展术语表(Session、State、RAG 等)
翻译 02_agents 目录所有文件为中文
- 翻译所有 .py 文件的注释和 docstring
- 翻译所有 .md 文件内容
- 保留技术术语英文(Agent、Workflow 等)
feat: 支持多模态输入处理
- 添加图像处理模块
- 集成音频转文字功能
- 更新文档示例
提交前检查
提交粒度
学习项目风格
git log 学习项目提交习惯HEREDOC 格式
'EOF' 避免变量展开