prepare-commit-changes

Community

Stage specific code hunks.

AuthorAwish021
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows users to precisely select and stage individual hunks of code for a commit, offering granular control over version control.

Core Features & Use Cases

  • Selective Staging: Stage only the specific lines or blocks of code you intend to commit.
  • Hunk Identification: Uses a stable file:@-old,len+new,len format for precise hunk referencing.
  • Use Case: After making several unrelated changes across multiple files, use this skill to stage only the bug fix hunks, leaving other feature-related hunks unstaged for a later commit.

Quick Start

Use the prepare-commit-changes skill to stage hunk 'src/main.c:@-10,6+10,7'.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: prepare-commit-changes
Download link: https://github.com/Awish021/opencode/archive/main.zip#prepare-commit-changes

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 223,000+ vetted skills library on demand.