deploy

Creates a deploy pull request from a feature branch to an environment branch.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/devbasex/ai-plugins --skill deploy-devbasex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/devbasex/ai-plugins/tree/main/plugins/ndf/skills/deploy
Command: npx skills add https://github.com/devbasex/ai-plugins --skill deploy-devbasex

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually preparing environment deployments—creating deploy branches, merging the latest base branch, pushing, and opening PRs against qa/staging branches—is repetitive and error-prone. This Skill automates the entire flow with a single command. ## Core Features & Use Cases - Automated deploy branch creation: Derives a {feature}_to_{env} branch from the current feature branch and merges the latest base branch before pushing. - Duplicate PR detection: Checks for an existing PR from the same deploy branch and skips recreation, since pushing to the branch updates the PR automatically. - Conflict-safe recovery: Aborts the merge, deletes the deploy branch, and returns to the feature branch if the base branch merge conflicts. - Use Case: After finishing a feature, run /ndf:deploy qa/staging to get a ready-to-review PR targeting the staging environment without touching any git commands manually. ## Quick Start Ask the AI to deploy the current feature branch to the qa/staging environment branch using the deploy command.

Frequently Asked Questions about deploy

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

FAQPage Schema
How do I deploy a feature branch to a staging environment with a pull request?▼

Run the deploy command with the target environment branch, for example /ndf:deploy qa/staging. It creates a {feature}_to_{env} branch, merges the latest base branch, pushes it, and opens a PR against the environment branch.

What is the difference between cherry-pick-pr and deploy for environment releases?▼

cherry-pick-pr applies only selected commits from a feature branch, while deploy applies the entire feature branch. Use cherry-pick-pr to deliver specific fixes and deploy to verify a whole feature in an environment.

What happens if the base branch merge conflicts during deploy?▼

The merge is aborted, the deploy branch is deleted, and you are returned to the feature branch. You should sync the feature branch with the base branch first, then rerun the deploy command.

Does running deploy twice create duplicate pull requests?▼

No. The command checks for an existing PR from the same deploy branch to the target environment and exits if one exists. Pushing new commits to the deploy branch updates the existing PR automatically.

Can I run the deploy command from the base branch?▼

No. Running from the base branch is explicitly blocked with an error. You must run it from the feature branch you want to deploy, inside the worktree or directory where that branch is checked out.