Skip to content
Back to skills

Github Branches

ASecurity

Create and manage feature branches

  • 666 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added February 8, 2026
toolsbashgitapi

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill github-branches --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Branches?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Github Branches
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-github-branches/badge)](https://www.skillsdirectory.com/skills/majiayu000-github-branches)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: github-branches
description: Create and manage feature branches
---

# GitHub Branches Skill

Create, switch, and manage git branches for feature work.

> **See also**: [Shared Conventions](../shared/CONVENTIONS.md) | [Safety Guidelines](../shared/SAFETY.md)

## Purpose

Manage branches following team conventions and keeping work organized.

## Commands

```bash
git branch
git branch -a
git checkout -b <branch>
git switch -c <branch>
git fetch origin
git pull --rebase
git push -u origin <branch>
```

## Branch Naming Convention

```
claude/<issue-number>-<short-slug>
```

Examples:
- `claude/123-fix-login-bug`
- `claude/456-add-user-auth`
- `claude/789-refactor-api`

## Workflow

1. **Ensure clean state**
   ```bash
   git status
   git fetch origin
   ```

2. **Update main branch**
   ```bash
   git checkout main
   git pull --rebase
   ```

3. **Create feature branch**
   ```bash
   git checkout -b claude/123-fix-login-bug
   ```

4. **Push branch to remote**
   ```bash
   git push -u origin claude/123-fix-login-bug
   ```

## Policies

- **Never work directly on main/master**
- Always branch from an up-to-date main
- Use descriptive branch names with issue numbers
- Verify clean working directory before switching branches
- Delete merged branches to keep repo tidy

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.