specimin-wrap

Squash commits and create a pull request via gh for code review.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/timsvoice/specimin --skill specimin-wrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: specimin-wrap
Source: https://github.com/timsvoice/specimin/tree/main/.claude-plugin/skills/specimin-wrap
Command: npx skills add https://github.com/timsvoice/specimin --skill specimin-wrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, git.

What problem does it solve?

This Skill streamlines the finalization of finished features by squashing commits and creating a pull request with a clear PR description, reducing review time and keeping history clean.

Core Features & Use Cases

  • Commit hygiene: squash commits into a single coherent change before PR.
  • PR automation: generate a PR description and create the pull request.
  • Branch safety: validates environment and main branch protections to avoid merging unintended changes.

Quick Start

Wrap up your current feature by running the wrap operation on your feature branch. For example, say “specimin-wrap this feature” to begin the process.

Frequently Asked Questions about specimin-wrap

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

FAQPage Schema
How do I squash commits before creating a pull request?

Squashing commits consolidates multiple changes into a single coherent commit, cleaning up your branch history before PR creation. This Skill automates the squash process and immediately opens the PR with a generated description, reducing manual steps in your code-review workflow.

Can I automate PR creation from the command line with Git and GitHub CLI?

Yes. This Skill uses gh and git to automate PR creation end-to-end: it validates your branch, squashes commits, generates a PR description, and opens the pull request via GitHub CLI without manual intervention.

What checks does this Skill run before squashing and opening a PR?

The Skill enforces uncommitted-changes validation, verifies the correct target branch, confirms test results, and checks repository initialization. These safeguards prevent accidental merges and ensure your feature branch is ready for review before PR creation.

Does this work with feature-branch workflows across different Git repositories?

Yes. This Skill applies to feature-branch wrap-up workflows across any Git repository. It handles branch validation, test execution, and PR description generation as standardized steps in your code-review preparation process.

What happens if I have uncommitted changes when I run this Skill?

The Skill checks for uncommitted changes before proceeding and halts if any are found, preventing unintended commits. This safeguard ensures you explicitly stage and commit all changes before the squash and PR-creation process begins.

How does this Skill generate the PR description?

The Skill generates a standardized PR description based on your commit history and branch context, then creates the pull request via gh with robust error handling. This automation reduces manual description-writing and ensures consistent formatting across your team's PRs.