Skip to content
Back to skills

Commit

ASecurity

Generate a commit message following project conventions. Use when the user says "commit", "commit this", "make a commit", or invokes /commit.

  • 15 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aibashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add NimblePros/dotnet-codingagent-template --skill commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit?

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

Security grade badge for Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nimblepros-commit/badge)](https://www.skillsdirectory.com/skills/nimblepros-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: commit
description: Generate a commit message following project conventions. Use when the user says "commit", "commit this", "make a commit", or invokes /commit.
---

# Commit

Generate and execute a commit following the project's conventional commit format.

## Step 1: Understand the changes

Use `AskUserQuestion` to confirm:

1. **Work item ID** (auto-detect from branch name if possible)
2. **Commit type** (fix, feat, refactor, chore, docs, test, perf)

If the conversation already makes the type and work item obvious, skip the question and proceed.

## Step 2: Read the diff

```bash
git status
git diff -w HEAD
git log --oneline -5
```

Derive the message from the conversation context first. Fall back to the diff only when invoked with no prior discussion.

## Step 3: Generate and commit

Present the commit message in a code block for confirmation, then stage and commit.

<CRITICAL>
Never amend a previous commit without explicit approval. Create a new commit by default.
</CRITICAL>

## Format

```
type(scope): subject line

Optional body (ONLY when the subject alone is not enough).

AB#<work-item-number>
```

See [references/conventions.md](references/conventions.md) for the full format specification and examples.

Files in this skill

  • SKILL.md1.2 KB
  • references/conventions.md1.8 KB

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.