跳到正文
cccskills
免费在 GitHub 公开

pull

Merge latest origin/main into the current branch and resolve conflicts.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Pull

Use this skill before substantive implementation work and whenever a push is rejected because the remote branch or origin/main moved.

Steps

  1. Inspect git status --short --branch.
  2. If local changes exist, commit them with the commit skill or stop and explain why they cannot be safely staged yet.
  3. Enable rerere locally:
    • git config rerere.enabled true
    • git config rerere.autoupdate true
  4. Fetch latest refs:
    • git fetch origin
  5. If the current branch has an upstream, fast-forward from it:
    • git pull --ff-only
  6. Merge origin/main:
    • git -c merge.conflictstyle=zdiff3 merge origin/main
  7. Resolve conflicts by understanding both sides first. Preserve behavior and public CLI contracts unless the ticket clearly requires a change.
  8. After resolving, run:
    • git diff --check
    • the validation relevant to the changed files
  9. Record the merge result and validation in the Linear workpad.

Conflict Guidance

  • Prefer minimal, intention-preserving resolutions.
  • Use git diff --merge and staged-base comparisons before choosing a side.
  • For generated output, resolve source files first and regenerate.
  • If product intent is genuinely ambiguous, document the ambiguity in the workpad and stop instead of guessing.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

commit

免费

Stage intended changes and create a clean git commit.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

debug

免费

Investigate Symphony run failures, stalls, and retry loops.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

land

免费

Shepherd an approved PR through checks and merge.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

linear

免费

Use Symphony's linear_graphql tool for Linear reads and writes.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

push

免费

Push the current branch and create or update the pull request.

中文简介正在准备中。当前显示原文说明。

mnvsk97/harnessctl82026年5月15日 更新

查看 mnvsk97 的全部技能

报告此技能的问题