git — for Claude Code cc-ecosystem, community, for Claude Code, ide skills, "Login feature", commit, commit "Login feature", sync "Login feature", issue "Login feature", pr "Login feature"

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need git automation skill. 本地化技能摘要: # Git Automation Skill Select a task when the /git command is executed. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Git Automation Skill
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
--------------- ----------------

# 核心主题

onepunch-tk onepunch-tk
[0]
[0]
更新于: 4/4/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
55
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need git automation skill. 本地化技能摘要: # Git Automation Skill Select a task when the /git command is executed. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: git helps agents git automation skill. Git Automation Skill Select a task when the /git command is executed. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

适用 Agent 类型

适用场景: Ideal for AI agents that need git automation skill.

赋予的主要能力 · git

适用任务: Applying Git Automation Skill
适用任务: Applying Select a task when the /git command is executed
适用任务: Applying Parse the args parameter when the skill is invoked to separate the action and message

! 使用限制与门槛

  • 限制说明: AskUserQuestion is unavailable (terminal only)
  • 限制说明: Note : issue, pr, release options are only shown when Remote Platform: GitHub is set in
  • 限制说明: Requires repository-specific context from the skill documentation

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

git 是什么?

适用场景: Ideal for AI agents that need git automation skill. 本地化技能摘要: # Git Automation Skill Select a task when the /git command is executed. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 git?

运行命令:npx killer-skills add onepunch-tk/cc-ecosystem/git。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

git 适用于哪些场景?

典型场景包括:适用任务: Applying Git Automation Skill、适用任务: Applying Select a task when the /git command is executed、适用任务: Applying Parse the args parameter when the skill is invoked to separate the action and message。

git 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

git 有哪些限制?

限制说明: AskUserQuestion is unavailable (terminal only);限制说明: Note : issue, pr, release options are only shown when Remote Platform: GitHub is set in;限制说明: Requires repository-specific context from the skill documentation。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add onepunch-tk/cc-ecosystem/git。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    git 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

git

# Git Automation Skill Select a task when the /git command is executed. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows. Git

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Git Automation Skill

Select a task when the /git command is executed.

Argument Parsing

Parse the args parameter when the skill is invoked to separate the action and message.

Parsing Rules

Input ExampleParsing Result
(none)action=none, message=none
"Login feature"action=none, message="Login feature"
commitaction=commit, message=none
commit "Login feature"action=commit, message="Login feature"
syncaction=sync, message=none
sync "Login feature"action=sync, message="Login feature"
pushaction=push
mergeaction=merge
issueaction=issue, message=none
issue "Login feature"action=issue, message="Login feature"
praction=pr, message=none
pr "Login feature"action=pr, message="Login feature"
releaseaction=release, message=none
release "v1.0.0"action=release, message="v1.0.0"

Parsing Method

  1. If args starts with quotes → treat entire content as message (no action)
  2. If args starts with commit, sync, push, merge, issue, pr, release → use that value as action, rest as message
  3. Otherwise → no action, treat entire content as message

Execution Flow

1. If no action → Display task selection UI

Channel Detection: When the request originates from an external channel message (<channel source="plugin:discord:discord" ...>):

  • AskUserQuestion is unavailable (terminal only)
  • Send task selection options as text via Discord reply, then wait for user's response
  • Example reply:
    Select a git operation:
    1. commit — Analyze changes and commit
    2. push — Push current branch
    3. sync — add → commit → push full workflow
    4. merge — Trunk-based merge (current branch → main)
    

Terminal: Call AskUserQuestion tool to provide task selection UI.

GitHub Mode Detection

Before displaying options, check CLAUDE.md Remote Platform setting:

  • GitHub → show all options including issue, pr, release
  • Not set / empty → hide issue, pr, release options

If no message:

json
1{ 2 "questions": [ 3 { 4 "header": "Git Task", 5 "question": "Which Git operation would you like to perform?", 6 "multiSelect": false, 7 "options": [ 8 { "label": "commit", "description": "Analyze changes and commit" }, 9 { "label": "push", "description": "Push current branch" }, 10 { "label": "sync", "description": "Full workflow: add → commit → push" }, 11 { "label": "issue", "description": "Create GitHub Issue (GitHub Mode)" }, 12 { "label": "pr", "description": "Create PR + merge to development (GitHub Mode)" }, 13 { "label": "merge", "description": "Local merge to development (Local Mode)" }, 14 { "label": "release", "description": "Release: development → main PR + tag (GitHub Mode)" } 15 ] 16 } 17 ] 18}

Note: issue, pr, release options are only shown when Remote Platform: GitHub is set in CLAUDE.md. merge is only shown when GitHub is NOT configured (Local Mode). In GitHub Mode, /git merge redirects to /git pr.

If message exists (e.g., /git "Login feature"):

json
1{ 2 "questions": [ 3 { 4 "header": "Git Task", 5 "question": "Which Git operation would you like to perform? (message: \"Login feature\")", 6 "multiSelect": false, 7 "options": [ 8 { "label": "commit", "description": "Commit with provided message" }, 9 { "label": "sync", "description": "add → commit → push with provided message" }, 10 { "label": "issue", "description": "Create Issue with provided message (GitHub Mode)" }, 11 { "label": "pr", "description": "Create PR with provided message (GitHub Mode)" }, 12 { "label": "push", "description": "Push current branch (message not used)" }, 13 { "label": "merge", "description": "Local merge to development (Local Mode, message not used)" }, 14 { "label": "release", "description": "Release with version (GitHub Mode)" } 15 ] 16 } 17 ] 18}

When Other is selected from UI:

  • Treat input as message for commit/sync operations

2. If action exists → Execute that operation directly

actionmessagebehavior
commitnoneAuto-generate message and commit
commitexistsCommit with provided message
syncnoneAuto-generate message then add → commit → push
syncexistsadd → commit → push with provided message
push-Push immediately
issuenoneAuto-generate title from context and create Issue
issueexistsCreate Issue with provided title
prnoneAuto-generate PR body and create PR + merge
prexistsCreate PR with provided description + merge
merge-Local Mode: merge to development. GitHub Mode: redirect to /git pr
releasenoneCreate release PR (development → main) + auto-detect version
releaseexistsCreate release PR with provided version tag

3. Reference Documents by Operation

OperationReference DocumentMode
commitreferences/commit.mdAll
pushreferences/push.mdAll
syncreferences/sync.mdAll
issuereferences/issue.mdGitHub only
prreferences/pr.mdGitHub only
mergereferences/merge.mdLocal only
releasereferences/release.mdGitHub only

Common Rules

Commit Message Format (Conventional Commits)

<emoji> <type>[scope][!]: <description>

- [detailed change 1]
- [detailed change 2]

Type & Emoji Map

See references/commit-prefix-rules.md for the complete type/emoji table.

Commit Message Rules

  • Subject under 72 characters (including emoji + type + scope)
  • Imperative mood ("Add" not "Added")
  • Atomic commits (single purpose)
  • Split unrelated changes

Language Rules

  • Commit messages, Issue titles, PR titles: Detect user's language from conversation context and write in the same language
  • Variable/function names: English
  • All user-facing output (summaries, status messages): Match user's language

Prohibited [Important]

  • Do NOT use Co-Authored-By pattern (e.g., Co-Authored-By: Claude ...)
  • Do NOT use non-standard types (types not in the table above)
  • Do NOT use hotfix: type → Use fix
  • Do NOT use merge: type → Use Git auto-generated message
  • No force push (Exception: --force-with-lease after interactive rebase, with user confirmation)

GitHub Mode

Operations marked "GitHub only" require Remote Platform: GitHub in CLAUDE.md.

When Remote Platform is not set or empty:

  • issue, pr, release → inform the user that GitHub configuration is required (Remote Platform: GitHub in CLAUDE.md)
  • merge → use Local Mode (direct git merge to development)

When GitHub is configured but /git merge is called:

  • Redirect to /git pr with guidance to use /git pr in GitHub Mode

Reference Documents

相关技能

寻找 git 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具