Agent skill

Commit

by meain in meain/dotfiles

Create git commits for dotfiles changes, grouping by component with conventional prefix style

MITAuto-check passedDevelopment

Install Commit

skills CLI
$ npx skills add meain/dotfiles --skill commit -a claude-code

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

GitHub CLI
$ gh skill install meain/dotfiles commit --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/meain/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/commit .claude/skills/commit && 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
GitHub stars
285
Token cost
~723 tokens
SKILL.md length
373 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Create git commits for dotfiles changes, grouping by component with conventional prefix style

  • Works in 5 steps: Understand Current State → Group Changes by Component → Draft Commit Messages → …
  • Tasks that involve Commit messages
  • SKILL.md covers Important Context, Steps and Guidelines
  • Calls git

What it does

Commit is an agent skill from meain/dotfiles. Create git commits for dotfiles changes, grouping by component with conventional prefix style

Its SKILL.md is about 720 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 and Bash. The repository describes itself as: If there is a shell, there is a way! The licence is MIT.

When your agent uses it

  • Tasks that involve Commit messages

Example prompts

  • “/commit”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Understand Current State
  2. Group Changes by Component
  3. Draft Commit Messages
  4. Create Commits
  5. Verify and Report

What it can do on your machine

Read from SKILL.md and the folder at commit f469fb6. 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 loads about 723 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 373 words of instructions outside code blocks.

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

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 meain/dotfiles at commit f469fb6, republished under its MIT licence (© meain). 373 words, ~723 tokens.

Download SKILL.mdSave it as .claude/skills/commit/SKILL.md (or your agent's skills folder).
name
commit
description
Create git commits for dotfiles changes, grouping by component with conventional prefix style

When the user asks you to commit changes in this dotfiles repo, follow these steps:

Important Context

  • This is a stow-based dotfiles repo using git (not jj)
  • Changes are organized by component directories: emacs/, zsh/, home-manager/, scripts/, etc.
  • Commits follow the format: [component] brief description
  • Each component's changes should be a separate commit
  • Do NOT add Co-Authored-By lines unless the user asks for it

Steps

1. Understand Current State

Run these in parallel:

bash
git status
git diff --staged
git diff
git log --oneline -10
2. Group Changes by Component
  • Look at modified file paths and group them by their top-level directory (e.g. emacs/, zsh/, home-manager/)
  • Files in the same component that are part of the same logical change go in one commit
  • If a component has unrelated changes, split into separate commits
3. Draft Commit Messages

For each group, draft a message following the existing style:

  • Format: [component] brief-area: what changed
  • Examples from this repo:
    • [emacs] fix dired block brackets
    • [zsh] tweak how reporoot and gitroot is set
    • [scripts] ,markdown-to-pdf: use gfm input format and fix parameter handling
    • [home-manager] add emacs-lsp-booster package
  • Use a sub-area (e.g. utils:, web:) when it clarifies which part of the component changed
  • Keep the first line short and lowercase
  • Add a detailed body (separated by blank line) when the reasoning behind the change is not obvious from the diff
Show full SKILL.md (160 more words)Show less
4. Create Commits

For each group, stage the relevant files and commit:

bash
git add <specific-files> && git commit -m "$(cat <<'EOF'
[component] brief description

Optional detailed explanation of why this change was made,
if not obvious from the diff itself.
EOF
)"
  • Stage specific files — never use git add -A or git add .
  • Issue all git add && git commit calls as parallel tool calls in a single response so the user can approve them all at once
5. Verify and Report

Run git log --oneline -5 to confirm all commits were created, then show the output to the user.

Guidelines

  • Do NOT push unless explicitly requested
  • Do NOT commit files containing secrets
  • If the user has both staged and unstaged changes, ask which to include
  • Prefer fewer commits when changes are closely related within a component
  • Skip claude/.claude/settings.json model changes — the "model" field changes frequently and is not worth tracking; omit it from commits unless other meaningful settings changed alongside it
  • Scope commits to what the user named — if the user says "commit the gptel changes", stage and commit only that file; don't expand to other changed files unless asked

© meain, 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 .claude/skills/commit of meain/dotfiles.

Open the folder on GitHubat commit f469fb6

Compare with similar skills

Commit 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 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit this skillmeain/dotfiles285—~723Automated safety check: PassMIT
CommitTypedDevs/bashunit434—~781Automated safety check: NotesMIT
Commitalex35mil/dotfiles301—~438Automated safety check: WarnNone
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-skills102k2 repos~3.5kAutomated safety check: NotesMIT

Similar skills

  • Commit

    TypedDevs/bashunit

    Stage and commit changes using conventional commits format. An agent skill from TypedDevs/bashunit.

    434 GitHub stars~781 tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Commit

    alex35mil/dotfiles

    Creates a git commit for the current repository using this repo's commit style.

    301 GitHub stars~438 tokensUpdated 1 mo ago
    DevelopmentAuto-check: warnings
  • 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 today
    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.

    102k 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 today
    DevelopmentAuto-check passed

More from meain/dotfiles

All 36 skills in this repo
  • Recall

    meain/dotfiles

    Search past Claude Code and Codex sessions. An agent skill from meain/dotfiles.

    285 GitHub starsUsed in 1 repo~684 tokens
    Auto-check passed
  • Grill With Docs

    meain/dotfiles

    Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise.

    285 GitHub starsUsed in 21 repos~875 tokens
    Auto-check passed
  • Backlog

    meain/dotfiles

    Daily backlog management — full planning review OR add a single entry from a URL.

    285 GitHub stars~3k tokensUpdated 1 mo ago
    Auto-check passed
  • Concern Review

    meain/dotfiles

    Generate an interactive local HTML review page for a large PR or diff, grouping the changed files by logical concern (not just by file) so a reviewer can go through one theme at a time instead of a…

    285 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • My Weekly Report

    meain/dotfiles

    Generate a concise weekly status update in team format. An agent skill from meain/dotfiles.

    285 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Web Search

    meain/dotfiles

    Search the web using lynx and DuckDuckGo. An agent skill from meain/dotfiles.

    285 GitHub stars~830 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Commit

What does Commit do?

Create git commits for dotfiles changes, grouping by component with conventional prefix style. Commit is an agent skill from meain/dotfiles.

When should I use Commit?

Commit fits situations like: tasks that involve Commit messages.

How do I install Commit in Claude Code?

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

How do I install Commit in Codex?

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

Can I use Commit 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 meain/dotfiles --skill commit -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, .gemini/skills/commit, .github/skills/commit and .opencode/skills/commit in your project.

What does Commit need to run?

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

Does Commit 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 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 use?

Commit 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 use?

About 723 tokens (SKILL.md is roughly 2.9k 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?

Skills that share tags, products or a category with Commit: Commit (TypedDevs/bashunit, 434 stars), Commit (alex35mil/dotfiles, 301 stars), React Router Release Notes Prep (remix-run/react-router, 57k stars) and ToolJet Multi-Repo Commit (ToolJet/ToolJet, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit?

meain (a GitHub user) maintains it in meain/dotfiles, which has 285 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 5, 2026.

Source: meain/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.