Agent skill

land

Merge the current PR and clean up the feature branch

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/land

SKILL.md

Merge the current branch's PR and clean up.

Steps:

  1. Find the PR for the current branch using gh pr view.
  2. Merge the PR with gh pr merge <url> --merge.
  3. Switch to local main: git checkout main.
  4. Pull remote main into local: git pull origin main.
  5. Delete the feature branch on local and remote:
    • git branch -d <branch-name>
    • git push origin --delete <branch-name>
  6. Confirm cleanup is complete with git branch and git status.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results