一键导入
git
Git automation skill. Provides task selection UI when /git command is executed. Choose from commit, push, sync, merge operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Git automation skill. Provides task selection UI when /git command is executed. Choose from commit, push, sync, merge operations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Workflow for Agent Teams autonomous parallel development. Provides team lead orchestration guide and teammate execution protocol. Covers file ownership, communication, and merge strategy.
Generates standardized review reports for the code-reviewer agent. Called by reviewer agents to produce consistent, structured report output.
Development workflow for implementation tasks. Use when: implementing features, fixing bugs, creating components, writing routes, integrating APIs, or any task that involves writing production code. Provides the standard TDD-first development cycle with code review and validation steps. Do NOT use for research, documentation-only, or planning-only tasks.
Analyze and document project structure using framework-specific Clean Architecture templates. Supports: React Router Framework, Expo Router, NestJS. Auto-detects project type from config files or accepts explicit argument.
TDD (Test-Driven Development) rules and patterns. Use when: (1) Writing unit tests, (2) Determining test targets, (3) Following TDD cycle. Supports Expo, React Native, React Router, NestJS using Vitest/Jest.
| name | git |
| description | Git automation skill. Provides task selection UI when /git command is executed. Choose from commit, push, sync, merge operations. |
| model | opus |
| allowed-tools | ["Bash","Read","Glob","Grep","AskUserQuestion"] |
Select a task when the /git command is executed.
Parse the args parameter when the skill is invoked to separate the action and message.
| Input Example | Parsing Result |
|---|---|
| (none) | action=none, message=none |
"Login feature" | action=none, message="Login feature" |
commit | action=commit, message=none |
commit "Login feature" | action=commit, message="Login feature" |
sync | action=sync, message=none |
sync "Login feature" | action=sync, message="Login feature" |
push | action=push |
merge | action=merge |
commit, sync, push, merge → use that value as action, rest as messageCall AskUserQuestion tool to provide task selection UI.
{
"questions": [
{
"header": "Git Task",
"question": "Which Git operation would you like to perform?",
"multiSelect": false,
"options": [
{ "label": "commit", "description": "Analyze changes and commit" },
{ "label": "push", "description": "Push current branch" },
{ "label": "sync", "description": "Full workflow: add → commit → push" },
{ "label": "merge", "description": "Trunk-based merge (current branch → main)" }
]
}
]
}
/git "Login feature"):{
"questions": [
{
"header": "Git Task",
"question": "Which Git operation would you like to perform? (message: \"Login feature\")",
"multiSelect": false,
"options": [
{ "label": "commit", "description": "Commit with provided message" },
{ "label": "sync", "description": "add → commit → push with provided message" },
{ "label": "push", "description": "Push current branch (message not used)" },
{ "label": "merge", "description": "Trunk-based merge (message not used)" }
]
}
]
}
When Other is selected from UI:
| action | message | behavior |
|---|---|---|
| commit | none | Auto-generate message and commit |
| commit | exists | Commit with provided message |
| sync | none | Auto-generate message then add → commit → push |
| sync | exists | add → commit → push with provided message |
| push | - | Push immediately |
| merge | - | Ask about branch deletion, then merge |
| Operation | Reference Document |
|---|---|
| commit | references/commit.md |
| push | references/push.md |
| sync | references/sync.md |
| merge | references/merge.md |
<emoji> <type>[scope][!]: <description>
- [detailed change 1]
- [detailed change 2]
| Type | Emoji | Usage |
|---|---|---|
feat | ✨ | New feature |
fix | 🐛 | Bug fix |
docs | 📝 | Documentation changes |
style | 💄 | Code style |
refactor | ♻️ | Refactoring |
perf | ⚡ | Performance improvement |
test | ✅ | Tests |
chore | 🔧 | Config/build |
ci | 🚀 | CI/CD |
build | 📦 | Build system |
revert | ⏪ | Revert |
Detailed rules: references/commit-prefix-rules.md
Co-Authored-By pattern (e.g., Co-Authored-By: Claude ...)hotfix: type → Use fixmerge: type → Use Git auto-generated message