AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Git Commit

skill-junerdd-skills-git-commit · by JUNERDD

Draft a Conventional Commit message from the currently staged Git changes. Use when the user wants a commit message suggestion, asks to summarize staged work into a commit, or needs a Conventional Commit subject/body without actually running `git commit`. This skill must only inspect staged changes and must not stage files, inspect unstaged work, or create the commit.

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-junerdd-skills-git-commit

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-junerdd-skills-git-commit)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Git Commit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Git Commit

Draft a Conventional Commit message from the staged diff only. Return the proposed message text, but never run git commit.

Workflow

  1. Check whether there are staged changes.
git status --short
git diff --cached --stat
git diff --cached

If nothing is staged, stop and tell the user to stage the intended files first. Do not fall back to git diff.

  1. Build a deep, recursive understanding of the staged code changes before classifying them.
  • Trace each staged hunk through the surrounding code, tests, configuration, docs, API contracts, and generated artifacts when that context is necessary to understand the actual change.
  • Keep the analysis grounded in git diff --cached; do not inspect unstaged work to fill gaps.
  • If the staged diff cannot support a confident message, say what is unclear instead of guessing.
  1. Infer the commit type from the staged diff.
  • feat: new user-facing capability
  • fix: bug fix or regression fix
  • docs: documentation-only change
  • style: formatting or non-behavioral style change
  • refactor: internal code restructuring without behavior change
  • perf: performance improvement
  • test: test-only addition or update
  • build: build tooling or dependency change
  • ci: CI workflow or automation change
  • chore: maintenance work that does not fit the types above
  1. Infer the scope only when it is obvious from the staged paths or module names.
  • Good scopes are short and specific, such as auth, search, web, or extension.
  • Omit the scope when it is ambiguous.
  1. Draft the message.
  • Use the Conventional Commit subject format: [optional scope]:
  • Keep the subject in imperative mood and present tense.
  • Keep the subject under 72 characters.
  • Keep the description factual and grounded in the staged diff.
  • Add a concise body description when it is necessary to clarify the staged change beyond the subject.
  • Do not invent motivations, side effects, or files that are not visible in the staged changes.
  • Add ! or a BREAKING CHANGE: footer only when the staged diff clearly shows a breaking change.
  • Do not add an emoji prefix unless the user explicitly asks for one.

Output Rules

  • Default to one best commit message, not multiple options.
  • Output only the final commit message text.
  • Do not prefix the answer with explanations, bullets, labels, or git commit -m.
  • Do not wrap the message in quotes or code fences unless the user asks.
  • Add a body description or footer only when it materially helps explain the change, breaking impact, migration step, or issue reference.

Example single-line output:

fix(auth): handle expired session refresh

Safety

  • Never run git add, git restore, git reset, git commit, or git commit --amend.
  • Never inspect unstaged changes with git diff or other working tree fallbacks.
  • If the staged changes mix unrelated concerns, tell the user to split the commit instead of forcing one misleading message.
  • If staged paths or diff content suggest secrets, such as .env, credentials, or private keys, warn the user before proposing a message.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.