git-workflow-helperlisted
Install: claude install-skill davidmatousek/tachi
# Git Workflow Helper Skill
## Purpose
Automates common git workflow tasks while enforcing best practices and commit standards. Implements FR-008 from the feature specification. Follows constitutional requirement for feature branching and proper git workflow.
## How It Works
### Step 1: Git Status Check
Always start with status to understand current state:
```bash
# Check git status
git status
# Check branch name
git branch --show-current
# Check for uncommitted changes
git diff --stat
git diff --cached --stat
# Check unpushed commits
git log @{u}.. --oneline
```
Report:
```
📊 Git Status
Branch: feature/new-feature
Tracking: origin/feature/new-feature
Changes:
Modified: 3 files
Staged: 1 file
Untracked: 2 files
Unpushed commits: 2
Files:
M src/api/users.ts
M tests/users.test.ts
?? docs/API.md
```
### Step 2: Branch Creation
Create feature branch following naming conventions:
```bash
# Feature branch
git checkout -b feature/feature-name
# Bug fix branch
git checkout -b fix/bug-description
# Documentation branch
git checkout -b docs/topic
# Test branch
git checkout -b test/test-description
# Refactor branch
git checkout -b refactor/refactor-description
```
### Step 3: Stage Files
Intelligently stage relevant files:
```bash
# Stage specific files
git add src/api/users.ts src/models/user.ts
# Stage all in directory
git add src/
# Check what will be committed
git diff --cached
```
Avoid staging:
- Build artifacts (dist/, build/)
- Dependen