create-commit

Generate Conventional Commits from staged git changes with pre-commit hooks.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill create-commit-fandhe-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-commit
Source: https://github.com/Fandhe-AI/agent-cli-skills/tree/main/skills/create-commit
Command: npx skills add https://github.com/Fandhe-AI/agent-cli-skills --skill create-commit-fandhe-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of manually crafting git commit messages by automating the creation of Conventional Commits. It ensures consistency, saves time, and streamlines the git workflow.

Core Features & Use Cases

  • Automated Commit Creation: Generates Conventional Commits based on staged changes.
  • Breaking Change Detection: Identifies breaking changes and secret leaks like .env files.
  • Pre-commit Hook Enforced: Always runs pre-commit hooks for safety.
  • Use Case: Use this Skill when you need to make a git commit without worrying about the correct commit message format.

Quick Start

Generate a Conventional Commit for your current changes with 'create-commit'.

Frequently Asked Questions about create-commit

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

FAQPage Schema
How do I automatically generate conventional commits for my staged git changes?

You can automatically generate conventional commits by analyzing your git staging area to identify commit types like feat or fix and applying the correct message format. This automation ensures consistency and saves time.

Do I need a specific git setup to create conventional commits automatically?

Yes, you need a correctly configured git repository to create conventional commits automatically. The tool reads your staged changes to determine the commit type and scope, requiring proper git initialization beforehand.

Can conventional commit automation detect breaking changes and secret leaks like .env files?

Conventional commit automation can detect breaking changes and secret leaks like .env files before committing. This ensures sensitive data is flagged and breaking changes are explicitly documented in the commit message.

Does automated commit generation run pre-commit hooks for safety?

Automated commit generation enforces running pre-commit hooks for safety before finalizing the commit. This ensures your code quality checks are always executed during the workflow automation process.

What is the best way to format git commit messages without manual effort?

The best way to format git commit messages without manual effort is using workflow automation to generate conventional commits based on staged changes. This identifies types and scopes automatically to streamline your git workflow.