Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

56/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 194k
Last updated
11d ago
License
MIT
git-commitcommit-messagesrepository-workflowpre-commit-hooks
+1git-history

What does this skill do, and when should you use it?

This Agent Skill helps commit Git changes when a user asks to commit, save, or check in code. It reviews recent repository commits and the user's own recent commits to identify the established commit-message style. It then checks repository status, preserves existing staging boundaries, or stages all changes when everything is unstaged. From the staged diff, it creates a subject of no more than 72 characters, commits it, and verifies the result.

It runs git log --oneline -20 and a user-filtered git log --oneline --author="$(git config user.name)" -10 to analyze commit conventions; runs git status --short to inspect the worktree; runs git add -A when changes are only unstaged; and runs git diff --cached --stat plus git diff --cached to read the commit candidate. It drafts a repository-style subject and, when the change is non-trivial, an optional body; runs git commit; then runs git status --short and git log --oneline -1 for confirmation. It also checks for obvious secrets or generated artifacts and asks the user when risk, staging scope, convention, or message content is unclear.

Good fit
  • A developer has completed code changes and wants a commit message aligned with the repository's recent history.
  • A user has only unstaged changes and wants them all staged and committed in one workflow.
  • A user has staged a specific set of changes and wants to commit without including other unstaged edits.
  • A team follows a recognizable commit format and wants new commits to match it.
  • A possible secret or generated artifact appears in the candidate diff and needs user confirmation before committing.

How do you install this skill?

Before you use it
  • When only unstaged changes exist, the skill directs `git add -A`, which may include files the user did not explicitly select; confirm the scope before execution.
  • Commit, hook, and signing behavior depends on local Git configuration and environment, but recovery guidance for cross-platform or missing-configuration cases is not provided.
  • No dedicated execution evidence verifies this skill's behavior; the assessment is based only on static source review.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • Git

The repository bundles 61 separate skills; this profile covers only src/vs/sessions/skills/commit/SKILL.md. The README does not document a standalone installation procedure or a target client directory for this skill, so the exact installation method is undocumented. The repository source is licensed under the MIT license.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/vscode.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/src/vs/sessions/skills/commit" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • create a commit
  • save my work
  • check in code

In an existing Git repository with local changes, send the Agent a request such as “commit changes”, “create a commit”, “save my work”, or “check in code”. If changes are already staged, the skill works only with those changes; if all changes are unstaged, it stages them with git add -A. If there are no changes, it reports that and stops. It asks the user when staging scope, commit convention, message content, or a potentially risky file is unclear.

What are this skill's strengths and limitations?

Pros
  • Uses both recent repository commits and the current user's recent commits when determining message style.
  • Explicitly prevents unauthorized amend, force-push, push, reset, revert, and deletion of user changes.
  • Does not skip pre-commit hooks or commit signing.
  • Checks status and shows the latest commit after committing, while reporting hook failures or file rewrites.
Limitations
  • The skill file does not document a standalone installation process or a platform support matrix.
  • It asks for obvious secret and generated-artifact checks but does not specify a dedicated secret scanner.
  • It recommends a body only for non-trivial diffs and provides no more detailed commit-message template.
  • The supplied source provides no test-suite or cross-platform validation evidence for this skill.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Commit Assistant this page ✓ Microsoft · Official 56 · Use with care ★ 194k 11d ago MIT
QuantMind Contributor Workflow 61 · Recommended ★ 3.1k 2mo ago MIT
Wiki Changelog Assistant ✓ Microsoft · Official 51 · Use with care ★ 2.7k 3mo ago MIT
CE Commit Assistant 51 · Use with care ★ 26k 11d ago MIT
Changelog Scan Skill 45 · Not recommended ★ 12k 11d ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
56/ 100 5-point scale 2.8 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust19 / 25 · 3.8/5

The skill explicitly forbids unauthorized amend, force-push, push, skipped hooks, skipped signing, and reverting or discarding user changes, and tells the agent to ask about suspicious secrets or generated artifacts. These controls reduce external-impact and destructive risks. Deductions apply because secret inspection is underspecified, data flow, isolation, and rollback are not documented, and `git add -A` is prescribed for all-unstaged changes without a more granular confirmation boundary.

2Reliability9 / 20 · 2.3/5

The workflow is internally coherent: discover commit style, inspect status, review the staged diff, commit, and verify the result, with feedback for a clean tree and hook changes or failures. Static files do not prove the commands run, and handling is thin for missing `user.name`, nonstandard repositories, command failures, or unusual paths, so the score is conservative and subject to the static ceiling.

3Adaptability10 / 15 · 3.3/5

Trigger phrases are clear, and the skill targets committing staged or unstaged changes with an explicit staging policy and message format. Deductions apply because it does not define non-Git or ambiguous-convention cases, Chinese-language commit conventions, cross-platform shell assumptions, or scenarios where automatic staging is unsuitable; mainland-China environment fit is not evidenced.

4Convention8 / 15 · 2.7/5

The document has clear progressive structure, guidelines, workflow steps, command examples, limitations, and failure notes. Repository materials establish MIT licensing, Microsoft attribution, and repository context. Deductions apply because the skill itself lacks a version, changelog, explicit maintenance owner, update path, installation/dependency notes, and FAQ, and its ongoing maintenance cannot be established from the supplied files alone.

5Effectiveness6 / 15 · 2.0/5

The skill specifies a directly relevant output: a repository-style commit message and a commit followed by status and log confirmation, including subject length, body, and issue-reference guidance. Static review cannot verify actual commit completion or message quality, and the user may still need to resolve questions, hooks, or follow-up changes, so the score remains below the execution-dependent maximum.

6Verifiability4 / 10 · 2.0/5

The commands, safeguards, and expected workflow are auditable in the skill source, while the README, LICENSE, package metadata, and CI provide repository identity, licensing, and general testing or hook context. There is no dedicated test or third-party execution evidence covering this skill's key paths, so the score stays below the static maximum.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Will it automatically commit every local modification?
No. It uses already staged changes when present. It runs git add -A only when changes are exclusively unstaged, and it stops with an informational message when the worktree is clean.
Will it push or rewrite commit history?
No. Without explicit approval it must not amend, force-push, or push, and it must not revert, reset, or discard user changes.
What happens if a pre-commit hook rewrites files or blocks the commit?
The skill should summarize exactly what happened. If hooks rewrite files after the commit attempt, it does not amend automatically; it tells the user what changed and asks whether to stage and commit the follow-up edits.
Does using it require a paid service or network access?
The source does not state a paid-service requirement or any network call. The documented workflow relies on local Git commands and local repository content.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Author Contribution Audit

Trace an author’s files across a branch, including contributions carried through renames.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Create Draft Pull Request

Validate the current session’s changes and open a draft PR through GitHub MCP.

★ 194k FS 38 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Branch Merge Assistant

Safely merges session work from a topic branch back into its base branch.

★ 194k FS 49 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Hygiene Checks

Catch VS Code commit-blocking style and hygiene issues before the work is declared complete.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Session Code Review

Review the current session's code changes and place actionable findings directly on the relevant lines.

★ 194k FS 51 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Workflow Skill Builder

Turns a conversation's working method into a reusable SKILL.md.

★ 194k FS 50 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Git Branch Sync

Safely sync an upstream branch or publish the current session branch to a remote.

★ 194k FS 49 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Repository Learning Capture

Turn important repository discoveries into reusable skills or instructions.

★ 194k FS 49 Use with care 11d ago
Automation & Ops ✓ Microsoft · Official

CI Failure Fixer

Diagnose pull request CI failures and iterate toward a fix.

★ 194k FS 48 Use with care 11d ago
Automation & Ops ✓ Microsoft · Official

Hook Policy Builder

Turn agent behavior requirements into executable lifecycle hooks.

★ 194k FS 46 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Failure Diagnosis

Diagnose and validate intermittent VS Code Electron smoke-test failures in Azure DevOps.

★ 194k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Session Pull Request Assistant

Checks session changes and creates a GitHub pull request through GitHub MCP.

★ 194k FS 43 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Extension Installer

Install a VS Code extension from its extension ID.

★ 194k FS 41 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Chronicle Copilot Session Analyst

Turn Copilot session history into standups, usage advice, and searchable records.

★ 194k FS 39 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Upstream Branch Sync

Rebase a stale session branch onto the latest upstream changes.

★ 194k FS 35 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Existing Pull Request Updater

Sync the branch, run checks, and publish new changes to an existing pull request.

★ 194k FS 32 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

★ 194k FS 63 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

★ 194k FS 60 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

★ 194k FS 59 Recommended 11d ago
Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

★ 194k FS 58 Recommended 11d ago

Related skills