用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill git-merge命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | git-merge |
| description | [Git] ⚠️ Merge code from one branch to another Use when this capability is needed. |
[IMPORTANT] Use
TaskCreateto break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ATTENTION ask user whether to skip.
Goal: Merge code from one branch to another with safety checks and conflict resolution.
Workflow:
Key Rules:
/git-conflict-resolve if conflicts ariseBe skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
TO_BRANCH: $1 (defaults to main)
FROM_BRANCH: $2 (defaults to current branch)
git fetch origin
git checkout {TO_BRANCH}
git pull origin {TO_BRANCH}
# Use origin/{FROM_BRANCH} to merge remote state, not local WIP
git merge origin/{FROM_BRANCH} --no-ff -m "merge: {FROM_BRANCH} into {TO_BRANCH}"
Why origin/{FROM_BRANCH}: Ensures merging only committed+pushed changes, not local uncommitted work.
git add . && git commitgit push origin {TO_BRANCH}
gh command is not available, instruct the user to install and authorize GitHub CLI first.AskUserQuestion tool to ask the user for more details.TaskCreate BEFORE startingfile:line evidence for every claim (confidence >80% to act)Converted and distributed by TomeVault — claim your Tome and manage your conversions.