trycycle-finishing

Verify tests and finalize Git feature branches with four workflow options.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/kylesnowschwartz/dotfiles --skill trycycle-finishing-kylesnowschwartz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trycycle-finishing
Source: https://github.com/kylesnowschwartz/dotfiles/tree/main/claude/skills/trycycle/subskills/trycycle-finishing
Command: npx skills add https://github.com/kylesnowschwartz/dotfiles --skill trycycle-finishing-kylesnowschwartz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finishes development branches by automating test validation, base-branch resolution, and finalizing the chosen workflow to ensure safe and repeatable merges or PRs.

Core Features & Use Cases

  • Verify tests pass before finishing a feature branch.
  • Detect the appropriate base branch and offer four deterministic options.
  • Execute the selected path (merge locally, push and create PR, keep workspace, or discard) with cleanup.

Quick Start

Finish the development branch by verifying tests, selecting the base, executing the chosen option, and cleaning up the workspace.

Frequently Asked Questions about trycycle-finishing

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

FAQPage Schema
How do I automate finishing a Git feature branch safely?

Automating feature branch completion involves verifying tests pass, detecting the base branch, and executing a chosen workflow option like local merge, push and create PR, keep workspace, or discard. This ensures safe and repeatable Git workflow finalization with optional cleanup.

What is the best way to prevent merging a Git feature branch with failing tests?

To prevent merging with failing tests, use an automated workflow that enforces test validation as a strict safeguard before finalizing a feature branch. This blocks progress entirely until all tests pass, ensuring only verified code gets merged or submitted as a PR.

Can I choose between a local merge and creating a PR when finishing a feature branch?

Yes, when finishing a feature branch you can choose between four deterministic options: merge locally, push and create a PR, keep the workspace as is, or discard the branch. The selected action executes with clear cleanup behavior aligned to your choice.

How do I detect the correct base branch for a Git feature branch merge?

Detecting the correct base branch for a feature branch merge is handled automatically during the workflow finalization process. The system resolves the appropriate base branch before presenting execution options, ensuring the merge or PR targets the correct integration branch.

Does Git workflow automation work without any external dependencies?

Yes, this Git workflow automation operates without external dependencies. It runs in Git-based development environments to verify tests, resolve base branches, and execute merge, PR, or discard actions entirely standalone using built-in capabilities.

When should I avoid automating feature branch finalization?

You should avoid automating feature branch finalization if your project lacks a reliable test suite, as the workflow strictly blocks progress on failing tests. Additionally, if you need manual conflict resolution control, the automated discard or merge options may be too restrictive.