adversarial-reviewer
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Resolve Git merge, rebase, cherry-pick, revert, and stash conflicts safely by understanding both sides and the operation in progress before integrating, then verifying the result builds and passes tests. Use when a merge/rebase/cherry-pick stops with conflicts or "needs merge".
$ npx -y skills add KhaledSaeed18/dotclaude --skill merge-conflict --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/merge-conflictContext preview
The summary Claude sees to decide when to auto-load this skill.
Resolve Git merge, rebase, cherry-pick, revert, and stash conflicts safely by understanding both sides and the operation in progress before integrating, then verifying the result builds and passes tests. Use when a merge/rebase/cherry-pick stops with conflicts or "needs merge".
name: merge-conflict description: Resolve Git merge, rebase, cherry-pick, revert, and stash conflicts safely by understanding both sides and the operation in progress before integrating, then verifying the result builds and passes tests. Use when a merge/rebase/cherry-pick stops with conflicts or "needs merge". argument-hint: "(optional) files to focus on, or 'abort'"
Resolve conflicts by integrating the *intent* of both sides, never by blindly picking one or deleting code you don't understand. Work from the actual conflict, the operation that produced it, and the history behind each side.
The right "continue" and "abort" commands depend on what's running. Check first:
If the user just wants out, abort with the matching command and stop.
Conflict markers:
<<<<<<< ours ← your side (per Step 1's mapping) ... ||||||| base ← common ancestor (only in diff3/zdiff3 style) ... ======= ... >>>>>>> theirs ← incoming side
For each hunk, ask: what did *base → ours* change, and what did *base → theirs* change? The correct resolution usually keeps **both** intents. Side-picking is only right when the two changes are genuinely the same edit or one truly supersedes the other.
Before marking anything resolved:
1. Stage each resolved file explicitly: `git add <file>` (this is what marks it resolved). 2. Confirm there are no remaining unmerged paths: `git status`. 3. With the user's go-ahead, finalize using the operation's continue command from Step 1 (or `git commit` for a plain merge; keep the default merge message, and never add AI/co-author trailers). 4. Report what was resolved per file and how each notable conflict was decided, so the resolution is reviewable.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Repo: KhaledSaeed18/dotclaude
Review code through three hostile personas - the Saboteur, the New Hire, and the Security Auditor - each required to find at least one issue. Use when a…
Review an API contract (REST or GraphQL) before or while it is implemented, checking resource naming, HTTP semantics, status codes, error shape, pagination,…
Process code-review feedback with technical rigour — understand each point, check it against the actual codebase, and respond with reasoning or implementation…
Author a new subagent for this repository end to end by scaffolding it with pnpm new, curating its tool allowlist, setting model, color, and memory in…
Author a new slash command for this repository end to end by scaffolding it with pnpm new, writing the frontmatter and argument handling, drafting the prompt…
Author a new Claude Code hook for this repository end to end by scaffolding it with pnpm new, writing the hook script and its settings.json wiring, documenting…