Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sk-git

БесплатноБез исполняемых скриптовНе проверен

Git: numbered worktrees, conventional commits, PRs, merge/rebase, and finish; single-skill workflow guidance with no spec.

MichelKerkmeesterот MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

Git Workflows - Git Development Guide

Unified workflow guidance across workspace isolation, commit hygiene, and work completion.

1. WHEN TO USE

When to Use This Guide

Use this guide when starting new git-based work, following a complete git workflow (setup, work, complete), unsure which git skill to use, or seeking git best practices (branch naming, commits).

When NOT to Use

  • Simple git status/git log queries (use Bash directly)
  • Non-git version control systems

Keyword Triggers

Owned: git worktree, worktree, create worktree, numbered worktree, restructure worktrees, worktree prefix, wt/ branch, worktree branch, branch naming allocator, skilled branch, branch, commit, conventional commits, pull request, pr, pr review, merge, rebase, finish work, integrate changes, git workflow, github, issue, gitkraken, gitlens, gitlens launchpad, commit composer

Not owned: spec folders / memory / continuity / save context → system-spec-kit. Code implementation / writing tests → sk-code.


2. SMART ROUTING

sk-git is a standalone skill, so the skill advisor scores its owned keywords against the request and selects it here. A request that names a worktree, a commit, a pull request, a merge, a finish, GitKraken or GitLens lands here, while spec folders and code implementation belong elsewhere.

references/quick-reference.md loads first on every invocation, then the winning intent loads its phase reference. references/gitkraken-mcp-integration.md follows for GitKraken and GitLens, and references/shared-patterns.md carries what every phase shares.

A request whose scores stay near zero loads the shared patterns and asks a disambiguation checklist instead of guessing.

Read ROUTER.md before selecting skill-local resources; open only the matched files.


3. HOW IT WORKS

Workspace Choice Enforcement

MANDATORY: The AI must NEVER autonomously choose between a git worktree and the current branch, and must NEVER create a branch directly with git branch, git checkout plus -b, or git switch plus -c.

When a git workspace trigger fires, the AI MUST ask the user to explicitly choose:

Option Description Best For
A) Create a git worktree Isolated workspace in separate directory Parallel work, complex features
B) Work on current branch No new worktree created Trivial changes, exploration

AI Behavior: ASK before proceeding, WAIT for explicit selection (A/B), NEVER assume, RESPECT choice for the session unless the user requests a change. Create any needed branch only through git worktree add -b ....

Launch-Wrapper Worktrees vs the In-Session Ask-First Rule

The ask-first rule above governs in-session decisions: once running, an AI must not autonomously create a worktree. .skilled/bin/worktree-session.sh is a launch wrapper you opt into at the shell, and it is different. It runs before the AI starts, so it does not violate the ask-first rule. It places each top-level session in its own worktree + branch + isolated MCP databases, and it execs in place for an orchestrated child with AI_SESSION_CHILD=1 or for a session already inside a linked worktree.

Deliberate per-session deps override. The wrapper symlinks the shared node_modules/dist into each worktree and gives each its own MCP DBs (via SPEC_KIT_DB_DIR / SPECKIT_IPC_SOCKET_DIR), rather than paying an install per session.

Known gap. Wholesale-linked dependency trees mean a wrapper session reads the main checkout's first-party code, which is why strict-validate and metadata regeneration run on main. Detail: [worktree-workflows.md](references/worktree-workf

Полный SKILL.md на GitHub

Установить sk-git в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash
mcp__code_mode__call_tool_chain

Вложенные файлы

README.mdROUTER.mdassets/commit-message-template.mdassets/pr-template.mdassets/worktree-checklist.mdbenchmark/README.mdbenchmark/reports/2026-07-10--live--glm-5-2-high/README.mdbenchmark/reports/2026-07-10--live--glm-5-2-high/failed-runs.mdbenchmark/reports/2026-07-10--live--glm-5-2-high/findings-and-recommendations.mdbenchmark/reports/2026-07-10--live--glm-5-2-high/results.csvbenchmark/reports/2026-07-10--live--glm-5-2-high/skill-benchmark-report.jsonbenchmark/reports/2026-07-10--live--glm-5-2-high/skill-benchmark-report.mdbenchmark/reports/2026-07-10--live--glm-5-2-high/source.mdbenchmark/reports/2026-07-10--live--kimi-2-7/README.mdbenchmark/reports/2026-07-10--live--kimi-2-7/failed-runs.mdbenchmark/reports/2026-07-10--live--kimi-2-7/findings-and-recommendations.mdbenchmark/reports/2026-07-10--live--kimi-2-7/results.csvbenchmark/reports/2026-07-10--live--kimi-2-7/skill-benchmark-report.jsonbenchmark/reports/2026-07-10--live--kimi-2-7/skill-benchmark-report.mdbenchmark/reports/2026-07-10--live--kimi-2-7/source.mdbenchmark/reports/README.mdchangelog/v1.0.0.0.mdchangelog/v1.0.1.0.mdchangelog/v1.0.2.0.mdchangelog/v1.0.2.1.mdchangelog/v1.0.3.0.mdchangelog/v1.0.7.0.mdchangelog/v1.0.8.0.mdchangelog/v1.0.9.0.mdchangelog/v1.1.0.0.mdchangelog/v1.1.2.0.mdchangelog/v1.1.2.1.mdchangelog/v1.1.3.0.mdchangelog/v1.10.0.0.mdchangelog/v1.10.1.0.mdchangelog/v1.11.0.0.mdchangelog/v1.11.1.0.mdchangelog/v1.11.10.0.mdchangelog/v1.11.11.0.mdchangelog/v1.11.12.0.md

FAQ

Что делает скилл sk-git?

Git: numbered worktrees, conventional commits, PRs, merge/rebase, and finish; single-skill workflow guidance with no spec.

Как установить скилл sk-git?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sk-git запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sk-git с