ai-commit

Creates atomic commits with conventional format and AI co-authoring trailers for Git workflows.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/baphled/dotopencode --skill ai-commit-baphled
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-commit
Source: https://github.com/baphled/dotopencode/tree/main/skills/ai-commit
Command: npx skills add https://github.com/baphled/dotopencode --skill ai-commit-baphled

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that code generated or modified by AI is committed with proper attribution and adheres to the project's established workflow, maintaining a clear audit trail.

Core Features & Use Cases

  • Proper Attribution: Automatically includes Co-authored-by trailers for AI models.
  • Atomic Commits: Guides users to create single, logical changes per commit.
  • Conventional Commits: Enforces standard commit message formatting (feat, fix, docs, etc.).
  • Use Case: After an AI agent helps write a new feature, use this skill to create a commit that clearly states the feature, the changes made, and attributes the AI's contribution.

Quick Start

Use the ai-commit skill to create a new commit with the message in the file '/tmp/commit.txt'.

Frequently Asked Questions about ai-commit

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

FAQPage Schema
How do I attribute AI-generated code in git commits?

To attribute AI-generated code in git commits, include Co-authored-by trailers in the commit message. This skill automates adding mandatory co-authoring attribution for AI models to maintain a clear audit trail.

What are conventional commits and how do they work with AI code?

Conventional commits are a standardized commit message formatting convention using types like feat, fix, or docs. This skill enforces conventional commit formats for AI-generated code to ensure clear, structured, and atomic commits in Git-based workflows.

How do I create atomic commits for AI-assisted software development?

To create atomic commits for AI-assisted development, you group single, logical changes per commit. This skill guides users to create atomic commits, ensuring each commit represents one focused modification rather than mixing multiple unrelated changes.

Does this skill require any specific dependencies to format git commits?

No specific dependencies are required to format git commits with this skill. It operates independently within Git-based software development workflows, requiring only a commit message file like '/tmp/commit.txt' to apply attribution and conventional formats.

Why should I use co-authoring attribution for AI models in git?

You should use co-authoring attribution for AI models in git to maintain a clear audit trail of collaborative work. Properly attributed commits ensure transparency about which code was generated or modified by AI versus written by human developers.