Agent skill

Commit Messages

by athola in athola/claude-night-market

Generates conventional commit messages from staged changes. An agent skill from athola/claude-night-market.

MITAuto-check passedDevelopment

Install Commit Messages

skills CLI
$ npx skills add athola/claude-night-market --skill commit-messages -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install athola/claude-night-market commit-messages --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/sanctum/skills/commit-messages .claude/skills/commit-messages && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-messages
GitHub stars
342
Token cost
~1.3k tokens
SKILL.md length
633 words
Files
1
Skills in repo
159
Repo updated
First seen
Licence
MIT

At a glance

Generates conventional commit messages from staged changes. An agent skill from athola/claude-night-market.

  • Works in 3 steps: Gather context (run in parallel) → Classify: Pick type (feat, fix, docs,… → Draft the message
  • Committing and needing a well-formatted message
  • SKILL.md covers When To Use, When NOT To Use, Steps and Rules, plus 1 more section
  • Calls git

What it does

Commit Messages is an agent skill from athola/claude-night-market. Generates conventional commit messages from staged changes. Use when committing and needing a well-formatted message. Do not use for full PR prep; use pr-prep.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages. It works with Git. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Committing and needing a well-formatted message
  • Tasks that involve Commit messages

Example prompts

  • “Use the commit-messages skill to generate conventional commit messages from staged changes. An agent skill from athola/claude-night-market”
  • “/commit-messages”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Gather context (run in parallel)
  2. Classify: Pick type (feat, fix, docs, refactor,
  3. Draft the message

What it can do on your machine

Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit Messages loads about 1.3k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 633 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 633 words, ~1,327 tokens.

Download SKILL.mdSave it as .claude/skills/commit-messages/SKILL.md (or your agent's skills folder).
name
commit-messages
description
Generates conventional commit messages from staged changes. Use when committing and needing a well-formatted message. Do not use for full PR prep; use pr-prep.
alwaysApply
false
category
artifact-generation
tags
git, commit, conventional-commits
complexity
low
model_hint
fast
estimated_tokens
350

Conventional Commit Workflow

When To Use

  • Generating conventional commit messages from staged changes

When NOT To Use

  • Full PR preparation: use sanctum:pr-prep
  • Amending existing commits: use git directly

Steps

  1. Gather context (run in parallel):

    • git status -sb
    • git diff --cached --stat
    • git diff --cached
    • git log --oneline -5
    • When sem is available (see leyline:sem-integration): sem diff --staged --json for entity-level changes

    If nothing is staged, tell the user and stop.

    When sem output is available, use entity names (function, class, method) in the commit subject and body instead of parsing raw diff hunks. For example, "add function validate_webhook_url" instead of "add validation logic to notify.py".

  2. Classify: Pick type (feat, fix, docs, refactor, test, chore, style, perf, ci) and optional scope.

  3. Draft the message:

    • Subject: <type>(<scope>): <imperative summary> (50 chars max)
    • Body: What and why, wrapped at 72 chars
    • Footer: BREAKING CHANGE, issue refs, and the discussion trailer below

3a. Discussion trailer: when the change resolves a finding from the Discussions board, add a trailer on its own line:

Addresses-Discussion: #654
Addresses-Discussion: #604, #610

This is the only signal scripts/reconcile_discussions.py accepts as proof a finding is done. It posts the resolution comment and closes the discussion, so the board stops carrying work that is already finished.

Only add it when this commit resolves the finding. Prose that merely names a discussion is read as a mention and is never written back. That distinction is load-bearing: 6b28aa1a says "posted 13 insights to discussions #424-#436", which is the commit that opened those discussions. A trailer there would have announced "Addressed" on findings nobody had looked at yet.

Cite a discussion in the body for context as often as it helps. Reserve the trailer for resolution.

  1. Slop check: reject these words and replace with plain alternatives:

    RejectUse instead
    leverage, utilizeuse
    seamlesssmooth
    comprehensivecomplete
    robustsolid
    facilitateenable
    streamlinesimplify
    optimizeimprove
    delveexplore
    multifacetedvaried
    pivotalkey
    intricatedetailed

    Also reject: "it's worth noting", "at its core", "in essence", "a testament to"

4a. Character-level slop check: load shared/output-hygiene.md (Contract A) and strip these markers. Inline fallback if that module is absent:

MarkerReplace with
"+" as a prose conjunctionand (keep + in versions/code)
em-dash —colon, period, comma, or rewrite
-- as prose punctuationcolon or rewrite
arrows -> / → as connectorsto / into
smart quotes “ ” ‘ ’straight " and '
a , so tail after fact after factdelete a consequence the reader can infer, else its own sentence

4b. Subject-matter check (Contract B): describe the change by its reader-facing effect. Name neither the AI origin nor the specific marker removed. Do NOT write remove AI slop, de-slop, AI-generated content, AI phrasing, replace em-dashes, or remove smart quotes. Test: if the subject only makes sense as "I cleaned up AI output", rewrite it. For example docs: clarify the setup section, not style: replace em-dashes with colons.

  1. Write to ./commit_msg.txt and preview.
Show full SKILL.md (161 more words)Show less

Rules

  • NEVER use git commit --no-verify or -n
  • Write for humans, not to impress
  • If pre-commit hooks fail, fix the issues
  • This skill drafts a message, it does not commit. Whoever commits confirms HEAD advanced (git rev-parse HEAD before and after) before reporting the commit as landed. An auto-fixing hook aborts the commit while printing a tail that reads like success, so hook output is not evidence. See discussion #614.

Exit Criteria

  • commit_msg.txt written to the working directory containing the drafted conventional commit message
  • Subject line follows <type>(<scope>): <summary> format and is at most 50 characters
  • Slop word check passes: none of the banned words (leverage, utilize, seamless, comprehensive, robust, etc.) appear in the message
  • Character-level check passes: no em-dashes, no + as prose conjunction, no smart quotes, no -> as prose connector
  • Body carries at most one , so consequence tail (scripts/slop_score.py --audit lists each as so_connective)
  • If nothing is staged, skill halts immediately and reports "nothing staged" without producing a commit message

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/sanctum/skills/commit-messages of athola/claude-night-market.

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Commit Messages next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit Messages compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit Messages this skillathola/claude-night-market342—~1.3kAutomated safety check: PassMIT
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
ToolJet Multi-Repo CommitToolJet/ToolJet41k—~1.3kAutomated safety check: PassAGPL-3.0
Git Workflow and Versioningaddyosmani/agent-skills103k2 repos~3.5kAutomated safety check: NotesMIT
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT

Similar skills

  • React Router Release Notes Prep

    remix-run/react-router

    Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.

    57k GitHub stars~1.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Commits changes across ToolJet's root repo and its server/ee and frontend/ee submodules, writing messages from the diffs and updating submodule pointers in order.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    103k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes
  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.

    18k GitHub stars~1.9k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from athola/claude-night-market

All 159 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    342 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    342 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    342 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    342 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    342 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    342 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Commit Messages

What does Commit Messages do?

Generates conventional commit messages from staged changes. An agent skill from athola/claude-night-market. Commit Messages is an agent skill from athola/claude-night-market. Generates conventional commit messages from staged changes.

When should I use Commit Messages?

Commit Messages fits situations like: committing and needing a well-formatted message; tasks that involve Commit messages.

How do I install Commit Messages in Claude Code?

Run `npx skills add athola/claude-night-market --skill commit-messages -a claude-code`. Or copy the skill folder (plugins/sanctum/skills/commit-messages in athola/claude-night-market) into .claude/skills/commit-messages in your project. Claude Code loads it when a task matches its description.

How do I install Commit Messages in Codex?

Run `npx skills add athola/claude-night-market --skill commit-messages -a codex`. Or copy the skill folder (plugins/sanctum/skills/commit-messages in athola/claude-night-market) into .agents/skills/commit-messages in your project. Codex loads it when a task matches its description.

Can I use Commit Messages in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill commit-messages -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-messages, .gemini/skills/commit-messages, .github/skills/commit-messages and .opencode/skills/commit-messages in your project.

What does Commit Messages need to run?

Going by SKILL.md and its folder, Commit Messages needs the command-line tools its instructions call (git).

Does Commit Messages access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit Messages safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit Messages use?

Commit Messages is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit Messages use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit Messages?

Skills that share tags, products or a category with Commit Messages: React Router Release Notes Prep (remix-run/react-router, 57k stars), ToolJet Multi-Repo Commit (ToolJet/ToolJet, 41k stars), Git Workflow and Versioning (addyosmani/agent-skills, 103k stars) and React Router Pull Request Creator (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit Messages?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 342 GitHub stars. The repository holds 159 skills in this directory. The repository was last updated on October 6, 2026.

Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.