pr-and-cleanup — community pr-and-cleanup, claude-code-skill-example, community, ide skills

v1.0.0

À propos de ce Skill

This is a sample of Cloud Code Skills.

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

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 1/11

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

Review Score
1/11
Quality Score
33
Canonical Locale
ja
Detected Body Locale
ja

This is a sample of Cloud Code Skills.

Pourquoi utiliser cette compétence

This is a sample of Cloud Code Skills.

Meilleur pour

Suitable for operator workflows that need explicit guardrails before installation and execution.

Cas d'utilisation exploitables for pr-and-cleanup

! Sécurité et Limitations

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The page lacks a strong recommendation layer.
  • - The page lacks concrete use-case guidance.
  • - The page lacks explicit limitations or caution signals.
  • - 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?

This is a sample of Cloud Code Skills.

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.

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.

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 を参照してください。

Compétences associées

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

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

widget-generator

Logo of f
f

Générez des plugins de widgets personnalisables pour le système de flux prompts.chat

flags

Logo of vercel
vercel

Le Cadre de Réaction

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Tenseurs et réseaux neuronaux dynamiques en Python avec une forte accélération GPU

98.6k
0
Développeur