Run git status and git diff to understand what changed
Stage changed files by name (never git add -A or git add .)
Write a concise commit message (conventional commits format, subject ≤50 chars)
Commit and push to current branch
Report the commit SHA
Rules
Do NOT modify build commands, CLAUDE.md, or README unless the user explicitly asked
Do NOT add files that look like secrets (.env, credentials, tokens)
Do NOT amend existing commits — always create a new one
Do NOT push if on main/master without confirming with the user first
1---2name: commit3description: Commit Skill4---5# Commit Skill67Stage and commit all changes, then push.89## Steps10111. Run `git status` and `git diff` to understand what changed122. Stage changed files by name (never `git add -A` or `git add .`)133. Write a concise commit message (conventional commits format, subject ≤50 chars)144. Commit and push to current branch155. Report the commit SHA1617## Rules1819- Do NOT modify build commands, CLAUDE.md, or README unless the user explicitly asked20- Do NOT add files that look like secrets (.env, credentials, tokens)21- Do NOT amend existing commits — always create a new one22- Do NOT push if on main/master without confirming with the user first
Run npx skillmds@latest add dfa1/commit in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Commit Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
dfa1 (@dfa1) published this skill. Their other Agent Skills are listed on their SkillMD profile.