/dxd-skills:quick-fix-deploy-syncfrom dxd-skills
Sync production and staging Git branches with fast-forward merges and push. Use for hotfix promotion, backports to staging, or keeping release branches aligned after or alongside a fix commit.
Ships in dxd-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Keep production and staging branches aligned using fast-forward-only merges (--ff-only)—no merge commits, no silent rebases, and no force-pushing.
Discover the production and staging branch names before any git writes, in order:
AGENTS.md, README.md, docs/setup.md, .github/workflows/*git symbolic-ref --short refs/remotes/origin/HEAD (fallback: git remote show origin)main, master) and staging (dev, staging, develop, preview)If still ambiguous, ask once which branch is production and which is staging.
Record the starting branch (git branch --show-current) and fetch before inspecting refs:
git fetch origin
git status
git branch -vv
Handle uncommitted work first:
Compare both remote tips (and check for unpushed local commits on either branch):
git rev-parse origin/<production> origin/<staging>
git log --oneline origin/<staging>..origin/<production>
git log --oneline origin/<production>..origin/<staging>
Stop and report if either branch is missing on origin, or if the branches have diverged (see step 5). If a branch exists on origin but not locally, create a local tracking branch when checking it out.
<staging> to <production>.<production> to <staging>.git fetch).Push the <leading> branch first if it has unpushed local commits, then fast-forward <lagging> to origin/<leading>:
git checkout <lagging>
git pull --ff-only origin <lagging>
git merge --ff-only origin/<leading>
git push origin <lagging>
git checkout <starting-branch>
Stay on <lagging> or <leading> only if the user asked to. Never use plain git merge, git pull without --ff-only, git rebase, git commit --amend on pushed commits, or git push --force without explicit user approval.
If git push is rejected by branch protection or required PR rules, stop and report the rejection (suggest opening a PR if required)—never bypass protections or force-push.
Verify both remote tips match:
git rev-parse origin/<production> origin/<staging>
git log -1 --oneline --decorate origin/<production> origin/<staging>
Report both branch names and SHAs, sync direction, push status, current branch, and any relevant CI/deploy hooks (do not trigger a deploy unless asked).
If branches have diverged or git merge --ff-only fails, stop and show both sides:
git log --oneline --left-right origin/<production>...origin/<staging>
Present concrete options—open a merge PR, rebase <staging> onto <production> (needs approval), or reset <staging> to <production> (destructive; needs approval)—and wait for the user to choose.
What SKILL.md sets; muted values are Claude Code's defaults
19 skills in this plugin
/adversarial-reviewSend a diff to Opus 5.5, GPT-6.1 Sol, and Gemini 4 Carbon (all at medium effort) for an adversarial bug review, then triage every finding. Use when the user asks for an adversarial review, a second model, or a cross-lab bug hunt./ci-verify-setupSet up one reliable project verification command and run it in CI. Use when local checks are scattered or missing, CI is absent or broken, or agents cannot consistently verify their changes./company-profileResearch and write a reusable company profile with accurate descriptions, bios, and page copy. Use when a user needs to explain what a company does across an About page, website sections, social profiles, directories, press materials, or partner listings./data-oriented-designRedesign performance-critical data structures around how they are accessed: flat arrays with index handles instead of hash maps and pointers, struct-of-arrays layouts, bit-packed indices, inline-capacity lists, and bitsets, instead of adding caches. Use when asked to apply data-oriented design, or to make a profiled hot loop or data structure faster in systems code./derive-clientDerive a small HTTP client or CLI from browser network traffic. Use when a website lacks a suitable API client, or the user asks to capture a HAR and turn an observed browser flow into reusable direct requests./dxd-code-reviewReview branch changes with a strict focus on maintainability, abstraction boundaries, file size, and branching complexity. Use when the user requests a DXD code review or an unusually deep structural critique.Other plugins' skills for the same job
npx claudepluginhub designxdevelop/agent-skills --plugin dxd-skills