closing-linear-issue

Close linked issues and clean up branches after pull request merges.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/accelerate-data/engineering-skills --skill closing-linear-issue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: closing-linear-issue
Source: https://github.com/accelerate-data/engineering-skills/tree/main/skills/closing-linear-issue
Command: npx skills add https://github.com/accelerate-data/engineering-skills --skill closing-linear-issue

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the post-merge steps for closing issues linked to completed pull requests, reducing manual effort and ensuring consistency in project workflows.

Core Features & Use Cases

  • Issue Closure Automation: Detects when a PR is merged and automatically closes linked issues and related tasks.
  • Branch and Worktree Cleanup: Safely removes local branches, worktrees, and remote branches associated with finished issues.
  • Use Case: After a review and merge of a feature, this Skill closes all related issues, deletes the feature branch, and cleans up local artifacts to maintain a tidy repository.

Quick Start

Use this Skill after merging a PR to automatically close linked issues and clean up the development environment.

Frequently Asked Questions about closing-linear-issue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically close GitHub issues when a pull request is merged?

To close linked issues after a PR merge, an automation Skill detects the merge event and closes the associated issues in GitHub. This reduces manual effort and ensures consistent post-merge workflows in your repository.

What is the best way to clean up local branches and worktrees after a merge?

Using an automated cleanup tool safely removes local branches, worktrees, and remote branches associated with finished issues after a merge. This maintains a tidy repository and local development environment.

Does this issue closure automation work within existing GitHub workflows?

Yes, this issue closure automation operates within GitHub workflows and local repositories. It requires integration with git and GitHub PR tools to verify PR merges and execute the corresponding issue closure and branch cleanup operations.

How do I streamline post-merge repository maintenance for multiple linked issues?

You can streamline post-merge maintenance by automating the cleanup process to detect completed PRs, close all related issues, and delete associated feature branches. This improves efficiency and accuracy across project workflows.

Do I need git and GitHub PR tools to automate issue closure and branch deletion?

Yes, you need git and GitHub PR tools to automate issue closure and branch deletion. The automation requires integration with these tools for verification and operations within your local repository and GitHub workflows.