xt-end

Audit issue state, normalize the repository tree, and complete the PR flow.

4|1|Updated Nov 1, 2025
One-click install
npx skills add https://github.com/xtrm-dev/specialists --skill xt-end
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xt-end
Source: https://github.com/xtrm-dev/specialists/tree/main/.xtrm/skills/default/xt-end
Command: npx skills add https://github.com/xtrm-dev/specialists --skill xt-end

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill closes an xt worktree session safely by auditing session work, normalizing the tree, and completing the handoff without getting stuck on routine interactive prompts.

Core Features & Use Cases

  • Checks bead issue status and recent commits to determine whether the session is actually complete.
  • Repairs common end-of-session anomalies such as dirty trees, missing linkage, generic PR titles, and dry-run warnings.
  • Handles rebase, push, and PR creation steps in a deterministic, non-interactive way.
  • Use it when the user says the work is done, the branch is ready to merge, or all session issues are closed.

Quick Start

Use the xt-end skill to safely close the current xt worktree session and report the resulting PR status.

Frequently Asked Questions about xt-end

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

FAQPage Schema
How do I safely close a git worktree session and complete the PR flow?

To safely close a git worktree session and complete the PR flow, you can automate the end-of-session cleanup by auditing issue state, normalizing the repository tree, and handling commits, stashes, and rebases deterministically.

What is the best way to automate PR creation without getting stuck on interactive prompts?

Automating PR creation without interactive prompts requires a deterministic, non-interactive execution process that handles rebase, push, and branch validation automatically while repairing common end-of-session anomalies like generic PR titles.

How do I repair a dirty git repository tree before merging a branch?

To repair a dirty git repository tree before merging, you can run an end-of-session cleanup process that remediates anomalies, verifies scope, and safely handles stashes and commits to normalize the tree for autonomous merge preparation.

When should I use an automated worktree session close instead of manual git commands?

You should use an automated worktree session close when bead-linked work is done, the branch is ready to merge, or all session issues are closed, ensuring deterministic non-interactive execution for scope verification and worktree removal.

Why does my automated branch validation fail during end-of-session git cleanup?

Automated branch validation during git cleanup can fail due to unremediated end-of-session anomalies such as dirty trees, missing linkage, or unresolved dry-run warnings that require scope verification and anomaly remediation before proceeding.