git

Automate Git branch creation, TODO-based commits, and PR generation.

Updated Apr 19, 2025
One-click install
npx skills add https://github.com/kys0213/agentos --skill git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/kys0213/agentos/tree/main/.claude/skills/git
Command: npx skills add https://github.com/kys0213/agentos --skill git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, github-cli.

What problem does it solve?

Inconsistent Git practices, manual branch management, and tedious commit message formatting can slow down development and lead to messy repositories. This Skill automates the entire Git workflow for the AgentOS project, ensuring adherence to project conventions and reducing cognitive load for developers.

Core Features & Use Cases

  • Automated Branching: Creates new branches with correct naming conventions based on feature type (e.g., feature/ux-command-palette, fix/chatapp-state-sync).
  • Convention-Compliant Commits: Generates commit messages following TODO-based progress (WIP, Complete) and final feature completion formats, including co-authorship.
  • Streamlined PR Creation: Guides through the Pull Request checklist and generates PRs with pre-filled templates, ensuring all requirements are met before submission.
  • Use Case: After completing a set of changes, simply tell the AI, "I'm done with this feature, create a PR." The Skill will automatically stage changes, format the final commit message, push the branch, and open a browser to create a PR with the correct template, saving you multiple manual steps.

Quick Start

The skill is activated by natural language prompts.

Example: Creating a new feature branch

"Create a new branch for the 'command palette' UX feature."

Example: Committing current changes

"Commit my current changes for TODO 3/5: Implement search functionality."

Example: Creating a Pull Request

"I've finished the feature, create a Pull Request."

Frequently Asked Questions about git

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

FAQPage Schema
How do I automate Git branch creation with naming conventions?

Automated branching creates new branches with correct naming conventions based on feature type, such as `feature/ux-command-palette` or `fix/chatapp-state-sync`. This ensures consistency across your repository and enforces project standards without manual naming steps.

Can I generate commit messages automatically from TODO items?

Yes. Convention-compliant commits are generated following TODO-based progress (WIP, Complete) and final feature completion formats, including co-authorship. This aligns commits to specific work items and reduces formatting errors.

What's the fastest way to create a pull request with the correct template?

Streamlined PR creation stages changes, formats the final commit message, pushes the branch, and opens a browser to create a PR with the correct template. One command replaces multiple manual steps and ensures all requirements are met before submission.

Does this work with GitHub CLI for pull request workflows?

Yes. The Skill integrates with GitHub CLI and git dependencies to handle pull request generation across multiple conventions and environments, enabling automated PR creation as part of your workflow.

How do I enforce consistent Git practices across my team?

Automated Git workflow enforcement applies project conventions to branch management, commit messages, and PR creation, reducing inconsistent practices and cognitive load while ensuring adherence to team standards.

What happens if my branch naming doesn't match project conventions?

The Skill enforces branch naming rules and will not create branches that violate your project's conventions. It guides you to use correct naming patterns, preventing non-compliant branches from being created.