ci

Stage git changes and commit with automatic branch creation from CLAUDE.md policies.

2|Updated Sep 3, 2016
One-click install
npx skills add https://github.com/jpaddison3/dotfiles --skill ci-jpaddison3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci
Source: https://github.com/jpaddison3/dotfiles/tree/main/claude-skills/ci
Command: npx skills add https://github.com/jpaddison3/dotfiles --skill ci-jpaddison3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often need a reliable way to stage and commit changes, and automatically create a new branch when working on the main or master branch, respecting repository policies defined in CLAUDE.md.

Core Features & Use Cases

  • Stage Changes: Executes git add for all modified files.
  • Commit with Message File: Writes commit messages to a temporary file in the project’s tmp directory or system /tmp, then commits using git commit -F.
  • Automatic Branch Creation: Detects if the current branch is main/master, checks CLAUDE.md for branching rules, and creates a new branch if required.
  • Sequential Command Execution: Runs each git command individually without chaining, ensuring clear output and error handling.

Quick Start

Ask the CI skill to stage all changes and create a commit with your desired message.

Frequently Asked Questions about ci

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

FAQPage Schema
How do I automate git commit and branch creation from the command line?

To automate git commit and branch creation, this Skill stages modified files using git add and commits them via a temporary message file. It detects if you are on main or master and automatically switches to a new branch based on CLAUDE.md policies.

What is the best way to ensure proper branch handling when committing code to main?

The best way to ensure proper branch handling when committing code to main is checking CLAUDE.md for branching rules. This Skill reads that file, detects the main or master branch, and automatically creates a new branch before committing.

Can I use bash to stage changes and write commit messages to a temporary file?

Yes, you can use bash to stage changes and write commit messages to a temporary file. This Skill writes your message to the project's tmp directory or system /tmp, then executes git commit -F to apply it.

Does this git automation tool chain commands together during execution?

No, this git automation tool does not chain commands together during execution. It runs each git command individually without chaining to ensure clear output and dedicated error handling for every operation.

Why does my commit workflow need to read CLAUDE.md before switching branches?

Your commit workflow needs to read CLAUDE.md before switching branches to respect repository policies. The Skill checks this file for specific branching rules to determine if a new branch should be created automatically.