ワンクリックで
arch-merge-conflict
Merge two workspace.json commits, resolving merge conflicts while preserving element coordinates
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Merge two workspace.json commits, resolving merge conflicts while preserving element coordinates
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate a solution architecture document (SAD) and update Structurizr DSL based on input documents from the input folder
Collect all containers from Structurizr DSL and generate a resource table in resources.md
Export all Structurizr views to SVG files
Conduct an architecture review of a solution (SAD) from 5 role perspectives and generate a findings report
| name | arch-merge-conflict |
| description | Merge two workspace.json commits, resolving merge conflicts while preserving element coordinates |
| allowed-tools | Read, Bash, Write, Edit, AskUserQuestion, TodoWrite |
| user-invocable | true |
Merge two versions of the structurizr/workspace.json file from different commits, resolving merge conflicts to produce a valid JSON while preserving element coordinates.
Two commit IDs separated by a space, e.g.: abc1234 def5678
The first commit is the primary (its structure takes priority), the second is supplementary (missing data is taken from it).
If no arguments are provided — ask the user via AskUserQuestion:
Extract structurizr/workspace.json contents from both commits:
git show <primary_commit>:structurizr/workspace.json > /tmp/workspace_base.json
git show <supplementary_commit>:structurizr/workspace.json > /tmp/workspace_extra.json
Assemble the resulting workspace.json, following these rules:
elements sections inside views:
"elements": [
{
"id": "3",
"x": 240,
"y": 142
}
]
python3 -c "import json; json.load(open('structurizr/workspace.json'))"
scripts/validate-dsl.sh
Report to the user:
Delete temporary files:
rm -f /tmp/workspace_base.json /tmp/workspace_extra.json