AgentSkillsCN

merged

PR 合并后进行清理工作

SKILL.md
--- frontmatter
name: merged
description: Clean up after PR is merged
disable-model-invocation: true

Merged

Clean up local branch after PR is merged.

Context

  • Current branch: !git branch --show-current
  • All local branches: !git branch

Instructions

  1. Switch to main: git switch main
  2. Pull latest: git pull
  3. Delete local branch with -D (squash merge requires force): git branch -D <branch>

The remote branch is auto-deleted by GitHub on merge.