1.2 Merge To Main — Git skill for Claude Code
Commit alle endringer, merge feature til main lokalt, push, og gå tilbake til feature.
How to install 1.2 Merge To Main
Installs to ~/.claude/commands/sultanavtajev-claude-next.js-template-1.2-merge-to-main.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/sultanavtajev/claude-next.js-template/HEAD/.claude/commands/1.2-merge-to-main.md -o ~/.claude/commands/sultanavtajev-claude-next.js-template-1.2-merge-to-main.md Restart Claude Code, or start a new session, for it to be picked up.
What 1.2 Merge To Main does
description: Commit alle endringer, merge feature til main lokalt, push, og gå tilbake til feature.
Commit alle endringer, merge `feature` til `main` lokalt, push `main` til remote, og bytt tilbake til `feature`.
Instruksjoner
1. Verifiser at alt kompilerer
Før merge skal templaten være grønn:
pnpm typecheck && pnpm lint && pnpm build
Hvis noe feiler: stopp og fiks først, eller avbryt.
2. Commit eventuelle gjenværende endringer
Hvis det er ucommittede endri
Alternatives in Git
- Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
- OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
- Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
1.0 Commit
Commit alle endringer med beskrivende melding basert på diff.
1.1 Build Commit
Kjør build, fiks feil, og commit alle endringer.
PR Merged
Post-merge cleanup — checkout main, pull latest, delete the feature branch, and close the linked work item.
Update Branch
Merge main into the current feature branch
Git Contribute Sync
Merge the owner's latest master into your claude-harness feature branch, run the tests and push it to your for
Merge Main
Merge the latest origin/$MAIN_BRANCH into the current branch, resolve conflicts preserving both sides' intent,
Related Agents
Gita
Git operator. Use for every commit, branch, push, PR and merge. Writes short messages with no AI attribution.
Fresh Reviewer
Use proactively before a commit, after writing a feature, or when the user says "review this" / "look this ove
Scala Coder
Implements a single coding task end-to-end in an assigned git worktree for this Scala project. Owns the FULL l