auto-stage-commit

Stage the git working tree and generate a Conventional Commits message.

4|4|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Roentek/Claude_Code_Boilerplate_Framework --skill auto-stage-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-stage-commit
Source: https://github.com/Roentek/Claude_Code_Boilerplate_Framework/tree/main/.claude/skills/auto-stage-commit
Command: npx skills add https://github.com/Roentek/Claude_Code_Boilerplate_Framework --skill auto-stage-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the friction of preparing a commit by automatically staging changes and generating a lean, Conventional Commits–style message that matches the project’s preferred format.

Core Features & Use Cases

  • Auto-stages everything: Runs git add -A (or uses already-staged changes) so you don’t have to manually select files.
  • Generates the commit message with caveman-commit: Delegates message creation to the existing caveman-commit skill using the diff context, ensuring consistent Conventional Commit formatting.
  • Stops before committing: Produces staged file stats and a ready-to-run git commit command for user review, avoiding unintended commits.

Use case example: You finish a refactor and say “ready to push”; this skill stages your changes, generates a Conventional Commit message from the diff, and shows a command you can run after reviewing.

Quick Start

Invoke the auto-stage-commit skill when you are done with your changes and want to stage them and get a ready-to-run Conventional Commit command for review.

Frequently Asked Questions about auto-stage-commit

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

FAQPage Schema
How do I automatically stage git changes and generate a conventional commit message?

To automatically stage git changes and generate a conventional commit message, run the git working tree staging process to capture diffs, then delegate message formatting to ensure consistent commit semantics before executing git commit.

Can I review the generated commit message before the actual git commit happens?

Yes, you can review the generated commit message before the git commit happens because the process stops to output staged file stats and a ready-to-run git commit command, preventing unintended commits.

How does diff analysis work when drafting a conventional commit?

Diff analysis for drafting a conventional commit works by running cached-aware git status and diff commands to extract context, which is then used to generate an appropriate commit message matching the project's preferred format.

Does the auto staging process require manual file selection with git add?

No, the auto staging process does not require manual file selection because it runs git add -A to stage all changes automatically, although it can also use existing staged changes if they are already present.

What is the best way to maintain consistent commit semantics during a code workflow?

The best way to maintain consistent commit semantics during a code workflow is to generate reviewable Conventional Commits messages automatically from diff context, ensuring your commit history matches the project's preferred formatting without manual effort.

What happens to my working tree if I signal commit intent without providing a message?

If you signal commit intent without providing a message, your working tree is staged via git add -A and a lean conventional commit message is generated from the diff context, yielding a ready-to-run command without performing the commit itself.