pr-closeout

Automate issue and PR closeout by verifying closure outcomes and reconciling artifacts.

4|1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/danielbaustin/agent-design-language --skill pr-closeout
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: pr-closeout
Source: https://github.com/danielbaustin/agent-design-language/tree/main/adl/tools/skills/pr-closeout
Command: npx skills add https://github.com/danielbaustin/agent-design-language --skill pr-closeout

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) components.

What problem does it solve?

Finalizes the issue/PR lifecycle by verifying closure outcomes, normalizing truth across STP/SIP/SOR, reconciling artifacts between root and worktree, and safely pruning local surfaces after review.

Core Features & Use Cases

  • Verifies PR closure state and issue closure alignment.
  • Normalizes final STP/SIP/SOR truth and reconciles root/worktree surfaces.
  • Records supersession or duplicate links when applicable and emits a structured closeout result.

Quick Start

Resolve the concrete target (issue, PR, or worktree) and run the skill after the PR outcome is known to finalize the closeout.

Frequently Asked Questions about pr-closeout

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

FAQPage Schema
How do I automate issue closeout after a pull request is merged?โ–ผ

Automating issue closeout after a PR is merged involves verifying PR closure alignment and normalizing STP/SIP/SOR truth. This process reconciles artifacts between root and worktree surfaces and safely prunes local workspaces after review outcomes are confirmed.

What is the best way to prune local git worktrees after a PR closes?โ–ผ

Pruning local git worktrees after PR closure requires verifying final PR and issue state, reconciling artifacts between root and worktree, and then executing a safe pruning of the local work surface to finalize the lifecycle.

How does artifact reconciliation work between a git root and a worktree?โ–ผ

Artifact reconciliation between a git root and a worktree works by normalizing truth across STP/SIP/SOR references. It ensures artifacts are accurately synced and reconciled before the local work surface is pruned during the closeout process.

Do I need input validation to finalize issue state after PR closure?โ–ผ

Yes, input validation is required to finalize issue state after PR closure. Enforcing structured outputs and policy-driven stop conditions during closeout ensures safe, verified reconciliation of artifacts and worktrees across all lifecycle stages.

Can I record supersession or duplicate references when closing a PR?โ–ผ

Yes, you can record supersession or duplicate references when closing a PR. The closeout process supports recording these links when relevant, ensuring accurate tracking of issue and PR relationships during final state normalization and artifact reconciliation.

When should I not use automated closeout for git worktrees and issues?โ–ผ

You should avoid automated closeout if the PR closure outcome is unknown or if policy-driven stop conditions are unmet. Closeout requires a verified PR outcome to safely reconcile artifacts, normalize truth, and prune the local work surface.