创建符合规范的 git commit,自动从分支名提取 Task ID
## Context - 当前 git 状态: !`git status` - 当前分支: !`git branch --show-current` - Staged 和 unstaged 变更: !`git diff HEAD --stat` - 最近提交历史: !`git log --oneline -5` ## Your Task ### 第一步:检查当前分支 详细逻辑参见:[command-procedures.md](../skills/git-flow/command-procedures.md#分支检查逻辑) **概要:** 如果当前在 master 或 main 分支: 1. **检查用户输入**是否包含任务链接或任务 ID(TAP-xxx) - 飞书链接:`https://*.feishu.cn/**` - Jira 链接:`https://xindong.atlassian.net/browse/TAP-xxxxx` 2. **处理分支创建** - ✅ 如果找到任务 ID:询问分支描述,创建 `feat-TAP-xxxxx-description` 分支 - ❌ 如果没有:**中断命令**,提示用户提供任务链接/ID ### 第二步:提取任务 ID 详细步骤参见:[command-procedures.md](.....
Create a git commit
Generate an AI-powered conventional commit message from your git diff and commit changes
Generate an AI-powered conventional commit message from your git diff and commit changes
Creates git commits using conventional commit format with appropriate emojis, following project standards and creating descriptive messages that explain the purpose of changes.
Creates git commits using conventional commit format with appropriate emojis, following project standards and creating descriptive messages that explain the purpose of changes.