Command Palette

Search for a command to run...

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

setup

БесплатноЗапускает вложенные скриптыНе проверен

Complete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL). Use when setting up Git for the first…

Prorise-coolот Prorise-cool★ 304 звезды на GitHub1 установка в других каталогах

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

Git Setup

Complete guidance for installing Git and performing essential initial configuration across Windows, macOS, Linux, and WSL environments.

Table of Contents

Overview

This skill helps you:

  • Install Git using the best method for your platform
  • Configure essential Git settings (user identity, default branch, editor)
  • Verify your installation is working correctly
  • Understand platform-specific considerations
  • Get started quickly with recommended defaults

For advanced configuration (aliases, performance tuning, credential management, maintenance), see the git-config skill.

When to Use This Skill

Use this skill when:

  • Installing Git on a new development machine
  • Setting up Git for the first time on any platform
  • Configuring user identity and basic Git settings
  • Verifying Git installation is working correctly
  • Troubleshooting Git installation issues
  • Understanding platform-specific Git installation options
  • Setting up Git on Windows, macOS, Linux, or WSL

Quick Start

Fastest path to getting Git installed and configured:

Windows

# Install Git
winget install --id Git.Git -e --source winget

# Configure identity
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main

# Verify
git --version

macOS

# Install Git
brew install git

# Configure identity
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main

# Verify
git --version

Linux

# Install Git (Ubuntu/Debian)
sudo apt update && sudo apt install git

# Configure identity
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global init.defaultBranch main

# Verify
git --version

Platform Detection

When helping users with Git installation, detect their platform using environment indicators:

  • Windows: $env:OS contains "Windows", PowerShell commands, winget, file paths like C:\
  • macOS: uname -s returns "Darwin", Homebrew (brew), ~/.zshrc
  • Linux: uname -s returns "Linux", package managers (apt, dnf, pacman), ~/.bashrc
  • WSL: Linux kernel + Windows integration (e.g., /mnt/c/), wsl.exe available

Provide platform-specific guidance automatically based on detected or stated platform.


Windows Installation

Two installation options: Git for Windows Installer (full control, recommended) or winget (quick install). Includes Windows-specific configuration (long paths, system-level settings) and troubleshooting.

📚 Full guide: references/install-windows.md

Topics covered: Installation options, verification, Windows-specific configuration, Win32 long paths, troubleshooting, Git Bash history issues


macOS Installation

Two installation options: Xcode Command Line Tools (quick, built-in) or Homebrew (latest version, recommended). Includes macOS-specific configuration, shell integration (Zsh/Bash), and global gitignore setup.

📚 Full guide: references/install-macos.md

Topics covered: Installation options, verification, line ending configuration, Zsh/Bash shell integration, global gitignore


Linux Installation

Installation via package manager: apt (Ubuntu/Debian), dnf (Fedora/RHEL), or pacman (Arch Linux). Includes Linux-specific configuration, shell integration (Bash/Zsh), and global gitignore setup.

📚 Full guide: references/install-linux.md

Topics covered: Distribution-specific installation, verification, line ending configuration, Bash/Zsh shell integration, global gitignore


WSL (Windows Subsystem for Linux)

WSL runs Linux (Ubuntu by default), so Git installation is identical to native Linux. Includes WSL-specific configuration and performance considerations.

📚 Full guide: references/install-wsl.md

Topics covered: Installation (same as Linux), verification, WSL-specific configuration, filesystem performance notes, Windows integration, credential sharing


Basic Configuration (All Platforms)

After installing Git, configure these essential settings:

Set User Identity (Required)

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

Установить setup в Claude Code и Claude Desktop

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

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

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

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

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

Read
Bash
Glob
Grep

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

references/alias-definitions.shreferences/bashrc-claude.shreferences/configuration-details.mdreferences/git-bash-history-troubleshooting.mdreferences/install-linux.mdreferences/install-macos.mdreferences/install-windows.mdreferences/install-wsl.mdreferences/testing-evaluations.mdscripts/bash-aliases.sh

FAQ

Что делает скилл setup?

Complete guide to installing Git and performing basic configuration across all platforms (Windows, macOS, Linux, WSL). Use when setting up Git for the first time, installing Git on new systems, configuring user identity, setting default branch, choosing editor, verifying installation, or troubleshooting Git installation issues. Covers platform-specific installation methods, basic required configuration, and verification steps.

Как установить скилл setup?

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

Скилл setup запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить setup с