git-github-workflowslisted
Install: claude install-skill seanwinslow28/code-brain
# Git & GitHub Workflows
## Purpose
Standardize version control practices and automate repetitive tasks. This skill manages the full lifecycle of a code change: from feature branching (using Worktrees for context isolation) to CI/CD verification (GitHub Actions) to PR submission and clean history management.
## When to Use
- Writing Conventional Commit messages
- Managing branches and Git Worktrees
- Creating and reviewing Pull Requests
- Resolving complex merge conflicts
- Configuring GitHub Actions for React/Python CI/CD
## Examples
**Example 1: Conventional Commit**
```
User: "Generate a commit message for these changes"
Claude: [Uses git-github-workflows]
Based on the staged changes to the auth system, here is a compliant message:
feat(auth): implement JWT-based session handling
- Add session middleware in `src/middleware/auth.ts`
- Update login endpoint to return secure tokens
- Fix type definitions for UserSession
Ref: #123
```
**Example 2: Automated CI/CD Setup**
```
User: "Add a CI pipeline for my React app"
Claude: [Uses git-github-workflows]
I'll add a GitHub Action to build and test on every push:
name: React CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: npm ci
- run: npm test
- run: npm run build
```
## Domain Content
### 1. Smart Branch Management (Worktrees)
Use **Git Worktrees** for parallel devel