aif-commit

Generates Conventional Commits messages by analyzing staged git changes.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill aif-commit-1t1scool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-commit
Source: https://github.com/1t1sCooL/zazyvala-bot/tree/main/.cursor/skills/aif-commit
Command: npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill aif-commit-1t1scool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing consistent, meaningful commit messages is tedious and often inconsistent across a team. This Skill analyzes your staged git changes and generates a properly formatted Conventional Commits message, complete with type, scope, and body, while checking the commit against project context like architecture docs, rules, and roadmap milestones. ## Core Features & Use Cases - Automatic Commit Message Generation: Inspects git status and git diff --cached to determine the correct commit type (feat, fix, docs, refactor, etc.) and scope from file paths. - Project Context Gates: Reads .ai-factory/config.yaml and project artifacts (architecture, roadmap, rules) to warn about scope drift, missing milestone linkage, or convention violations before committing. - Interactive Confirmation & Splitting: Confirms the proposed message with you, supports editing, offers to split unrelated changes into separate commits, and optionally pushes to the remote afterward. - Use Case: After staging a mix of authentication changes, run the skill to get a proposal like feat(auth): add password reset functionality, confirm it, commit, and push in one guided flow. ## Quick Start Stage your changes with git add, then ask the assistant to create a commit using the aif-commit skill.

Frequently Asked Questions about aif-commit

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

FAQPage Schema
How do I generate a conventional commit message from staged changes?

Stage your files with git add, then invoke the skill. It runs git status and git diff --cached, determines the commit type and scope, and proposes a message like feat(auth): add password reset for your confirmation before committing.

What commit types does the Conventional Commits format support?

The skill supports feat, fix, docs, style, refactor, perf, test, build, ci, and chore. It selects the type automatically from the diff content and keeps the subject under 72 characters in imperative mood.

Can I split unrelated staged changes into separate commits?

Yes. When staged changes contain unrelated work, the skill suggests a split plan, asks for confirmation, then unstages everything and commits each group separately with its own message.

Does the skill push to the remote after committing?

Only if you confirm. By default it offers to push after committing, using git push -u origin for branches without upstream. Setting git.skip_push_after_commit to true in .ai-factory/config.yaml skips the push prompt entirely.

What happens if no changes are staged when I run a commit?

The skill checks git status first and shows a warning suggesting you stage files before proceeding. It will not generate a commit message or create an empty commit.