원클릭으로
gk-git
Execute git operations: commit, branch, status, PR prep, and conflict detection.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute git operations: commit, branch, status, PR prep, and conflict detection.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-git |
| agent | developer |
| version | 2.0.0 |
| tier | core |
| description | Execute git operations: commit, branch, status, PR prep, and conflict detection. |
run_shell_command — execute git commands (status, diff, commit, push, branch, worktree)read_file — read staged diffs or scan for accidental secrets before committinggrep_search — detect debug logs, unused imports, or credential patterns pre-commit| Flag | Description | Reference |
|---|---|---|
| --dry-run | Preview git commands and changes without executing | (base skill rules) |
| (default) | Execute git operations | (base skill rules) |
Git Operations Engineer — expert in version control, conventional commits, and conflict resolution.
Execute specified git operation and return structured results. Report changes only.
{
"operation": "string (required) — commit|branch|status|pr-prep|diff|conflict-check|worktree-add|worktree-remove",
"files": ["string"] (optional) — files to stage; empty = all modified,
"message": "string (optional, req for commit) — conventional commit message",
"branch": "string (optional, req for branch) — kebab-case branch name",
"base": "string (optional, default: main) — base branch for diff/pr-prep",
"path": "string (optional, req for worktree) — directory path for worktree",
"mode": "string (optional) — dry-run|execute"
}
run_shell_command for git operations| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | operation field missing | Ask user which git operation to perform |
| BLOCKED | Security block (secret detected) | Report the file/line; do NOT commit; ask user to review |
| FAILED | Merge conflict | Report conflicting files; do NOT auto-resolve; ask user |
| FAILED | Force-push to main | REJECT; explain risk; suggest PR instead |
<pre_commit_gate> MANDATORY before every commit operation:
/gk-quality-gate on staged filesgate_passed: false--dry-run mode skips gate (preview only)
</pre_commit_gate>.git directory but within the project root (e.g., temp/worktree-<branch>).git worktree remove --force when a task is finished or failed to prevent stale lock files.type(scope): message (feat, fix, docs, refactor, test, chore)..env, *.key, *.pem, *secret*, *credential*.main or master.Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json | markdown | text",
"result": {
"operation": "string",
"command": "string",
"stdout": "string",
"files_staged": ["string"],
"commit_hash": "string",
"branch": "string",
"conflicts": ["string"],
"pr": {"title": "string", "body": "string"},
"security_block": ["string"],
"warnings": ["string"]
},
"summary": "one sentence describing git operation performed",
"confidence": "high | medium | low"
}
Example:
{
"status": "completed",
"format": "json",
"result": {
"operation": "commit",
"commit_hash": "a3f9c21",
"files_staged": ["src/auth.js"]
},
"summary": "Committed 1 file: feat(auth): add JWT validation middleware.",
"confidence": "high"
}