Skip to content
Back to skills

Git Commit

ASecurity

Generate conventional commit messages for the tools repo, using its real module scopes. Use when the user says "commit", "create commit", "commit changes", or after completing code changes that need to be committed.

  • 11 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
developmentjavashellsqlreactgitapiperformance

Works with

  • cursor
  • api
  • mcp

Security analysis

A100/100

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

Scanned September 28, 2026

npx -y skills add adamw7/tools --skill git-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Commit?

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

Security grade badge for Git Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adamw7-git-commit/badge)](https://www.skillsdirectory.com/skills/adamw7-git-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: git-commit
description: Generate conventional commit messages for the tools repo, using its real module scopes. Use when the user says "commit", "create commit", "commit changes", or after completing code changes that need to be committed.
---

# Git Commit Message Skill

Generate conventional, informative commit messages for the `tools` multi-module
Maven reactor.

## Format

[Conventional Commits](https://www.conventionalcommits.org/):

```
<type>(<scope>): <subject>

<body>

<footer>
```

### Types
| Type | Use for |
|---|---|
| `feat` | New API / functionality |
| `fix` | Bug fix |
| `refactor` | Restructure, no behavior change |
| `test` | Add/update tests |
| `docs` | Docs only (README, AGENTS.md, javadoc) |
| `perf` | Performance improvement |
| `build` | Maven / pom / CI changes |
| `chore` | Maintenance (tooling, dependency bumps) |

### Scope — use this repo's real modules/components
`data`, `code`, `context`, `protogen-maven-plugin`, `adopt`, `mcp-common`,
`markdown-common`, `test-common`, `claude-code-enforcer`, `assembly`,
`grpc-example`, `data-test`. Narrow to a component when it's clearer (e.g.
`source.db`, `uniqueness`, `mcp`, `builder`); `deps` and `ci` cover dependency
bumps and workflow changes.

### Subject rules
- Imperative mood: "Add support", not "Added support"
- Lowercase after the type, no trailing period, ≤ ~50 chars

### Body (optional, recommended for non-trivial changes)
- Explain **what** and **why**, not how; wrap at ~72 chars, 2–3 lines is plenty
- Reference issues: `Fixes #123` / `Relates to #456`
- Breaking change: add a `BREAKING CHANGE:` footer (and `!` after the scope)

## Examples

```
feat(protogen-maven-plugin): enforce proto3 oneof discriminators at compile time

Generated builders now fail compilation when a required oneof branch is
left unset, matching the proto2 required-field guarantee.

Closes #123
```

```
fix(data): close JDBC statement when the result iterator is exhausted

IterableSQLDataSource leaked a Statement when callers stopped before the last
row. Wrap the cursor in try-with-resources so it closes on every path.

Fixes #456
```

```
refactor(context): extract project-tree assembly from the MCP adapter

Keeps the uniqueness/context core free of any MCP dependency, satisfying
the layering rule pinned by the architecture tests.
```

```
build(deps): add the shellcheck-maven-plugin with embedded binary resolution
```

## Workflow
1. Inspect staged changes: `git diff --staged --stat`, then targeted diffs.
2. Pick the scope from the changed module(s); split unrelated changes into
   separate commits.
3. Choose the type from the nature of the change.
4. Write the message; commit with `git commit -m "..."` (or a file for the body).

Avoid "fix stuff", "update code", a "WIP" nobody asked for, a commit mixing
unrelated changes, and a scope that is not a real module.

Files in this skill

  • README.md538 B
  • SKILL.md2.7 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.