Home / thoughtbot / rails-consultant · skills/git-commit/SKILL.md · GitHub

git-commit skillA

git-commit is agent-read markdown (skill) from thoughtbot/rails-consultant: Turn the working changes into one or more atomic commits with well-written messages. Use whenever the user runs /git-commit or asks to commit their work, wrap up a feature, or "commit what I have.".

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

## What this does

Look at everything that has changed in the working tree, decide how the changes should be split into commits, and then create those commits — messages and all — without stopping to ask for approval. The user invoked `/git-commit` because they trust you to make the call, so make it and report what you did afterward.

Any argument the user passes is context, not a command: a hint about intent ("addressing review feedback", "this is risky, note the migration") that should inform how you group and what you write. It is never the literal commit message.

## Step 1: Understand what changed

Before grouping anything, build a real picture of the diff. Run these together:

- `git status` — what's modified, added, deleted, untracked
- `git diff` — unstaged changes
- `git diff --staged` — anything already staged
- `git log --oneline -15` — recent history, to match the tone and see referenced issues/PRs
…

Read the whole file at its exact version.

How to install

Latest version
mdr add thoughtbot/rails-consultant/git-commit@git:20260717.8fbb8df
Exact content
mdr add thoughtbot/rails-consultant/git-commit@sha256:6dcaa130dd708fc9

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ozqm5joxom26fo2n.svg)](https://markdownregistry.com/a/art_ozqm5joxom26fo2n)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260717.8fbb8df latest2026-07-17 8fbb8df 9,380 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9380 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

thoughtbot/rails-consultant · 26 stars · license MIT · pushed 2026-09-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ozqm5joxom26fo2n
GET https://markdownregistry.com/api/v1/resolve?ref=thoughtbot/rails-consultant/git-commit
GET https://markdownregistry.com/api/v1/blob/6dcaa130dd708fc9ed7e844ce11a4dcfb682f4eaea2d99e5485fe0a509c392a7

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from thoughtbot/rails-consultant

challenge skill
thoughtbot/rails-consultant · skills/challenge/SKILL.md · Pressure-test an assumption, decision, or inherited constraint — Socratic cross-examination that forces you to defend…
git:20260320.c372a42 · audit A · 26 stars
explain skill
thoughtbot/rails-consultant · skills/explain/SKILL.md · Explain what a piece of code does — a specific file, class, or method in close detail, or a user-facing flow as a…
git:20260320.c9c920e · audit A · 26 stars
feature-dev skill
thoughtbot/rails-consultant · skills/feature-dev/SKILL.md · Take one new feature slice from idea to reviewed, committed code in a single guided pass — scope it into the smallest…
git:20260730.4e2addb · audit A · 26 stars
hard-news skill
thoughtbot/rails-consultant · skills/hard-news/SKILL.md · Prepare to deliver difficult technical news to a client — a conversational prep session before the hard conversation…
git:20260313.e9f2976 · audit A · 26 stars
offboard skill
thoughtbot/rails-consultant · skills/offboard/SKILL.md · Walk through the Designer/Developer wrap-up checklist for offboarding a client engagement — conversationally, one item…
git:20260320.0cc9cbc · audit A · 26 stars
prior-art skill
thoughtbot/rails-consultant · skills/prior-art/SKILL.md · Discover how a codebase already handles a specific concern — search broadly, find every instance, and assess…
git:20260313.e2ed4a0 · audit A · 26 stars
rubber-duck skill
thoughtbot/rails-consultant · skills/rubber-duck/SKILL.md · Think out loud about a problem, decision, or approach — Socratic friction to help you find clarity, not sympathy
git:20260325.3769383 · audit A · 26 stars
slice skill
thoughtbot/rails-consultant · skills/slice/SKILL.md · Turn a feature into well-defined, independently shippable slices — whether it's an epic that needs breaking apart or a…
git:20260730.9807306 · audit A · 26 stars
socratic-review skill
thoughtbot/rails-consultant · skills/socratic-review/SKILL.md · Socratic code review and refactoring session — whether it's your own code, a teammate's PR, or something you inherited…
git:20260729.47262f4 · audit A · 26 stars
standup skill
thoughtbot/rails-consultant · skills/standup/SKILL.md · Write a client update — identify what was done, what's next, and surface risks before they become surprises. End of…
git:20260313.e2ed4a0 · audit A · 26 stars
test-driven-development skill
thoughtbot/rails-consultant · skills/test-driven-development/SKILL.md · Strict red-green-refactor TDD workflow for implementing features, fixing bugs, or changing behavior in Rails…
git:20260612.60eb9ca · audit A · 26 stars

Every file in thoughtbot/rails-consultant

Other files named git-commit

git-commit skill
github/awesome-copilot · skills/git-commit/SKILL.md · Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when…
git:20260122.e24be77 · audit A · 39,368 stars
git-commit skill
thinkinaixyz/deepchat · resources/skills/git-commit/SKILL.md · Generate well-formatted git commit messages following conventional commit standards
git:20260113.8fd50e4 · audit A · 6,342 stars
git-commit skill
decebals/claude-code-java · skills/git-commit/SKILL.md · Generate conventional commit messages for Java projects. Use when user says "commit", "create commit", "commit…
git:20260828.702770a · audit A · 744 stars
git-commit skill
jackyst0/awesome-agent-skills · examples/git-commit/SKILL.md · Git commit message generator that creates conventional commit messages based on code changes.
git:20260128.ad055be · audit A · 643 stars
git-commit skill
cowork-os/cowork-os · resources/skills/git-commit/SKILL.md · Create a well-formatted commit message from staged changes
v1.0.0 · audit A · 459 stars
git-commit skill
aiskillstore/marketplace · skills/21pounder/git-commit/SKILL.md · Use this skill when user asks to "commit changes", "create a commit", "stage and commit", or wants help with git commit…
v1.0.0 · audit A · 427 stars
git-commit skill
fvadicamo/dev-agent-skills · plugins/github-workflow/skills/git-commit/SKILL.md · Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit…
git:20260517.91f300b · audit A · 72 stars
git-commit skill
huangwb8/skills · skills/alpha/git-commit/SKILL.md · 当用户明确要求"提交 Git 改动"、"生成 commit 信息"或"创建 git commit"时使用。仅用 Git 分析改动并自动生成 conventional commit 信息(可选 emoji);必要时建议拆分提交,默认运行本地…
git:20260905.a346b91 · audit A · 48 stars

Browse by kind, by grade A, or by owner.