Skip to content
Back to skills

Mkl Generate Commit

ASecurity

Generate concise Conventional Commits under 50 tokens from staged git diffs.

  • 48 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsbashgitapiperformancedocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add 00200200/maintainer-skills-lab --skill mkl-generate-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mkl Generate Commit?

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

Security grade badge for Mkl Generate Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/00200200-mkl-generate-commit-0e3c6bc1/badge)](https://www.skillsdirectory.com/skills/00200200-mkl-generate-commit-0e3c6bc1)

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: "mkl-generate-commit"
description: "Generate concise Conventional Commits under 50 tokens from staged git diffs."
---

# Generate conventional commits

Generate concise, informative Conventional Commits (v1.0.0) from staged changes without conversational preamble or token waste.

## 1. Inspect Staged Changes Compactly

Assess the size and scope of changes before reading full diffs:

```bash
# Check modified files and diff scale
git diff --staged --stat

# Inspect targeted unified diff
git diff --staged
```

For large diffs (> 100 lines), focus on changed symbol definitions, tests, or modified interfaces (`git diff --staged -U1`) rather than dumping thousands of lines into context.

## 2. Conventional Commit Specification

Format the message strictly according to Conventional Commits:

```text
<type>(<scope>): <imperative summary under 72 characters>

- <Optional bullet point explaining why the change was made>
- <Optional bullet point highlighting key behavioral impact or issue reference>
```

### Type Taxonomy
- `feat`: A new user-visible or API capability.
- `fix`: A bug fix or defect correction.
- `docs`: Documentation changes only.
- `refactor`: Code change that neither fixes a bug nor adds a feature.
- `perf`: Code change that improves performance or latency.
- `test`: Adding or correcting tests without production code changes.
- `build`: Changes to build systems or external dependencies.
- `ci`: Changes to CI configuration files or scripts.
- `chore`: Routine maintenance, repo tooling, or housekeeping.

## 3. Output Constraints & Negative Guidance

- **No Conversational Chatter**: Emit ONLY the commit message text. Do not preface with "Here is your commit message:" or append "Let me know if you want changes."
- **Imperative Mood**: Use "add", "fix", "update", "refactor" (not "added", "fixes", "updating").
- **72-Character Subject Limit**: The summary line must be concise and must not end with a period.
- **Reference Issues**: When closing or addressing an issue, append `(closes #<id>)` or `(fixes #<id>)` to the subject or body.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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