git-partial-commit

Community

Precisely stage specific lines or hunks for atomic commits.

Authortal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables users to stage only select parts of a file, such as particular hunks or lines, without staging the entire file, facilitating more focused and atomic commits.

Core Features & Use Cases

  • Selective Staging: Use unified diffs to specify precise code lines or hunks to stage.
  • Workflow Optimization: Ideal for splitting complex changes into smaller, manageable commits.
  • Use Case: When a developer edits a file with unrelated changes, they can stage only the bug fix lines and commit separately from the refactoring, improving commit clarity.

Quick Start

To stage specific lines, generate a diff for the target section, then run the staging script with that patch to update the staging area accordingly.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-partial-commit
Download link: https://github.com/tal/plugin-marketplace/archive/main.zip#git-partial-commit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.