git-workflow
/git-workflow
Prowadzi zdyscyplinowane operacje git: gałęzie, commity, pull requesty i odzyskiwanie, przy poleceniach takich jak commit, merge, rebase, cherry-pick i tag.
- Autor
- arozumenko ↗
- Repozytorium
- sdlc-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Prowadzi zdyscyplinowane operacje git: gałęzie, commity, pull requesty i odzyskiwanie, przy poleceniach takich jak commit, merge, rebase, cherry-pick i tag.
Wyzwalacze z opisu
Oryginalny opis (EN)
Use when the user asks to "commit", "create PR", "branch", "merge", "rebase", "cherry-pick", "tag", or otherwise manage git history. Guides disciplined git operations — branching, commits, PRs, and recovery.
Jak działa
- Platform & systems
- Before Any Git Operation
- Branching
- Commits
- Pull Requests
- Dangerous Operations
- Recovery
Podgląd SKILL.md
---
name: git-workflow
description: Use when the user asks to "commit", "create PR", "branch", "merge", "rebase", "cherry-pick", "tag", or otherwise manage git history. Guides disciplined git operations — branching, commits, PRs, and recovery.
license: Apache-2.0
compatibility: Requires git CLI; gh/glab/az/bb/tea for your host's PR/MR operations
allowed-tools: Bash(git:*) Bash(gh:*)
metadata:
authors:
- Artem Rozumenko <artem_rozumenko@epam.com>
version: "0.1.0"
---
# Git Workflow
Disciplined git operations for professional codebases.
## Platform & systems
Commands below use **GitHub `gh`** as the reference. Translate to your code host
per `.agents/workflow.md` § Git host — GitLab `glab`, Bitbucket `bb`, Azure
DevOps `az repos`, Gitea `tea`. "PR" means PR or MR. If scout hasn't recorded a
host, ask before assuming GitHub.
## Before Any Git Operation
```bash
git --no-pager status
git --no-pager log --oneline -5
git --no-pager diff --stat
```
Always know the current state before changing it.
## Branching
```bash
# Feature branch from main
git checkout main && git pull && git checkout -b feat/short-description
# Bug fix
git checkout main && git pull && git checkout -b fix/issue-description
```
Branch naming: `feat/`, `fix/`, `chore/`, `docs/` prefixes. Lowercase, hyphens, concise.
## Commits
**Never commit unless the user explicitly asks.** When they do:
1. Stage specific files (not `git add -A` — avoid secrets and binaries)
2. Write a message that explains *why*, not *what*
3. Keep commits focused — one concern per commit
```bash
git add src/auth.py src/middleware.py
git commit -m "$(cat <<'EOF'
Fix session expiry not respecting timezone offset
The previous check used naive datetime comparison which failed
for users in negative UTC offsets.
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
```
## Pull Requests
When asked to create a PR:
1. Check all commits since divergence: `git --no-pager log main..HEAD --oneline`
2. Review full diff: `git --no-pager diff main...HEAD`
3. Push with tracking: `git push -u origin HEAD`
4. Create with structured body:
```bash
gh pr create --title "Short title under 70 chars" --body "$(cat <<'EOF'
## Summary
- What changed and why (2-3 bullets)
## Test plan
- [ ] How to verify this works
Generated with Claude Code
EOF
)"
```
## Dangerous Operations
**Always confirm with the user before:**
- `git push --force` (any variant)
- `git reset --hard`
- `git branch -D`
- `git rebase` on shared branches
- `git checkout .` or `git restore .` (discards work)
**Never:**
- Skip hooks (`--no-verify`)
- Force push to main/master
- Amend published commits
- Use interactive flags (`-i`) — not supported in non-interactive shells
## Recovery
See `references/recovery.md` for common recovery scenarios.
Pliki w paczce (3)
- README.md 1 KB
- SKILL.md 3 KB
- references/recovery.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · arozumenko/sdlc-skills | 100 | MIT |
| event4u-app/agent-config | 100 | MIT |
| lee-w/maigo | 100 | MIT |
| hakula139/plugins | 100 | MIT |
| ericrisco/rsc-harness | 100 | MIT |
| Sanit-mann/The-Insectoids | 100 | MIT |
| eliyce/paqad-ai | 100 | MIT |
| langfuse/langfuse | 100 | MIT |
| Muvon/octomind-tap | 100 | Apache-2.0 |
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki e189fa5e34ed (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100git
Obsługuje wymagające przepływy Git: modele gałęzi, merge kontra rebase, interaktywny rebase, bisect, cherry-pick, worktrees i konwencje commitów. - 100git
Obsługuje pełny lokalny przepływ pracy w Git: status, commity, gałęzie, merge i rebase, konflikty, stash, historię, tagi, worktree, cherry-pick i odzyskiwanie przez reflog. - 90git-merge
Rozwiązuje złożone operacje Git: konflikty przy merge, cherry-picki i rebase. - 100git-workflows
Obsługuje gałęzie, commity, synchronizację, scalanie, rebase, cherry-picki, konflikty i odzyskiwanie repozytorium. - 100github-master
Obejmuje Git i GitHub: przepływy pracy, odzyskiwanie historii, pull requesty, ochronę gałęzi, Actions, konflikty scalania, rebase, cherry-pick, reflog i bisect. - 100git-conflict-resolve
Rozwiązuje konflikty git merge, cherry-pick, rebase i stash-apply z kopią zapasową i analizą.