lwlee2608/agent-skills

merge-pr

Merge a GitHub PR, close linked issues, and delete the branch.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/lwlee2608/agent-skills --skill merge-pr

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Merge PR

Rules

  1. Merge with a merge commit, not squash or rebase. Default to the current branch's PR.
  2. Close linked issues still open. GitHub auto-closes them only for merges into the default branch. Skip if none.
  3. Update partially addressed issues. For issues the PR references without closing (e.g. "fixes from #125"), check off the items it completed with gh issue edit --body-file and keep the issue open. Skip if none. List these edits, by issue and checkbox, in any merge approval you ask for. If one is denied, don't reroute; report it and ask.
  4. Delete the branch, remote and local.
aus demselben Repository

Weitere Skills

Alle Skills