github-flowlisted
Install: claude install-skill talentedgeai/infinite-leverage
# GitHub Flow Skill
Every change follows the same loop: **branch → commit → push → PR → merge → cleanup**. Never skip steps. Never shortcut. The workflow is cheap; the mess from skipping it is not.
---
## Step 0: Pre-Flight Checks
Run these before touching anything:
```bash
git status # must be clean before starting new work
git branch --show-current # confirm you're not on main
git log --oneline -5 # orient yourself
```
**Stop and report if:**
- Uncommitted changes or merge conflicts exist — resolve before continuing
- You're on `main` or `master` — create a feature branch first (Step 1)
- A `MERGE_HEAD` or `CHERRY_PICK_HEAD` file exists in `.git/` — finish or abort before proceeding
---
## Step 1: Create a Branch
Always branch off an up-to-date `main`:
```bash
git checkout main
git pull origin main
git checkout -b <type>/<short-description>
```
### Branch Naming
| Type | Pattern | Example |
|---|---|---|
| Feature | `feat/<slug>` | `feat/seo-audit-skill` |
| Bug fix | `fix/<slug>` | `fix/og-image-missing` |
| Chore / maintenance | `chore/<slug>` | `chore/update-dependencies` |
| Documentation | `docs/<slug>` | `docs/github-flow-guide` |
| Refactor | `refactor/<slug>` | `refactor/skill-structure` |
| Hotfix (prod issue) | `hotfix/<slug>` | `hotfix/broken-sitemap` |
**Rules:**
- All lowercase, hyphens only (no underscores, no slashes beyond the prefix)
- Keep it short — 3–5 words max after the prefix
- Describe the work, not the ti