SkillAgentSearch skills...

pr-to-main-cleanup

Clean up merged feature branches after PR to main is merged

Install / Use

npx skills add breaking-brake/cc-wf-studio --skill pr-to-main-cleanup

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

65/100

Category

Automation

Supported Platforms

Universal

Our assessment of pr-to-main-cleanup

pr-to-main-cleanup scores 65/100 on our quality scale, 1469th of 1,657 Automation skills we index.

Its SKILL.md is 925 bytes long, split into 4 sections with 1 code example: fairly brief, so expect to fill in details yourself.

With 5,390 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
14/30
Structure
12/20
Description
8/15
Adoption
16/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 6 days ago, so pr-to-main-cleanup is actively maintained.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

pr-to-main-cleanup compared with similar skills

All 4 of these similar skills score higher than pr-to-main-cleanup; compare them before choosing.

SkillScoreStarsUpdatedFormat
pr-to-main-cleanup (this skill)by breaking-brake655.4k6d agoSKILL.md
Agent-Reachby Panniantong10085.6k11d agoCLAUDE.md
rufloby ruvnet10073.3ktodayCLAUDE.md
Scraplingby D4Vinci10083.9ktodayMCP Server
algorithmic-artby anthropics100177.9k4d agoSKILL.md

Frequently asked questions

How do I install pr-to-main-cleanup?
Run npx skills add breaking-brake/cc-wf-studio --skill pr-to-main-cleanup. The install tabs above show the steps for each supported agent.
Which AI agents does pr-to-main-cleanup work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is pr-to-main-cleanup safe to use?
It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is pr-to-main-cleanup still maintained?
The repository was last updated 6 days ago, so pr-to-main-cleanup is actively maintained.

name: pr-to-main-cleanup description: Clean up merged feature branches after PR to main is merged. Use when the user says "ブランチ削除", "cleanup", "マージ後の片付け", or wants to delete a merged branch.

PR to Main Cleanup

Delete merged feature branches after PR is merged to main.

Workflow

  1. Gather context (parallel):

    • git branch to identify current branch
    • git log --oneline -1 to confirm current state
  2. Execute cleanup:

    • Switch to main branch
    • Pull latest changes from origin
    • Delete local feature branch
    • Delete remote feature branch

Commands

git checkout main && git pull origin main && git branch -D <branch-name> && git push origin --delete <branch-name>

Important Notes

  • PRs to main are always squash-merged, so use -D (force delete) since git cannot detect squash merges as "merged"
  • Always pull latest main before deleting to sync merge status

Related Skills

View on GitHub
GitHub Stars5.4k
CategoryAutomation
Updated6d ago
Forks571

Languages

TypeScript

Trust signals

88/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium