git-knowledge

Community

Understand Git states, skip needless stashing

Authorshellicar
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many developers misunderstand Git's three states—working tree, index, and commits—leading to unnecessary stash operations, pre‑emptive staging, and accidental data loss when switching branches or rebasing.

Core Features & Use Cases

  • Explains the three Git states and their roles.
  • Defines when stashing is truly required versus when it can be skipped.
  • Provides clear rules for unstaged, staged, and untracked files during branch switches, pulls, rebases, and merges.
  • Offers decision tables to help users decide the correct Git workflow in common scenarios such as creating a new branch, switching to an existing branch, or pulling remote changes.

Quick Start

Ask the git-knowledge skill to explain whether you need to stash before switching to branch 'feature-x'.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-knowledge
Download link: https://github.com/shellicar/skills/archive/main.zip#git-knowledge

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.