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

v1.0.0

关于此技能

This is a sample of Cloud Code Skills.

shikajiro shikajiro
[63]
[1]
更新于: 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.

核心价值

This is a sample of Cloud Code Skills.

适用 Agent 类型

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

赋予的主要能力 · pr-and-cleanup

! 使用限制与门槛

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.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 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

pr-and-cleanup 是什么?

This is a sample of Cloud Code Skills.

如何安装 pr-and-cleanup?

运行命令:npx killer-skills add shikajiro/claude-code-skill-example。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

pr-and-cleanup 支持哪些 IDE 或 Agent?

该技能兼容 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。可使用 Killer-Skills CLI 一条命令通用安装。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add shikajiro/claude-code-skill-example。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    pr-and-cleanup 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

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

安装 pr-and-cleanup,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

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

相关技能

寻找 pr-and-cleanup 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

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

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具