What problem does it solve? Multi-agent and long-lived branch development frequently produces merge conflicts, especially on shared public files, leading to broken merges, force-push chaos, and blocked pipelines. This Skill defines a disciplined conflict-handling workflow so conflicts are resolved on feature branches, never directly on develop. ## Core Features & Use Cases - Structured Conflict Resolution Flow: Enforces a merge-only strategy (no rebase) where conflicts are resolved on the feature branch before merging into develop. - Priority-Based Resolution: Classifies files into P0-P3 priorities, with public files (Package.swift, Podfile.lock, shared protocols) handled first via dedicated short-lived branches. - Public File Lock Mechanism: Maintains a queryable manifest (.trae/public-files.txt) so agents must open independent refactor/public-file-* branches with PublicFile tags when touching shared files. - Conflict Prediction: Requires each agent to output a conflict prediction report before starting work, using a conflict-predict.sh script that rates severity as high, medium, or low. - Use Case: When two AI agents modify the same Package.swift and Router.swift on parallel feature branches, this Skill routes the public file changes through a dedicated branch merged within one day, then sequences the remaining module-scoped merges Core → UI → App. ## Quick Start Ask the AI to run the conflict prediction script against the develop branch and then resolve any reported merge conflicts on the current feature branch following the priority rules.