git-workflow

Enforces atomic commits with structured messages and pre-commit checks for Rust projects.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/voidful/Aixlarity --skill git-workflow-voidful
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/voidful/Aixlarity/tree/main/.aixlarity/skills/git-workflow
Command: npx skills add https://github.com/voidful/Aixlarity --skill git-workflow-voidful

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers often create large, messy commits that mix unrelated changes, making code history hard to review, revert, and understand. This Skill enforces disciplined commit practices so every change is traceable and logically isolated. ## Core Features & Use Cases - Atomic Commit Enforcement: Ensures each commit represents one logical change, separating refactoring, tests, features, and documentation into distinct commits. - Structured Commit Messages: Applies a conventional format (feat, fix, docs, refactor, test, chore) with a one-sentence description rule. - Pre-Commit Quality Gates: Requires cargo test, cargo clippy, and cargo fmt --check to pass, plus a staged diff review before committing. - Use Case: When finishing a bug fix in a Rust project, the Skill guides you to run the test suite, verify formatting, review the staged diff, and write a properly typed commit message before committing. ## Quick Start Use the git-workflow skill to review my staged changes and create an atomic commit with a proper conventional commit message.

Frequently Asked Questions about git-workflow

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

FAQPage Schema
How do I write atomic commits in git?

Atomic commits contain exactly one logical change describable in a single sentence. Separate refactoring from feature work, commit failing tests before implementations, and never mix documentation with code changes in the same commit.

What is the conventional commit message format?

The format is a type prefix followed by a description, such as 'feat: add login endpoint'. Valid types are feat, fix, docs, refactor, test, and chore, with an optional body explaining why the change was made.

What checks should run before committing Rust code?

Run cargo test to confirm all tests pass, cargo clippy to ensure no warnings, and cargo fmt --check to verify formatting. Then review the staged diff with git diff --cached to confirm every line matches the commit message.

When should I not use auto-commit with aixlarity exec?

Avoid the --git auto-commit flag for multi-step tasks, since it commits everything after the session ends. Use it only for self-contained tasks, and prefer manual commits between steps for complex work.

Why should refactoring and features be in separate commits?

Mixing refactoring with feature changes makes reviews harder and complicates reverts when bugs appear. Commit the refactoring first, then add the feature, so each change can be understood and rolled back independently.