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 - Automatically create PR and cleanup worktree after development

Creates a pull request and automatically cleans up worktree after development completion

Tags

Updated: 2026-02-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

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

Inputs

  • worktree directory
  • branch name
  • PR title
  • PR description
  • remote branch

Outputs

  • pull request link
  • cleaned worktree
  • status changes

Requirements

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

Source

  • Spec: SKILL.md
git
pull-request
worktree
cleanup
detect current worktree directory
check for uncommitted changes
create pull request
remove worktree directory
worktree directory
branch name
PR title
pull request link
cleaned worktree
status changes