thirdshift-resolving-merge-conflicts
Skill4 starsChanged 11 days agoMITView on GitHub
Use when you need to resolve an in-progress git merge/rebase conflict.
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- site/llms.txtllms.txt
- ask-mattSkill
- chief-of-staffSkill
- claude-handoffSkill
- codebase-designSkill
- code-reviewSkill
- create-formal-verification-skillSkill
- create-verification-skillSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- explainer-videoSkill
- fleet-stewardSkill
- git-guardrails-claude-codeSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- loop-meSkill
- maintain-formal-verification-skillSkill
- maintain-verification-skillSkill
- migrate-to-shoehornSkill
- prototypeSkill
- prSkill
- researchSkill
- retroSkill
- scaffold-exercisesSkill
- security-auditSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- setup-ts-deep-modulesSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- verify-consoleSkill
- verify-pickupSkill
- verify-siteSkill
- verify-uiSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- writing-beatsSkill
- writing-for-agentsSkill
- writing-fragmentsSkill
- writing-shapeSkill
- thirdshift-codebase-designSkill
- thirdshift-code-reviewSkill
- thirdshift-diagnosing-bugsSkill
- thirdshift-implementSkill
- thirdshift-improve-codebase-architectureSkill
- thirdshift-prSkill
- thirdshift-security-auditSkill
- thirdshift-tddSkill
- thirdshift-to-questionnaireSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Identify generated files: Treat a conflicting file as generated when the repository documents a command that produces it, or the file says …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
- See the current state of the merge/rebase. Check git history, and the conflicting files.
- Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.
- Identify generated files. Treat a conflicting file as generated when the repository documents a command that produces it, or the file says it is generated. Find its sources and the repository's documented generator command.
- Resolve hand-written files and sources first. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behaviour. Always resolve; never
--abort. - Regenerate generated files. Once their source conflicts are resolved, run the repository's documented generator command and stage the regenerated output. Never hand-merge generated hunks.
- Discover the project's automated checks and run them, typically typecheck, then tests, then format. Fix anything the merge broke.
- Finish the merge/rebase. Stage everything, commit, and push. If rebasing, continue the rebase process until all commits are rebased.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

