dev-commit
Skill0 starsChanged 6 months agoMITView on GitHub
Use when creating commit messages - analyzes git diffs, proposes conventional commit messages with appropriate type, and waits for user approval before committing
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- codeaholicguy/ai-devkittheir own version, first seen Sep 14, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- codeaholicguy/ai-devkit★ 1.6ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- deploy-shipSkill
- dev-brainstormSkill
- dev-debugSkill
- dev-implementSkill
- dev-planSkill
- dev-tddSkill
- enggenieSkill
- memory-recallSkill
- pm-refineSkill
- qa-testSkill
- qa-verifySkill
- review-codeSkill
- review-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 16 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 18
Run these commands to understand what is being committed:
- Distinctive: line 25
Read the full diff output.
- Distinctive: line 30
If nothing is staged, tell the user: "No changes are staged.
- Distinctive: line 38
Only use the following types:
- Distinctive: line 64
One logical change per commit: If staged changes cover multiple unrelated things, suggest splitting them.
- Distinctive: line 66
No AI attribution: Do not add any mention of AI assistance.
- Distinctive: line 78
NEVER auto-commit: Wait for explicit user approval.
- Distinctive: line 80
If the user wants to edit, incorporate their changes and re-present.
- Distinctive: line 86
Only after user confirms:
- Distinctive: line 100
Never commit unstaged changes: Only commit what is in the staging area.
- Distinctive: line 101
Never commit secrets: Check staged files for .env, credentials, API keys, tokens.
- Distinctive: line 107
When the user's request matches a shortcut pattern from this table, show them the relevant row and explain the cost before proposing a …
- Distinctive: line 132
Why: Commit message generation is a lightweight task.
- Distinctive: line 142
If no Jira ticket is referenced in the current conversation and the commit is for feature work (not a quick fix or chore), ask:
- Distinctive: line 146
If the user provides one, read the ticket using MCP tools to get the ticket title, and use it to write a better "why" in the commit body.
- Distinctive: line 158
Commit created (or cancelled).
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
enggenie:dev-commit
Announce: "I'm using enggenie:dev-commit to create a commit message."
Overview
Analyze staged changes and propose a well-crafted commit message. The message explains WHY something changed, not just what changed. Every commit gets user approval before it lands.
Step 1: Analyze Staged Changes
Run these commands to understand what is being committed:
git status
git diff --stagedRead the full diff output. Understand:
- Which files changed and why
- Whether the changes are a new feature, bug fix, refactoring, documentation, test, or performance improvement
- The relationship between changed files (are they part of one logical change?)
If nothing is staged, tell the user: "No changes are staged. Stage your changes with git add first."
Step 2: Propose Commit Message
Commit Types
Only use the following types:
| Type | When to use |
feat: | New feature or capability |
fix: | Bug fix |
refactor: | Code restructuring without behavior change |
docs: | Documentation only |
style: | Formatting, whitespace, linting (no logic change) |
test: | Adding or updating tests |
perf: | Performance improvement |
chore: | Build, config, tooling, dependencies |
Format
<type>: <concise_description>
<optional_body_explaining_why>Rules
- Present tense. "add feature" not "added feature"
- Explain why, not what. The diff shows what changed. The message explains the motivation.
- Subject line under 72 characters.
- One logical change per commit. If staged changes cover multiple unrelated things, suggest splitting them.
- No co-authored-by tags. The commit should look human.
- No AI attribution. Do not add any mention of AI assistance.
Step 3: Present and Confirm
Show the user:
- Summary of staged changes - brief overview of what is staged
- Proposed commit message - the full message with type and body
- Ask for confirmation - "Commit with this message? (yes/edit/cancel)"
NEVER auto-commit. Wait for explicit user approval.
If the user wants to edit, incorporate their changes and re-present. If they cancel, do nothing.
Step 4: Commit
Only after user confirms:
git commit -m "<approved message>"Report the result: commit hash, branch, and files committed.
Hard Rules
- Never commit without user approval. Present the message, wait for "yes."
- Never add co-authored-by or AI attribution. Commits must look human-written.
- Never commit unstaged changes. Only commit what is in the staging area.
- Never commit secrets. Check staged files for .env, credentials, API keys, tokens. Warn the user if detected.
Shortcut Tax
When the user's request matches a shortcut pattern from this table, show them the relevant row and explain the cost before proposing a proper alternative. Do not silently ignore shortcuts -- surface the cost explicitly.
| Shortcut | What it costs you |
| "Just commit it, I'll fix the message later" | You won't. Commit history becomes unreadable. Future you wastes time deciphering cryptic messages. |
| "One big commit is fine" | Can't bisect, can't revert cleanly, can't understand changes in review. Split by logical unit. |
| "The diff speaks for itself" | Diffs show WHAT changed. Only messages explain WHY. Future debuggers need the why. |
| "I'll add the body later" | Later never comes. Write the why now while context is fresh. |
| "Generic message is fine" | "fix stuff" tells nobody anything. 10 seconds to write a good message saves 10 minutes reading diffs. |
Gut Check
- Are you about to auto-commit? Stop. Show the message first.
- Does the subject line exceed 72 characters? Shorten it.
- Does the message say "what" but not "why"? Add the motivation.
- Are there .env files or credentials staged? Warn immediately.
- Are the staged changes one logical unit? If not, suggest splitting.
Recommended Model
Primary: haiku Why: Commit message generation is a lightweight task. Haiku is fast and sufficient.
Override: Use sonnet for complex commits spanning many files where understanding relationships matters.
This is a recommendation. Ask the user: "Confirm model selection or override?" Do not proceed until the user responds.
Jira Fallback
If no Jira ticket is referenced in the current conversation and the commit is for feature work (not a quick fix or chore), ask:
"Is there a Jira ticket for this work? I can include the ticket ID in the commit message."
If the user provides one, read the ticket using MCP tools to get the ticket title, and use it to write a better "why" in the commit body. If Jira MCP is not available, just use the ticket ID the user provides.
This is a soft fallback, not a blocking gate. If the user says no or skips it, proceed with the commit.
Entry Condition
None - can be invoked anytime there are staged changes.
Exit Action
Commit created (or cancelled). Resume previous workflow.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

