Skip to content
Back to skills

Ape Commit

ASecurity

Defines how to write and format git commit messages. Use this skill whenever the user asks you to write, draft, suggest, or format a git commit message, summarize changes into a commit, or help stage and describe code changes. Trigger even for casual requests like "write me a commit for this" or "what should my commit say".

  • 44 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added May 28, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add arpitbbhayani/ape-skills --skill ape-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ape Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ape Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/arpitbbhayani-ape-commit/badge)](https://www.skillsdirectory.com/skills/arpitbbhayani-ape-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ape-commit
description: >
  Defines how to write and format git commit messages. Use this skill whenever
  the user asks you to write, draft, suggest, or format a git commit message,
  summarize changes into a commit, or help stage and describe code changes.
  Trigger even for casual requests like "write me a commit for this" or "what
  should my commit say".
---

# Commit Message Style

## Format

```
<short summary line>

- <change>
- <change>
- <change>
```

## Rules

### Summary line (first line)
- One line only
- Short and crisp -- aim for under 72 characters
- Use the imperative mood: "Add feature" not "Added feature" or "Adds feature"
- No trailing period
- Describe *what* the commit does, not *how*

### Blank line
- Always one blank line between the summary and the bullet list
- Never omit this blank line

### Bullet points
- Each bullet describes a single, specific change
- Short and crisp -- one line per bullet
- Start each bullet with a verb in the imperative mood (Add, Fix, Remove, Update, Rename, Move, Extract, etc.)
- No trailing periods
- No fluff or filler words

### Never include
- Co-author lines (no `Co-authored-by:` trailer)
- `Generated by Claude` or any AI attribution
- Redundant context already obvious from the diff

## Examples

**Good:**

```
Add user authentication middleware

- Add JWT validation to protected routes
- Return 401 on missing or expired token
- Extract auth logic into separate middleware file
- Add unit tests for token validation
```

```
Fix null pointer crash on empty cart checkout

- Guard against null items array before totalling
- Add early return when cart has no items
- Log warning when checkout attempted on empty cart
```

**Bad (do not do this):**

```
Updated some stuff and fixed a few things that were broken and also added
some new features to the codebase

- I made some changes to the auth file because it was crashing
- Also fixed the cart thing
- Co-authored-by: Claude <noreply@anthropic.com>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.