Skip to content
Agentmart
Submit a tool

commit-ai

Split current changes into small atomic conventional commits with an AI attribution footer (Co-Authored-By Claude).

Skill by PinpongTp

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/pinpongtp-commit-ai

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Split current changes into small atomic conventional commits with an AI attribution footer (Co-Authored-By Claude). Use when user says "/commit-ai" or wants commits marked as AI-assisted.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/commit-ai

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash

What's inside

Skill name
commit-ai
Description
Split current changes into small atomic conventional commits with an AI attribution footer (Co-Authored-By Claude). Use when user says "/commit-ai" or wants commits marked as AI-assisted.
License
MIT
Allowed tools
Bash
Instructions
128 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Commit (Atomic, AI-attributed)

## Overview

Same as `/commit` — atomic conventional commits — **but every message ends with a `Co-Authored-By` footer marking it as AI-assisted**.

## Conventional Commit Format

```
<type>: <description>

[optional body]

Co-Authored-By: <MODEL_NAME> <noreply@anthropic.com>
```

No scope. Footer always present.

**`<MODEL_NAME>` is dynamic** — substitute the assistant's currently running model at commit time (e.g. `Claude Opus 4.7 (1M context)`, `Claude Sonnet 4.6`, `Claude Haiku 4.5`). Read it from the runtime environment; never hardcode.

## Commit Types

| Type       | Purpose                        |
| ---------- | ------------------------------ |
| `feat`     | New feature                    |
| `fix`      | Bug fix                        |
| `docs`     | Documentation only             |
| `style`    | Formatting/style (no logic)    |
| `refactor` | Code refactor (no feature/fix) |
| `perf`     | Performance improvement        |
| `test`     | Add/update tests               |
| `build`    | Build system/dependencies      |
| `ci`       | CI/config changes              |
| `chore`    | Maintenance/misc               |
| `revert`   | Revert commit                  |

## Breaking Changes

```
feat!: remove deprecated endpoint

Co-Authored-By: <MODEL_NAME> <noreply@anthropic.com>
```

or with body:

```
feat: allow config to extend other configs

BREAKING CHANGE: `extends` key behavior changed

Co-Authored-By: <MODEL_NAME> <noreply@anthropic.com>
```

## Workflow

### 1. Analyze Diff

```bash
git status --porcelain
git diff
git diff --staged
```

Stage only files touched in this session.

### 2. Group Into Atomic Commits

One logical change per commit. Use `git add -p` for files with mixed work; verify with `git diff --cached`.

```bash
git add path/to/file1 path/to/file2
```

Never `git add -A` or `git add .`. **Never commit secrets.**

### 3. Generate Commit Message

- **Type**: see table
- **Description**: present tense, imperative, **< 72 chars**
- Body only when *why* is non-obvious
- **Footer always present** with current model name

### 4. Execute Commit (HEREDOC for footer)

```bash
git commit -m "$(cat <<'EOF'
<type>: <description>

Co-Authored-By: <MODEL_NAME> <noreply@anthropic.com>
EOF
)"
```

With body:

```bash
git commit -m "$(cat <<'EOF'
<type>: <description>

<body explaining why>

Co-Authored-By: <MODEL_NAME> <noreply@anthropic.com>
EOF
)"
```

Resolve `<MODEL_NAME>` to the actual running model before executing the `git commit`. Do not commit the literal placeholder.

Repeat steps 2–4 per group.

## Best Practices

- One logical change per commit
- Present tense, imperative mood
- Subject under 72 characters
- Reference issues when relevant: `Closes #123`
- Most commits are subject + footer only (no body)

From PinpongTp/dotclaude, MIT.

More from PinpongTp/dotclaude

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jun 15, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from PinpongTp

Cite this page

commit-ai skill. Agent Mart. https://agentmart.dev/skills/pinpongtp-commit-ai (last updated 2026-10-24)