commit

Format Markdown files and preview Git changes before committing.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/guillempuche/ai-standards --skill commit-guillempuche
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/guillempuche/ai-standards/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/guillempuche/ai-standards --skill commit-guillempuche

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes the commit process for the ai-standards repository, ensuring code quality and consistency before changes are finalized.

Core Features & Use Cases

  • Automated Formatting: Ensures all Markdown files adhere to a consistent style using mdformat.
  • Change Preview: Provides clear visibility into staged and unstaged changes with git status and git diff.
  • Commit Grouping: Guides the user in deciding whether changes warrant a single or multiple commits.
  • Commit Message Guidelines: Enforces best practices for writing clear and informative commit messages, including AI co-authorship.

Quick Start

Run the commit skill to format markdown files and preview changes.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate git commit message formatting and enforce co-author attribution?

Automating git commit message formatting standardizes the commit workflow by enforcing message guidelines and adding AI co-author attribution before finalizing changes. It ensures consistency and code quality for repository integration.

What is the best way to preview staged and unstaged changes before committing markdown files?

Previewing staged and unstaged changes before committing markdown files involves running git status and git diff to analyze modifications. This provides clear visibility into changes and guides decisions on grouping them into single or multiple commits.

How do I format markdown files to ensure consistent style before a git commit?

Formatting markdown files to ensure consistent style before a git commit is done using mdformat. This automated formatting step enforces adherence to a uniform style guide before changes are staged and integrated into the repository.

Does the automated commit workflow support splitting changes into multiple grouped commits?

The automated commit workflow supports splitting changes into multiple grouped commits. It guides the user through diff analysis to decide whether modifications warrant a single commit or should be separated for organized code integration.

When do I need to enforce AI co-authorship in git commit messages?

Enforcing AI co-authorship in git commit messages is needed when standardizing the commit process for repositories with AI-assisted development. It enforces best practices for clear attribution and informative commit history during code integration.

Why does my markdown formatting break during the git commit workflow?

Markdown formatting breaks during the git commit workflow when files do not adhere to consistent style guidelines. Running mdformat automates the formatting process, ensuring all markdown files meet the required style standards before changes are finalized.