LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

pr-and-cleanup - Automated PR Creation with Worktree Cleanup

Creates pull requests and removes worktrees after development completion

Tags

Updated: 2026-02-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Detect current worktree and branch
  • Check for uncommitted changes
  • Create pull request interactively
  • Remove worktree directory
  • Checkout to main branch

Inputs

  • GitHub repository
  • Worktree directory
  • Git branch
  • GitHub CLI credentials
  • Committed changes

Outputs

  • Pull request URL
  • Removed worktree
  • Main branch checkout status

Requirements

  • Must execute inside worktree directory
  • All changes must be committed
  • GitHub CLI installed and authenticated
  • Remote branch pushed or auto-push by gh

Source

  • Spec: SKILL.md
git
workflow
automation
pull-request
cleanup
Detect current worktree and branch
Check for uncommitted changes
Create pull request interactively
Remove worktree directory
GitHub repository
Worktree directory
Git branch
Pull request URL
Removed worktree
Main branch checkout status