# Git

Commands for streamlined Git operations including commits and pull request creation with conventional commit messages.

## Plugin Target

* Maintain consistent commit history - Every commit follows conventional commit format
* Reduce PR creation friction - Automated formatting, templates, and linking
* Improve issue-to-code workflow - Clear technical specs from issue descriptions
* Ensure team consistency - Standardized Git operations across the team

## Overview

The Git plugin provides commands that automate and standardize Git workflows, ensuring consistent commit messages, proper PR formatting, and efficient issue management. It integrates GitHub best practices and conventional commits with emoji.

Most commands require GitHub CLI (`gh`) for full functionality including creating PRs, loading issues, and setting labels/reviewers.

## Quick Start

```bash
# Install the plugin
/plugin install git@NeoLabHQ/context-engineering-kit

# Create a well-formatted commit
> /commit

# Create a pull request
> /create-pr
```

#### Analyze Open GitHub issues

```bash
# Load all open issues
> /load-issues

# Analyze a GitHub issue
> /analyze-issue 123
```

[Usage Examples](https://github.com/NeoLabHQ/context-engineering-kit/blob/master/docs/plugins/git/usage-examples.md)

## Commands

* [/commit](https://cek.neolab.finance/plugins/git/commit) - Create well-formatted commits with conventional commit messages and emoji.
* [/create-pr](https://cek.neolab.finance/plugins/git/create-pr) - Create pull requests using GitHub CLI with proper templates and formatting.
* [/analyze-issue](https://cek.neolab.finance/plugins/git/analyze-issue) - Analyze a GitHub issue and create a detailed technical specification.
* [/load-issues](https://cek.neolab.finance/plugins/git/load-issues) - Load all open issues from GitHub and save them as markdown files.
* [/attach-review-to-pr](https://cek.neolab.finance/plugins/git/attach-review-to-pr) - Add line-specific review comments to pull requests using GitHub CLI API.
* [/worktrees](https://cek.neolab.finance/plugins/git/git-worktrees) - Create, compare, and merge git worktrees for parallel development with automatic dependency installation

## Skills

* [notes](https://cek.neolab.finance/plugins/git/git-notes) - Skill about using git notes to add metadata to commits without changing history.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cek.neolab.finance/plugins/git.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
