neon-branch-cleanup

Community

Safely prune Neon branches to keep previews clean

Authormojwang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Neon projects often accumulate preview branches in Neon that can lead to hitting branch limits or clutter deployments. This Skill identifies stale Neon database branches and can safely remove them while preserving branches tied to active work.

Core Features & Use Cases

  • Cross-reference each branch's matching GitHub PR state to avoid deleting branches backing open PRs.
  • Never delete primary or default branches.
  • End-to-end cleanup flow with safeguards and a confirmation step.

Quick Start

Run a safe Neon branch cleanup plan for the active project, cross-referencing GitHub PR states and preserving primary branches.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: neon-branch-cleanup
Download link: https://github.com/mojwang/macbook-dev-setup/archive/main.zip#neon-branch-cleanup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.