git-guide
/git-guide
Pomaga przy operacjach Git i problemach ze stanem repozytorium: komunikaty commitów, konflikty, rebase, worktree i czyszczenie gałęzi.
- Autor
- xonovex ↗
- Repozytorium
- platform ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 08.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 13
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 08.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
Pomaga przy operacjach Git i problemach ze stanem repozytorium: komunikaty commitów, konflikty, rebase, worktree i czyszczenie gałęzi.
Wyzwalacze z opisu
Oryginalny opis (EN)
Use when running git operations or resolving repo-state issues. Triggers on prompts about commit messages, conventional commits (feat/fix/chore/docs), merge conflicts, rebases, worktrees, feature-worktree create / merge / abandon / cleanup, branch cleanup, or history rewrites, even when the user doesn't say 'git'.
Jak działa
- Core Principles
- Commit Operations
- Branch Operations
- Conflict Resolution
- Worktree Operations
- Gotchas
- Progressive Disclosure
Podgląd SKILL.md
--- name: git-guide description: "Use when running git operations or resolving repo-state issues. Triggers on prompts about commit messages, conventional commits (feat/fix/chore/docs), merge conflicts, rebases, worktrees, feature-worktree create / merge / abandon / cleanup, branch cleanup, or history rewrites, even when the user doesn't say 'git'." --- # Git Guidelines Create conventional commits, resolve conflicts, and manage worktrees with explicit validation and publication steps. ## Core Principles - **Conventional Commits** - Use type prefixes (feat, fix, chore, docs, refactor, test, ci), see [references/commit.md](references/commit.md) - **Auto-Generate Messages** - Analyze changed files and context, see [references/commit.md](references/commit.md) - **Isolated Development** - Use worktrees for feature branches, see [references/worktree-create.md](references/worktree-create.md) - **Validate Before Merge** - Run typecheck/lint/build/test, see [references/worktree-validate.md](references/worktree-validate.md) - **Publish and Rebase** - Push a branch upstream and rebase onto the base before opening a PR / MR, see [references/push.md](references/push.md) - **Explicit Effects** - Worktree create, merge, and cleanup default to preview and mutate only for an explicit apply ## Commit Operations - **Auto-commit** - Analyze changes, infer type, generate message, optional push, see [references/commit.md](references/commit.md) ## Branch Operations - **Push + rebase-onto-base** - Publish a branch upstream and keep its PR / MR diff just this change; the host skill (`github-guide` / `gitlab-guide`) drives the PR itself, see [references/push.md](references/push.md) ## Conflict Resolution - **Detect and classify** - Find conflicts, suggest strategy (ours/theirs/merge), see [references/merge-resolve.md](references/merge-resolve.md) - **Validate** - Run typecheck/lint after resolution before staging, see [references/merge-resolve.md](references/merge-resolve.md) ## Worktree Operations - **Create** - Preview or apply creation of a `<worktree>-feature-<name>` directory and branch, see [references/worktree-create.md](references/worktree-create.md) - **Validate** - Pre-merge validation checkpoint, see [references/worktree-validate.md](references/worktree-validate.md) - **Merge** - Preview or apply integration into the source branch without cleanup, see [references/worktree-merge.md](references/worktree-merge.md) - **Cleanup** - Preview or apply removal of exact stale or merged targets, see [references/worktree-cleanup.md](references/worktree-cleanup.md) - **Abandon** - Inspect and document a stopped feature without mutation, see [references/worktree-abandon.md](references/worktree-abandon.md) ## Gotchas - `git pull` is `fetch` + `merge`, on a shared branch this creates spurious merge commits; prefer `pull --rebase` or `fetch` then explicit merge - Detached HEAD: committing in this state silently loses commits when you `checkout` away. Note the SHA or branch immediately - Hooks in `.git/hooks/` are not version-controlled: share via `core.hooksPath` pointing at a tracked directory - A feature `worktree-merge` integrates a branch into its **parent** branch; landing on the mainline goes through push + PR + CI review, never a direct local merge to `main` - Merge, abandon, and cleanup are separate operations, none may silently perform another - Long-lived feature branches drift and conflict: keep them short-lived; integrate work spanning sessions incrementally behind feature flags / branch-by-abstraction - Deleting a worktree directory by hand leaves a stale admin entry: run `git worktree prune`; and each worktree needs its own dependency install (`node_modules` is not shared across worktrees) ## Progressive Disclosure ### Commit Operations - Read [references/commit.md](references/commit.md) - Load when committing changes with auto-generated conventional messages - Read [references/push.md](references/push.md) - Load when publishing a branch upstream and rebasing it onto the base before opening a PR / MR - Read [references/merge-resolve.md](references/merge-resolve.md) - Load when detecting and resolving merge conflicts ### Worktree Operations - Read [references/worktree-create.md](references/worktree-create.md) - Load when creating a feature worktree with branch - Read [references/worktree-validate.md](references/worktree-validate.md) - Load when running pre-merge validation in a feature worktree - Read [references/worktree-merge.md](references/worktree-merge.md) - Load when merging a feature worktree back to its source branch - Read [references/worktree-cleanup.md](references/worktree-cleanup.md) - Load when removing stale or merged worktrees - Read [references/worktree-abandon.md](references/worktree-abandon.md) - Load when documenting and removing an abandoned feature worktree
Pliki w paczce (13)
- SKILL.md 5 KB
- SOURCES.md 1 KB
- eval-queries.json 5 KB
- evals.json 3 KB
- moon.yml 1 KB
- references/commit.md 2 KB
- references/merge-resolve.md 1 KB
- references/push.md 1 KB
- references/worktree-abandon.md 1 KB
- references/worktree-cleanup.md 2 KB
- references/worktree-create.md 2 KB
- references/worktree-merge.md 2 KB
- references/worktree-validate.md 1 KB
Wersje
W bazie nie ma innych skilli o nazwie git-guide.
Migawka bazy z 13.11.2026 · wersja paczki e13bdb91bfa8 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100git-workflow
Automatyzuje pełny przepływ Git: gałęzie funkcjonalne z konwencją nazw, atomowe commity, interaktywny rebase, squash merge, generowanie opisu PR z historii commitów, czyszczenie gałęzi i wzorce worktree. - 96resolving-merge-conflicts
Rozwiązuje konflikty w trwającym merge lub rebase w git. - 96resolving-merge-conflicts
Rozwiązuje konflikty w trwającym merge lub rebase w git. - 100commit-message
Generuje komunikaty commitów w formacie conventional commits i pomaga przy tworzeniu commitów git. - 100git-commit
Pomaga pisać komunikaty commitów zgodne z Conventional Commits i wypychać kod do repozytorium, w tym git add, commit i push. - 90git-merge
Rozwiązuje złożone operacje Git: konflikty przy merge, cherry-picki i rebase.