ai-commit

Stage changes, run ruff and gitleaks checks, update docs, and commit.

54|3|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/arcasilesgroup/ai-engineering --skill ai-commit-arcasilesgroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-commit
Source: https://github.com/arcasilesgroup/ai-engineering/tree/main/.claude/skills/ai-commit
Command: npx skills add https://github.com/arcasilesgroup/ai-engineering --skill ai-commit-arcasilesgroup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the entire commit process, ensuring code quality, security, and proper documentation before changes are committed and pushed.

Core Features & Use Cases

  • Automated Staging & Formatting: Stages all changes and automatically formats code using ruff.
  • Security Scanning: Integrates gitleaks to detect secrets in staged changes.
  • Documentation Enforcement: Ensures CHANGELOG.md and README.md are updated according to project standards.
  • Branching Strategy: Automatically creates feature branches for commits to protected branches.
  • Use Case: Developers can run /commit to have the skill automatically stage, lint, check for secrets, update documentation, and commit their code, ensuring all governance checks pass.

Quick Start

Run the /commit command to stage, lint, detect secrets, update documentation, and push your current changes.

Frequently Asked Questions about ai-commit

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

FAQPage Schema
How do I automate git commit messages with linting and secret detection?

Automated commit workflows stage changes, run linting via ruff, execute secret detection with gitleaks, and generate well-formed commit messages. This enforces security policies and project standards locally through git hooks, preventing non-compliant code from being committed.

How do I prevent secrets from being committed to my git repository?

Preventing secrets from being committed requires integrating gitleaks into your git hooks. The governed commit workflow automatically scans staged changes for secrets before committing, blocking any code that fails security policies from entering the repository.

Do I need ruff and gitleaks installed to automate my commit workflow?

Yes, ruff and gitleaks must be installed and available on the system PATH to automate the commit workflow. These dependencies are required to execute code formatting and secret detection checks locally before changes are committed.

How do I enforce changelog and readme updates before committing code?

Enforcing documentation updates before committing code is handled by a governed commit workflow. It checks that CHANGELOG.md and README.md are updated according to project standards, ensuring documentation remains current before changes are committed.

Can I automatically create a feature branch when committing to a protected branch?

Yes, the governed commit workflow automatically creates feature branches for commits targeting protected branches. This branching strategy ensures changes are isolated before being committed and pushed.

What happens if my code fails formatting checks during an automated commit?

If code fails formatting checks during an automated commit, the workflow stages all changes and automatically formats code using ruff. Non-compliant code that cannot meet security or project standards is prevented from being committed by local git hooks.