ワンクリックで
resolve-conflicts
Resolve git merge conflicts, especially in project.pbxproj. Keeps both sides and maintains sorted order.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Resolve git merge conflicts, especially in project.pbxproj. Keeps both sides and maintains sorted order.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Implement UI from Figma designs via MCP with a closed-loop pixel-parity check. Extract exact values (never eyeball), translate to SwiftUI, then render→diff→fix against the Figma export until it matches. Use when implementing or auditing UI against Figma.
HTTP networking layer reference — TargetType, HTTPClient, services, error handling.
Fetch CodeRabbit review comments from batch PRs and auto-fix the issues. Pushes fixes and re-requests review.
Run multiple tasks overnight as parallel PRs. Produces a PRD per task, selects skills/rules, spawns isolated agents, and reports PR links.
Run multiple tasks overnight as parallel PRs. Produces a PRD per task, selects skills/rules, spawns isolated agents, and reports PR links.
Run SwiftLint and xcodebuild to verify the project compiles cleanly.
| name | resolve-conflicts |
| description | Resolve git merge conflicts, especially in project.pbxproj. Keeps both sides and maintains sorted order. |
Resolves git merge conflicts in the current branch. Handles project.pbxproj conflicts (the most common case) as well as Swift source files and localization files.
/resolve-conflicts # resolve all conflicting files
/resolve-conflicts project.pbxproj # resolve a specific file
git diff --name-only --diff-filter=U
List all unmerged files and categorize them:
| File type | Resolution strategy |
|---|---|
project.pbxproj | Keep both sides, re-sort by hex ID prefix |
Localizable.strings | Keep both sides, re-sort alphabetically |
.swift source files | Analyze semantically — keep both changes if independent, ask user if they conflict |
| Other files | Show both sides, ask user which to keep |
pbxproj conflicts are almost always "both sides added different lines in the same section." The resolution is always: keep both sides.
<<<<<<<, =======, >>>>>>>)PBXBuildFile section: sorted by the hex ID at the start of each linePBXFileReference section: sorted by the hex ID at the start of each lineUse the Edit tool to resolve (the protect-files hook allows pbxproj edits when the file has unmerged status).
python3 scripts/sort_localizable.py after resolvingAfter resolving each file:
git add {resolved-file}
After all files are resolved:
# Verify no remaining conflicts
git diff --name-only --diff-filter=U
# For pbxproj — verify it parses correctly
plutil -lint VultisigApp/VultisigApp.xcodeproj/project.pbxproj
git commit --no-edit
Entries in pbxproj are sorted by their hex UUID prefix. When keeping both sides of a conflict, interleave the entries to maintain sort order:
/* Example: HEAD adds 83..., incoming adds 84... */
/* Correct order: 83 before 84 */
834B4865... /* from HEAD */
84EDDEF7... /* from incoming */
8540533A... /* from HEAD */
Compare the hex prefixes lexicographically (string comparison, not numeric).
plutil -lint after resolving pbxproj