Make commits that are easy to review and safe to ship:
only intended changes are included
commits are logically scoped (split when needed)
commit messages describe what changed and why
Inputs to ask for (if missing)
Single commit or multiple commits? (If unsure: default to multiple small commits when there are unrelated changes.)
Commit style: Conventional Commits are required.
Any rules: max subject length, required scopes.
Workflow (checklist)
Inspect the working tree before staging
git status
git diff (unstaged)
If many changes: git diff --stat
Decide commit boundaries (split if needed)
Split by: feature vs refactor, backend vs frontend, formatting vs logic, tests vs prod code, dependency bumps vs behavior changes.
If changes are mixed in one file, plan to use patch staging.
Stage only what belongs in the next commit
Prefer patch staging for mixed changes: git add -p
To unstage a hunk/file: git restore --staged -p or git restore --staged <path>
Review what will actually be committed
git diff --cached
Sanity checks:
no secrets or tokens
no accidental debug logging
no unrelated formatting churn
Describe the staged change in 1-2 sentences (before writing the message)
"What changed?" + "Why?"
If you cannot describe it cleanly, the commit is probably too big or mixed; go back to step 2.
Write the commit message
Use Conventional Commits (required):
type(scope): short summary
blank line
body (what/why, not implementation diary)
footer (BREAKING CHANGE) if needed
Prefer an editor for multi-line messages: git commit -v
Use references/commit-message-template.md if helpful.
Run the smallest relevant verification
Run the repo's fastest meaningful check (unit tests, lint, or build) before moving on.
Repeat for the next commit until the working tree is clean
Deliverable
Provide:
the final commit message(s)
a short summary per commit (what/why)
the commands used to stage/review (at minimum: git diff --cached, plus any tests run)
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: bartstc-vite-ts-react-template-commit-work3description: Commit work4---56# Commit work78## Goal910Make commits that are easy to review and safe to ship:1112- only intended changes are included13- commits are logically scoped (split when needed)14- commit messages describe what changed and why1516## Inputs to ask for (if missing)1718- Single commit or multiple commits? (If unsure: default to multiple small commits when there are unrelated changes.)19- Commit style: Conventional Commits are required.20- Any rules: max subject length, required scopes.2122## Workflow (checklist)23241. Inspect the working tree before staging25 - `git status`26 - `git diff` (unstaged)27 - If many changes: `git diff --stat`282. Decide commit boundaries (split if needed)29 - Split by: feature vs refactor, backend vs frontend, formatting vs logic, tests vs prod code, dependency bumps vs behavior changes.30 - If changes are mixed in one file, plan to use patch staging.313. Stage only what belongs in the next commit32 - Prefer patch staging for mixed changes: `git add -p`33 - To unstage a hunk/file: `git restore --staged -p` or `git restore --staged <path>`344. Review what will actually be committed35 - `git diff --cached`36 - Sanity checks:37 - no secrets or tokens38 - no accidental debug logging39 - no unrelated formatting churn405. Describe the staged change in 1-2 sentences (before writing the message)41 - "What changed?" + "Why?"42 - If you cannot describe it cleanly, the commit is probably too big or mixed; go back to step 2.436. Write the commit message44 - Use Conventional Commits (required):45 - `type(scope): short summary`46 - blank line47 - body (what/why, not implementation diary)48 - footer (BREAKING CHANGE) if needed49 - Prefer an editor for multi-line messages: `git commit -v`50 - Use `references/commit-message-template.md` if helpful.517. Run the smallest relevant verification52 - Run the repo's fastest meaningful check (unit tests, lint, or build) before moving on.538. Repeat for the next commit until the working tree is clean5455## Deliverable5657Provide:5859- the final commit message(s)60- a short summary per commit (what/why)61- the commands used to stage/review (at minimum: `git diff --cached`, plus any tests run)6263---64> Converted and distributed by [TomeVault](https://tomevault.io/claim/bartstc) — claim your Tome and manage your conversions.65<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/bartstc-vite-ts-react-template-commit-work 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 work It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. 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.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.