configure-git-cli
БесплатноБез исполняемых скриптовНе проверенConfigure Git CLI with GitHub authentication using environment variables (GITHUB_EMAIL, GITHUB_NAME, GITHUB_PAT)
от thomasgauvin★ 44 звезды на GitHubОб этом скилле
Configure Git CLI
When to use this skill
Use this skill before performing git operations (clone, push, commit, etc.). Required by the codebase-fix-and-pr skill.
Prerequisites
Required environment variables:
GITHUB_EMAIL: Email address for git commitsGITHUB_NAME: Name for git commitsGITHUB_PAT: GitHub Personal Access Token with repo and workflow scopes
Workflow
Step 1: Verify Git Installation
git --version
Step 2: Configure Git User Identity
git config --global user.email "${GITHUB_EMAIL}"
git config --global user.name "${GITHUB_NAME}"
Step 3: Configure Credentials
Enable credential storage and preload GitHub credentials:
git config --global credential.helper store
cat <<EOF > ~/.git-credentials
https://${GITHUB_NAME}:${GITHUB_PAT}@github.com
EOF
chmod 600 ~/.git-credentials
Step 4: Verify Configuration
git config user.email
git config user.name
git ls-remote https://github.com/test/test.git
All commands should succeed without prompting for credentials.
Success Criteria
- ✅
git --versionsucceeds - ✅
git config user.emailandgit config user.namereturn correct values - ✅
git ls-remotesucceeds without prompting
Troubleshooting
| Issue | Solution |
|---|---|
| Git not found | Install git using your system package manager |
| Authentication failed | Verify GITHUB_PAT is valid, not expired, and has repo scope |
| Permission denied | Check write permissions to home directory |
| Credentials not working | Run rm ~/.git-credentials and reconfigure |
Установить configure-git-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл configure-git-cli?
Configure Git CLI with GitHub authentication using environment variables (GITHUB_EMAIL, GITHUB_NAME, GITHUB_PAT)
Как установить скилл configure-git-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл configure-git-cli запускает скрипты?
Нет, скилл состоит только из инструкций (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