LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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

Creates a pull request and automatically removes the worktree after development completion

Tags

Updated: 2026-02-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • detect worktree directory and branch
  • check for uncommitted changes
  • create pull request
  • remove worktree
  • checkout to main branch

Inputs

  • worktree directory
  • branch information
  • repository
  • commit changes

Outputs

  • pull request
  • worktree removal
  • return to main branch

Requirements

  • execute within worktree directory
  • all changes must be committed
  • gh CLI installed and authenticated
  • remote branch pushed

Source

  • Spec: SKILL.md

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.
git
pull-request
worktree
cleanup
automation
detect worktree directory and branch
check for uncommitted changes
create pull request
remove worktree
worktree directory
branch information
repository
pull request
worktree removal
return to main branch