N8n Commit banner
10x-Anit 10x-Anit

N8n Commit

Git community

Description

--- description: "Snapshot current workflow state with a commit message" argument-hint: "<workflow-id> <message>" --- CONTEXT: .n8n-track/ snapshots, commits, refs REQUIRES: initialized .n8n-track/, valid workflow-id STEPS: 1. VERIFY initialized, parse <workflow-id> and <message> 2. GET /api/v1/workflows/<id> → fetch current state 3. SAVE snapshot to snapshots/<id>/<hash>.json 4. IF previous commit exists → load old snapshot, compute diff, save to diffs/ 5. UPDATE ref in refs/workflows/<id>.js

Installation

Installs to ~/.claude/commands/10x-anit-10x-n8n-skill-n8n-commit.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/10x-Anit/10x-n8n-skill/HEAD/.claude/commands/n8n-commit.md -o ~/.claude/commands/10x-anit-10x-n8n-skill-n8n-commit.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository