git-workflow
БесплатноБез исполняемых скриптовНе проверенGit workflows including branching, merging, PR review, and conflict resolution. Use when managing version control, reviewing changes, or fixing merge conflicts.
от Sir-chawakorn★ 32 звезды на GitHubОб этом скилле
🌿 Git Workflow Skill
Branching Strategy
main (production)
├── develop (integration)
│ ├── feature/upload-queue
│ ├── feature/multi-folder
│ └── bugfix/round-robin
Common Commands
Branch Management
# Create and switch
git checkout -b feature/new-feature
# List branches
git branch -a
# Delete branch
git branch -d feature/old-feature
Commit
# Stage and commit
git add .
git commit -m "feat: add upload queue"
# Amend last commit
git commit --amend -m "feat: add upload queue with retry"
Sync
# Pull with rebase
git pull --rebase origin main
# Push
git push origin feature/new-feature
Commit Message Format
<type>(<scope>): <subject>
[body]
[footer]
| Type | Usage |
|---|---|
| feat | New feature |
| fix | Bug fix |
| docs | Documentation |
| style | Formatting |
| refactor | Code restructure |
| test | Adding tests |
| chore | Maintenance |
Examples:
feat(uploader): add round-robin folder selection
fix(socket): resolve connection timeout issue
docs(readme): update installation steps
Conflict Resolution
1. Identify Conflicts
git status
# Look for "both modified" files
2. Open Conflicted File
<<<<<<< HEAD
Your changes
=======
Their changes
>>>>>>> branch-name
3. Resolve & Complete
# After fixing manually
git add resolved-file.js
git rebase --continue
# or
git merge --continue
PR Review Checklist
- Code follows style guide
- Tests added/updated
- No console.log/debug code
- Documentation updated
- No hardcoded secrets
- Commit messages clear
Recovery Commands
# Undo last commit (keep changes)
git reset --soft HEAD~1
# Discard local changes
git checkout -- file.js
# Stash changes
git stash
git stash pop
# View history
git log --oneline -10
Установить git-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл git-workflow?
Git workflows including branching, merging, PR review, and conflict resolution. Use when managing version control, reviewing changes, or fixing merge conflicts.
Как установить скилл git-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-workflow запускает скрипты?
Нет, скилл состоит только из инструкций (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