mcpField
C
close-pulls

close-pulls

github.com/deevusDevelopment12125 installsUpdated 22w ago
Repository

About close-pulls

close-pulls is a skill for closing and reopening pull requests with tea. It also provides a command-line pipeline example for closing open pull requests that have not been updated for 90 days.

Key features

  1. 01Close pull requests without merging
  2. 02Reopen pull requests
  3. 03Find stale open pull requests using JSON and jq
  4. 04Bulk-close matching pull requests

Use cases

  1. 01Closing a pull request without merging
  2. 02Reopening a closed pull request
  3. 03Finding open pull requests with no recent updates
  4. 04Closing stale pull requests in bulk

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/deevus/tea-skills --skill close-pulls

After installing, type/close-pullsin Claude Code to confirm it loaded.

Details

From the project README

Close / Reopen Pull Requests

Close

tea pulls close 15         # close without merging

Reopen

tea pulls reopen 15

Bulk Close Stale PRs

tea pulls list --state open --output json | \
  jq -r '.[] | select(.updated | fromdateiso8601 < (now - 90*86400)) | .index' | \
  xargs tea pulls close

Comments

Markdown supported