auto-commit

Groups repository changes into atomic commits with conventional commit messages and secret scanning.

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/mystilleef/spae-framework --skill auto-commit-mystilleef
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: auto-commit
Source: https://github.com/mystilleef/spae-framework/tree/main/skills/auto-commit
Command: npx skills add https://github.com/mystilleef/spae-framework --skill auto-commit-mystilleef

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Manually reviewing, grouping, and committing scattered repository changes is error-prone and often produces messy commit histories or accidentally committed secrets. This Skill automates the entire staging and commit workflow so every change lands as a clean, logical, atomic commit. ## Core Features & Use Cases - Atomic Grouping: Analyzes git status and groups related files (implementation plus tests, code plus dependencies) into single logical commits. - Secret Protection: Hard-blocks sensitive paths like .env files, private keys, and credential files, and scans staged diffs for tokens and passwords before committing. - Conventional Commits: Generates commit messages following the Conventional Commits v1.0.0 specification with proper types, scopes, and character limits. - Use Case: After a long coding session with a dozen modified files across features, fixes, and docs, invoke the Skill to automatically split them into separate well-formed commits while keeping your .env file safely out of version control. ## Quick Start Ask the agent to commit all pending repository changes as atomic conventional commits.

Frequently Asked Questions about auto-commit

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

FAQPage Schema
How do I split uncommitted changes into atomic git commits?▼

Group files that must change together, such as an implementation file with its matching test, and stage each logical group separately. This Skill automates that process by analyzing git status, applying atomic grouping heuristics, and creating one conventional commit per logical change.

How to prevent committing secrets like .env files to git?▼

Block sensitive paths such as .env, *.key, *.pem, and credentials files before staging, then scan the staged diff for tokens, passwords, and private key blocks. This Skill performs both checks and halts without committing if any secret indicator is found.

What is the conventional commits format for git messages?▼

Conventional Commits use the format type(scope): description, with types like feat, fix, docs, and refactor. Subjects stay under 72 characters in imperative mood, and breaking changes are marked with an exclamation mark or a BREAKING CHANGE footer.

Does auto-commit require user confirmation before committing?▼

No, it executes immediately upon invocation without asking for approval of staging, messages, or commits. It only halts on git errors, failed secret scans, or ambiguous safety states, then reports the blocking reason.

What happens when a secret is detected during staging?▼

The Skill unstages the flagged files with git restore --staged, halts execution, and reports only the file paths and matched rule names. It never prints secret values, requests overrides, or commits flagged files.