/samocode:mergefrom samocode
Merges a source branch into the current branch with preflight checks, conflict resolution, and targeted validation for Python and TypeScript projects.
Ships in samocode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Merge a source branch into the current branch. Default source is origin/main.
Resolve the repository before running git commands:
Working Dir: from its _overview.md.CLAUDE.md or .samocode defines MAIN_REPO, use that.git rev-parse --show-toplevel from the current directory.Do not run the merge from main, master, or another protected default branch unless the user explicitly asked for that.
date '+%m-%d-%H:%M' for session filenames.date '+%H:%M' for flow-log entries.git branch --show-currentgit status --porcelaingit fetch origingit merge [source-branch] --no-ff --no-commitgit status --short and the merged file list.git commit -m "Merge [source-branch] into [current-branch]".git diff --name-only --diff-filter=U.[SESSION_PATH]/[MM-DD-HH:mm]-merge-[branch].md._overview.md Flow Log and Files.Finish with:
Merge complete
[X] files changed
Conflicts: [Y resolved / none]
Checks: [commands and results]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (yuvasee/samocode) — no native marketplace selected
npx claudepluginhub p/yuvasee-samocode20 skills in this plugin
/claudeRun Anthropic Claude CLI as a subagent for second opinions, code reviews, and questions. Use from a Codex (or other) session when you want Claude's perspective./code-clarityReview changed code for human comprehension cost — names, local reasoning, hidden state, working-memory load — and report findings with an impact/cost/risk assessment table. Review-only; never modifies code. Use when asked for a clarity review, readability review, comprehension-cost analysis of a diff/PR, or when running /code-clarity. Works in Claude Code and Codex./codexRun OpenAI Codex CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective./comment-hygieneCurate source-code comments and docstrings — delete AI-slop and stale comments, keep only the non-obvious WHY, and never change executable code. Use when cleaning up comments/docstrings, during a samocode cleanup or quality-review step, when running /comment-hygiene, or when reviewing a diff for comment quality. Works in Claude Code and Codex./companionStart and supervise Samocode while the parent does independent scoped work and maintains a human-readable HTML explanation in the session. Use when asked to run Samocode with a live walkthrough, companion, or parallel parent work; not for a standalone status query./create-pr-commentsCreate GitHub PR review comments from review findings. Use after running a code review to post findings as line-bound comments.Other plugins' skills for the same job