git-commit

Stage selected changes and execute a PowerShell-safe commit from an approved draft message.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/ManfronEnrico/thesis-manifold --skill git-commit-manfronenrico
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/ManfronEnrico/thesis-manifold/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/ManfronEnrico/thesis-manifold --skill git-commit-manfronenrico

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git commits are essential but error-prone when messages are not standardized. This skill ensures commits are created only from an approved draft message, handling staging, and executing a PowerShell-safe commit command, with a post-commit checklist to verify results. It also enforces worktree isolation before committing to prevent accidental changes to protected branches.

Core Features & Use Cases

  • Gatekept commit flow: stages selected changes or all changes with a safe default, then applies an approved draft message.
  • Draft-message enforcement: relies on an approved draft produced by /git-draft-commit to ensure message quality and consistency.
  • Safe, auditable workflow: executes a PowerShell-safe commit and presents a post-commit checklist to confirm success and traceability.
  • Use case: when a team requires standardized, auditable commits with guardrails around worktree state and messaging.

Quick Start

Submit the staged changes using the approved draft message to complete the commit.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I commit changes using an approved draft message in git?

To commit changes with an approved draft message, this skill validates your git worktree, stages selected changes, and executes a PowerShell-safe commit using the draft generated by /git-draft-commit. It enforces worktree isolation to prevent accidental commits to protected branches.

What is the safest way to enforce a standardized git commit workflow?

A standardized git commit workflow is enforced by requiring a pre-approved draft message before staging and committing. This skill acts as a gatekeeper, ensuring worktree isolation and executing a PowerShell-safe commit followed by a post-commit checklist for traceability.

Do I need a draft message before I can stage and commit my git changes?

Yes, a draft message is required before committing. This skill relies on an approved draft produced by the /git-draft-commit workflow to ensure message quality and consistency, preventing unstructured or error-prone commits.

How does worktree isolation prevent accidental commits to protected branches?

Worktree isolation prevents accidental commits by validating the current git worktree state before staging changes. This ensures you are operating in the correct isolated environment and blocks commits from being applied to protected branches.

Can I execute a PowerShell-safe git commit without manual command line entry?

Yes, you can execute a PowerShell-safe git commit automatically. The skill handles the command execution safely after staging your selected changes and applying the approved draft message, providing a post-commit checklist to verify the results.

What are the limitations of using a scripted git commit workflow?

A scripted git commit workflow requires strict adherence to the sequence: you must generate a draft message using /git-draft-commit first. It will not allow direct commit creation without the approved draft, ensuring guardrails but limiting ad-hoc commits.