git

Automate Git commit creation, staging, and pull request handling.

211|9|Updated Dec 16, 2025
One-click install
npx skills add https://github.com/nexxeln/opencode-config --skill git-nexxeln
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/nexxeln/opencode-config/tree/main/skill/git
Command: npx skills add https://github.com/nexxeln/opencode-config --skill git-nexxeln

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill simplifies complex Git workflows by enabling atomic commits, selective staging, and efficient pull request management, reducing manual effort and errors.

Core Features & Use Cases

  • Atomic commits: Turn messy diffs into clean, focused commits, ideal for maintaining clear version history.
  • Selective staging: Stage specific hunks or lines without affecting unrelated changes, enhancing precision.
  • Pull request automation: Create and manage pull requests seamlessly, facilitating code reviews and collaboration.
    Use Case: When preparing a feature branch, you want to split multiple logical changes into separate commits for clarity and review before pushing.

Quick Start

Use the git skill to create a clean commit from a complex patch, then push it to your remote repository for review.

Frequently Asked Questions about git

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

FAQPage Schema
How do I split messy diffs into clean, atomic commits?

Yes, selective staging automates the staging of specific hunks or lines without affecting unrelated changes. This allows you to isolate logical modifications and create focused, atomic commits from a complex patch.

Can I automate pull request creation after staging my commits?

Yes, pull request automation facilitates the creation and management of pull requests seamlessly. After staging and committing your changes, the workflow pushes the branch to the remote repository to initiate code reviews.

Does this git workflow automation prevent accidental force pushes?

Yes, the workflow enforces strict safety controls including avoiding force pushes and minimizing accidental changes. These guardrails ensure precise management of branches and protect your repository history during automation.

What is the best way to squash multiple commits on a feature branch?

Squashing diffs is best handled by automating commit creation and branch management within your git workflow. This approach streamlines combining multiple logical changes into a single, coherent commit before pushing for review.

How do I manage selective staging for specific lines in a complex patch?

Selective staging allows you to stage specific hunks or lines from a complex patch independently. By automating this process, you can precisely control which changes are included in each commit without affecting unrelated modifications.