From git
创建符合规范的 git commit,自动从分支名提取 Task ID。当用户说"帮我提交"、"commit"、"提交代码"、"commit 一下"时触发。
npx claudepluginhub taptap/claude-plugins-marketplaceThis skill uses the workspace's default tool permissions.
- 当前 git 状态:!`git status`
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
git statusgit branch --show-currentgit diff HEAD --statgit log --oneline -5printenv GIT_ALLOW_NO_TICKET || echo true概要: 检测默认分支并在必要时创建新分支
检测默认分支:使用三级检测方法(详见 默认分支检测)
git symbolic-ref refs/remotes/origin/HEAD判断是否需要创建分支:如果当前在默认分支,需要创建新的功能分支
三级优先级策略(详见 任务ID提取):
git branch --show-current | grep -oE 'TAP-[0-9]+'关键点: 纯数字ID必须转换为 TAP-xxx 格式
执行流程:
git diff 确定 commit type(feat/fix/refactor等)Commit格式速览:
type(scope): 中文描述 #TASK-ID
## 改动内容
- 列出主要改动点
## 影响面
- 说明影响的模块、功能
Generated-By: Claude Code <https://claude.ai/code>
Co-Authored-By: Claude <noreply@anthropic.com>
必填项验证: ## 改动内容 和 ## 影响面 两个章节必须填写,缺一不可。