.claude/skills/fix-merge-conflicts/SKILL.md
Resolve all merge conflicts on the current branch non-interactively, validate the build, and commit. Use when the user says "fix merge conflicts", "resolve conflicts", or when git status shows conflicting files.
npx skillsauth add bitsocialnet/bitsocial-web fix-merge-conflictsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Resolve all merge conflicts on the current branch non-interactively and leave the repo buildable.
git status --porcelain
Collect files with U statuses or containing <<<<<<< / ======= / >>>>>>> markers.
Open each conflicting file and remove conflict markers. Merge both sides logically when feasible.
When sides are mutually exclusive, pick the variant that:
File-type strategies:
| File type | Strategy |
| ------------------------------- | ------------------------------------------------------------------------ |
| package.json | Merge keys conservatively, then yarn install to regenerate yarn.lock |
| yarn.lock | Never manually edit — regenerate with yarn install |
| Config files (.json, .yaml) | Preserve union of safe settings; don't delete required fields |
| Markdown / text | Include both unique sections, deduplicate headings |
| Binary files | Prefer current branch (ours) |
| Generated / build artifacts | Prefer current branch (ours), or regenerate |
Run all three checks. Fix any failures before proceeding.
yarn build:verify && yarn lint && yarn typecheck
If package.json was modified, run yarn install first.
rg '<<<<<<<|=======|>>>>>>>' --type ts --type tsx --type json
If any markers remain, go back and resolve them.
git add -A
git commit -m "chore: resolve merge conflicts"
npx oxfmt <file> if they're .ts/.tsx/.js.yarn build:verify && yarn lint && yarn typecheckchore: resolve merge conflictsdevelopment
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
data-ai
Add or update i18next translation keys across all language files by spawning translator subagents. Use when the user asks to add a new translation, update existing translations, translate text, or work with i18n keys. Triggers on "translate", "add translation", "translation key", "i18n", "localization".
development
Test and debug Android wrapper features for Bitsocial Web using a local Android emulator or attached device. Manages emulator lifecycle, builds and installs the wrapper when commands are provided, runs focused checks, captures logcat diagnostics, and debugs WebView or TWA behavior. Use when the user asks to test Android, debug WebView behavior, run emulator tests, or says "test-apk".
testing
Review an open GitHub pull request, inspect bot and human feedback, decide which findings are valid, implement fixes on the PR branch, and merge the PR into master when it is ready. Use when the user says "check the PR", "address review comments", "review PR feedback", or "merge this PR".