sk-git
БесплатноБез исполняемых скриптовНе проверенGit: numbered worktrees, conventional commits, PRs, merge/rebase, and finish; single-skill workflow guidance with no spec.
от 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 logqueries (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
Установить sk-git в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashmcp__code_mode__call_tool_chainВложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic