pr-and-cleanup — for Claude Code pr-and-cleanup, claude-code-skill-example, community, for Claude Code, ide skills, ### オプション, create-worktree, commit-commands:commit-push-pr, commit-commands:clean_gone, Cleanup

v1.0.0

Sobre este Skill

Cenario recomendado: Ideal for AI agents that need worktreeでの開発完了後、pr作成と同時にworktreeを自動的にクリーンアップします。. Resumo localizado: pr-and-cleanup helps AI agents handle repository-specific developer workflows with documented implementation details.

Recursos

worktreeでの開発完了後、PR作成と同時にworktreeを自動的にクリーンアップします。
このスキルは以下を自動で実行します:
現在のworktreeディレクトリとブランチを検出
PRを作成(タイトル・本文はインタラクティブ入力可能)
PR作成成功後、worktreeを削除

# Core Topics

shikajiro shikajiro
[63]
[1]
Updated: 3/26/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
48
Canonical Locale
ja
Detected Body Locale
ja

Cenario recomendado: Ideal for AI agents that need worktreeでの開発完了後、pr作成と同時にworktreeを自動的にクリーンアップします。. Resumo localizado: pr-and-cleanup helps AI agents handle repository-specific developer workflows with documented implementation details.

Por que usar essa habilidade

Recomendacao: pr-and-cleanup helps agents worktreeでの開発完了後、pr作成と同時にworktreeを自動的にクリーンアップします。. pr-and-cleanup helps AI agents handle repository-specific developer workflows with documented implementation details.

Melhor para

Cenario recomendado: Ideal for AI agents that need worktreeでの開発完了後、pr作成と同時にworktreeを自動的にクリーンアップします。.

Casos de Uso Práticos for pr-and-cleanup

Caso de uso: Applying worktreeでの開発完了後、PR作成と同時にworktreeを自動的にクリーンアップします。
Caso de uso: Applying このスキルは以下を自動で実行します:
Caso de uso: Applying 現在のworktreeディレクトリとブランチを検出

! Segurança e Limitações

  • Limitacao: bash pr and cleanup.sh --pr-only
  • Limitacao: bash pr and cleanup.sh --cleanup-only
  • Limitacao: Requires repository-specific context from the skill documentation

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is pr-and-cleanup?

Cenario recomendado: Ideal for AI agents that need worktreeでの開発完了後、pr作成と同時にworktreeを自動的にクリーンアップします。. Resumo localizado: pr-and-cleanup helps AI agents handle repository-specific developer workflows with documented implementation details.

How do I install pr-and-cleanup?

Run the command: npx killer-skills add shikajiro/claude-code-skill-example. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for pr-and-cleanup?

Key use cases include: Caso de uso: Applying worktreeでの開発完了後、PR作成と同時にworktreeを自動的にクリーンアップします。, Caso de uso: Applying このスキルは以下を自動で実行します:, Caso de uso: Applying 現在のworktreeディレクトリとブランチを検出.

Which IDEs are compatible with pr-and-cleanup?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for pr-and-cleanup?

Limitacao: bash pr and cleanup.sh --pr-only. Limitacao: bash pr and cleanup.sh --cleanup-only. Limitacao: Requires repository-specific context from the skill documentation.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add shikajiro/claude-code-skill-example. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use pr-and-cleanup immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

pr-and-cleanup

Install pr-and-cleanup, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

PR And Cleanup

worktreeでの開発完了後、PR作成と同時にworktreeを自動的にクリーンアップします。

概要

このスキルは以下を自動で実行します:

  1. 現在のworktreeディレクトリとブランチを検出
  2. 未コミットの変更がないか確認
  3. PRを作成(タイトル・本文はインタラクティブ入力可能)
  4. PR作成成功後、worktreeを削除
  5. mainブランチ(リポジトリルート)にチェックアウト

重要: ローカルブランチとリモートブランチは残ります(削除されません)

使用方法

基本的な使い方

bash
1# worktreeディレクトリ内で実行 2cd .worktrees/<feature-name> 3bash ../../.claude/skills/pr-and-cleanup/scripts/pr_and_cleanup.sh

オプション

bash
1# PR作成のみ(worktreeを削除しない) 2bash pr_and_cleanup.sh --pr-only 3 4# worktreeクリーンアップのみ(PR作成済みの場合) 5bash pr_and_cleanup.sh --cleanup-only 6 7# タイトルと本文を事前指定 8bash pr_and_cleanup.sh --title "feat: Add new feature" --body "詳細な説明..." 9 10# ドラフトPRとして作成 11bash pr_and_cleanup.sh --draft 12 13# 未コミット変更を無視(非推奨) 14bash pr_and_cleanup.sh --force

前提条件

  • worktreeディレクトリ内で実行すること
  • すべての変更がコミット済みであること
  • gh CLI がインストール・認証済みであること
  • リモートブランチにpush済みであること(またはgh pr createが自動push)

実行例

bash
1$ cd .worktrees/user-auth 2$ bash ../../.claude/skills/pr-and-cleanup/scripts/pr_and_cleanup.sh 3 4[INFO] Current branch: feature/user-auth 5[INFO] Worktree path: /path/to/.worktrees/user-auth 6[STEP] Checking for uncommitted changes... 7[INFO] No uncommitted changes detected 8[STEP] Creating pull request... 9[INFO] PR created: https://github.com/user/repo/pull/123 10[STEP] Removing worktree... 11[INFO] Worktree removed successfully 12[STEP] Returning to main branch... 13[INFO] Now on branch: main

エラーハンドリング

未コミットの変更がある場合

スクリプトは停止し、コミットを促します。

PR作成失敗時

worktreeは削除されず、現在のディレクトリに留まります。

worktree外で実行した場合

警告を表示し、処理を中止します。

関連スキル

  • create-worktree: worktree作成
  • commit-commands:commit-push-pr: 従来のPR作成(worktree削除なし)
  • commit-commands:clean_gone: マージ済みブランチの一括削除

詳細

詳細については REFERENCE.md を参照してください。

Habilidades Relacionadas

Looking for an alternative to pr-and-cleanup or another community skill for your workflow? Explore these related open-source skills.

Ver tudo

openclaw-release-maintainer

Logo of openclaw
openclaw

Resumo localizado: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

widget-generator

Logo of f
f

Resumo localizado: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and

flags

Logo of vercel
vercel

Resumo localizado: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Resumo localizado: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Desenvolvedor