Dependency Update Resolve Conflict logo

Dependency Update Resolve Conflict

Community
shokai
dependency-update-resolve-conflict

base branchとconflictした依存関係の更新pull requestを1件、base branchを取り込んで解消し、pushする。 dependency-update skillが起動したsubagentが実行する。ユーザーが直接呼び出す事は想定していない。

Overview

Publishershokai
Repositoryagent-skills
Skill namedependency-update-resolve-conflict
Stars
88
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by shokai on GitHub. Read the source before you install it.

Installation

Install the Dependency Update Resolve Conflict AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/shokai/agent-skills/tree/main/plugins/dependency-update/skills/dependency-update-resolve-conflict
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shokai/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/plugins/dependency-update/skills/dependency-update-resolve-conflict .claude/skills/dependency-update-resolve-conflict
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dependency Update Resolve Conflict in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dependency Update Resolve Conflict on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dependency Update Resolve Conflict is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

1件の依存関係の更新pull requestのconflictの解消

dependency-update skillの指揮役から任されて、base branchとconflictしていてbotが自分でrebaseしない1件のpull requestを、base branchを取り込むmerge commitで解消し、そのpull requestのbranchにpushする。人間は解消の途中に立ち会わない。

このskillを実行する時の前提

  • 実行環境の条件は、dependency-update skill の「実行環境の確認」にあるmodelの条件と同じである。着手する前に自分でも確認し、満たさなければ何も変えず、満たさない条件を報告して終了する
  • ユーザーに質問できない。判断がつかない時は、「解消」の定める止め方で止める
  • pull requestの場所、指揮役が確かめたHEAD、cloneの場所、作業ディレクトリは、指揮役の指示に従う
  • 同じリポジトリの別のpull requestを扱うsubagentが並走している事がある。指示された作業ディレクトリの外を変えない
  • pull requestのmergeはしない。指揮役が行う

着手する前に確かめる

次の全てを満たす時だけ解消する。満たさなければ、何も変えず、コメントも投稿せずに報告して終える。

  • pull requestがまだbase branchとconflictしている
  • pull requestのHEADが、指揮役が確かめたHEADと同じである。違えば、botが先にrebaseした等でconflictの状況が変わっている
  • 人間のcommitが無い。全てのcommitが、botの物か、dependency-update skillのsubagentがコメントにSHAを書いた物である
  • 人間による未撤回のchanges requested、mergeへの反対、保留の要求が無い

解消

  • pull requestのhead branchをcheckoutし、base branchをmergeしてconflictを解消する。既にあるcommitは書き換えない。解消するのは、lock fileとpackage manifestのように機械的に決まるconflictだけである。コードのconflictで、両側の変更をどう合成するかの判断が要る時は止める
  • lock fileのconflictは、両側の差分を手で合成しない。base branch側のlock fileを採り、更新対象を解消前のHEADのlock fileにある確定バージョンに更新し直す。package manifestの範囲指定からlock fileを作り直すだけでは、その範囲をbase branch側の古いバージョンも満たす時に、古いバージョンが残る。lock fileだけを更新し直す手段の例: npmなら npm install --package-lock-only --ignore-scripts
  • 解消したら、commitする前に、base branchに対するpull requestの差分を、解消前のHEADが持っていた差分と比べる。次のどれかに当たる時は止める
    • 更新対象の確定バージョンが解消前と違う
    • 修正のsubagentのcommitの変更が残っていない
    • 解消で加わった変更が、conflictの解消に要った物を超える
    • base branchが更新対象を既にpull requestより新しいバージョンにしている
  • 止める時は、commitもpushもせず、止めた理由と、解消を試みたHEADのSHAをpull requestにコメント投稿して報告する。コメントの1行目は # Dependency update conflict resolution skipped にする。指揮役がこのSHAを読み、HEADが変わるまで解消を再び試みず、人間の判断が要る物として通知する。コメントには自分のAgent名とmodel名を書く
  • 止めなければ、merge commitを1つ積む
  • conflictしたファイルと、どう解消したかと、merge commitのSHAを、pull requestにコメント投稿する。1行目は # Dependency update conflict resolved にする。指揮役がこの行でコメントを見分け、SHAを読んでmergeの条件を判定する。コメントには自分のAgent名とmodel名を書く。GitHubに載る文章の書き方は、kuden:github skillに従う
  • 最後にpushする。コメントの後にpushするのは、pushの後で作業が途切れると、次の実行の指揮役がこのmerge commitを誰の物か見分けられないためである。force pushはしない。pushが拒否されたら、botが同時にrebaseした等でbranchが進んでいるので、やり直さず、投稿したコメントにpushされなかった事を追記して報告する
  • ラベルは変えない。解消の後に再レビューはしない

指揮役への報告

短く書く。

  • merge commitのSHAと、conflictしたファイル
  • 投稿したコメントのURL
  • 解消を始めた後に止めた時は、その理由と、投稿したコメントのURL
  • 着手する前の確認で止めた時は、満たさなかった条件
  • 手順で曖昧だった点

Frequently asked questions

What does the Dependency Update Resolve Conflict AI skill do?

base branchとconflictした依存関係の更新pull requestを1件、base branchを取り込んで解消し、pushする。 dependency-update skillが起動したsubagentが実行する。ユーザーが直接呼び出す事は想定していない。

Why use Dependency Update Resolve Conflict on TypingMind?

Because you install it once and use it with any model. Dependency Update Resolve Conflict is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dependency Update Resolve Conflict in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/shokai/agent-skills/tree/main/plugins/dependency-update/skills/dependency-update-resolve-conflict. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dependency Update Resolve Conflict?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dependency Update Resolve Conflict?

As many as you like. As long as a model supports skills, you can use Dependency Update Resolve Conflict with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dependency Update Resolve Conflict AI skill free?

Yes. It is published on GitHub by shokai under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇