dev-deploy

Merge the current git branch into origin/dev and push after a successful merge.

8|1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/JoeCP17/LLM-Dot-files --skill dev-deploy-joecp17
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-deploy
Source: https://github.com/JoeCP17/LLM-Dot-files/tree/main/codex/skills/dev-deploy
Command: npx skills add https://github.com/JoeCP17/LLM-Dot-files --skill dev-deploy-joecp17

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It prevents risky or inconsistent deployments by updating your local dev branch from the latest remote, then merging your current branch into it with clear conflict handling.

Core Features & Use Cases

  • Updates dev from remote first: Fetches origin/dev, fast-forwards local dev to match, then merges the source branch.
  • Conflict-safe behavior: Stops immediately on merge conflicts and asks the user to choose exactly one manual resolution path.
  • Deployment via shared dev: Pushes the updated origin/dev only after a successful merge, avoiding pushes on failure.

Use Case: You finish implementing a feature on a branch and the user asks you to merge it into dev and deploy by updating the shared development branch.

Quick Start

Use the dev-deploy skill to merge your current branch into the latest origin/dev and push the result to origin.

Frequently Asked Questions about dev-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely merge a feature branch into dev and push to origin?

To safely merge a feature branch into dev and push, the workflow fetches origin/dev, fast-forwards your local dev, performs a non-ff merge of your source branch, and pushes only if the merge succeeds without conflicts.

What happens when git merge conflicts occur during a dev branch deployment?

When merge conflicts occur during a dev branch deployment, the process stops immediately without auto-resolution, requiring you to manually choose a resolution path before the updated state can be pushed to origin/dev.

How do I update my local dev branch from remote before merging new features?

To update your local dev branch from remote before merging, the process fetches origin/dev and fast-forwards your local dev to match the latest shared development state, ensuring a clean working tree beforehand.

Does the dev deployment workflow push to origin if the feature merge fails?

No, the dev deployment workflow does not push to origin if the merge fails. It only publishes the updated state to origin/dev after a successful merge and explicit conflict resolution.

What's the best way to handle a non-ff merge into a shared development branch?

The best way to handle a non-ff merge into a shared development branch is to fetch the latest remote, fast-forward local dev, merge the source branch, and stop on conflicts to prevent risky deployments.

Why does merging into dev require a clean working tree check?

Merging into dev requires a clean working tree check to prevent inconsistent deployments, ensuring no uncommitted local changes interfere with the fetch, fast-forward, and non-ff merge steps.