n8n Branch — Git skill for Claude Code
List tracked workflow branches or create a new one.
How to install n8n Branch
Installs to ~/.claude/commands/10x-anit-10x-n8n-skill-n8n-branch.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/10x-Anit/10x-n8n-skill/HEAD/.claude/commands/n8n-branch.md -o ~/.claude/commands/10x-anit-10x-n8n-skill-n8n-branch.md Restart Claude Code, or start a new session, for it to be picked up.
What n8n Branch does
description: "List tracked workflow branches or create a new one" argument-hint: "[create ] [--list]"
CONTEXT: .n8n-track/branches.json + HEAD.json REQUIRES: initialized .n8n-track/
STEPS:
- VERIFY initialized
- IF no args or --list → READ branches.json, display all branches
- MARK current branch from HEAD.json with
* - IF
create→ POST /api/v1/workflows with empty workflow - ADD new branch to branches.json, save initial snapshot, append init commit
- OUTPUT list
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Stack List
Show the current stack — the chain of branches from the current branch up to main, plus any descendants below
Mise Clean
Sweep the project for hygiene cruft — junk tracked in git, backup/scratch files, stale branches and orphaned w
Update Submodules
Update the branches/ release submodules to the latest commit of their tracked
Clean Branches
Safely prune merged and stale Git branches: drop dead remote-tracking refs, list merged candidates for review,
n8n Checkout
Switch tracking context to a workflow branch
Create Worktrees
by evmts - Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleani
Related Agents
Branch Gardener
Triages local branches and stashes in a managed repo (merged, stale, superseded, unpushed) and proposes deleti
Backlog Keeper
Syncs the Network Expansion GitHub project board with the state of branches and PRs. Use when a tracked phase
GitHub
GitHub issue and PR workflow. Create/list/update issues, manage labels, create PRs, create branches. Use for a