cursor-implements: Skill for Cursor

.cursor/skills/git-commit/SKILL.md

git-commit is a skill for Cursor from ymhhh/cursor-implements. It costs 86 tokens per session (788 once invoked), scanned A, a copy of git-commit, MIT.

A workflow for creating standardized Git commits, which record changes to a code project with consistent messages.

In plain words
What is it for?
Reviewing the current diff, staging the relevant files, and writing a Conventional Commit message such as `fix: correct login error`.
Why use it?
It removes the guesswork from deciding what to stage and how to describe a set of changes.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is ymhhh/cursor-implements's own configuration. It tells Cursor how to work on cursor-implements itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cursor-implements configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ymhhh/cursor-implements. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ymhhh/cursor-implements/main/.cursor/skills/git-commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ymhhh/cursor-implements

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ymhhh/cursor-implements/git-commit/github.svg)](https://agentmods.dev/skills/ymhhh/cursor-implements/git-commit)
Your own site
<a href="https://agentmods.dev/skills/ymhhh/cursor-implements/git-commit"><img src="https://agentmods.dev/badge/skills/ymhhh/cursor-implements/git-commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/ymhhh/cursor-implements/git-commit"><img src="https://agentmods.dev/badge/skills/ymhhh/cursor-implements/git-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 788 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.00788
Opus 5.5 $0.00034 $0.00315
Sonnet 5.5 $0.00017 $0.00158
Haiku 4.5 $0.00009 $0.00079

Measured 2mo ago against content hash 7e513efd6497, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to git-commit — 46 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/skills/git-commit/SKILL.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Commit with Conventional Commits

Overview

Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.

Conventional Commit Format

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

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

# Exclamation mark after type/scope
feat!: remove deprecated endpoint

# BREAKING CHANGE footer
feat: allow config to extend other configs

BREAKING CHANGE: `extends` key behavior changed

Workflow

1. Analyze Diff

# If files are staged, use staged diff
git diff --staged

# If nothing staged, use working tree diff
git diff

# Also check status
git status --porcelain

2. Stage Files (if needed)

If nothing is staged or you want to group changes differently:

# Stage specific files
git add path/to/file1 path/to/file2

# Stage by pattern
git add *.test.*
git add src/components/*

# Interactive staging
git add -p

Never commit secrets (.env, credentials.json, private keys).

3. Generate Commit Message

Analyze the diff to determine:

  • Type: What kind of change is this?
  • Scope: What area/module is affected?
  • Description: One-line summary of what changed (present tense, imperative mood, <72 chars)

4. Execute Commit

  • Do not add Co-authored-by and Made-with: Cursor (or similar tool trailers) to the commit message unless the user explicitly asks for them.
# Single line
git commit -m "<type>[scope]: <description>"

# Multi-line with body (no Co-authored-by / Made-with)
git commit -m "<type>[scope]: <description>" -m "<body>"

Read the full file on GitHub · 125 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 125 lines · 86 tokens per session scan A 7e513efd6497

Subscribe to this mod's changes

git-commit is a skill published in the GitHub repository ymhhh/cursor-implements (2 stars, last pushed 2mo ago), licensed MIT. It adds 86 tokens to every session and 788 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to git-commit, differing in 46 lines, and is treated as a copy.