commit
This skill analyzes your repository's commit history to detect its message style, then generates a subject line and optional body that fit the established pattern. It stages unstaged changes when needed, respects pre-commit hooks and signing requirements, and confirms the commit with a log preview.
Commit commits staged or unstaged code changes with an AI-generated message that matches your repository's existing style.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-28
Commit commits staged or unstaged code changes with an AI-generated message that matches your repository's existing style. This skill analyzes your repository's commit history to detect its message style, then generates a subject line and optional body that fit the established pattern. It stages unstaged changes when needed, respects pre-commit hooks and signing requirements, and confirms the commit with a log preview.
Use it when
- Yes.
- commit generates commit messages by analyzing your repository's existing commit history to detect its style pattern.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
microsoft/vscode/commit · repository language: TypeScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I commit my changes with an AI-generated message?
commit analyzes your repository's commit history to detect its message style, then generates a subject line and optional body that fit the established pattern. The skill stages unstaged changes when needed, respects pre-commit hooks and signing requirements, and confirms the commit with a log preview before finalizing.
Can commit stage and commit unstaged changes?
Yes. commit can stage unstaged changes as part of the workflow. It handles both staged and unstaged modifications, ensuring all your work is captured in a properly formatted commit that follows your repository's conventions.
Does commit generate messages following repository conventions?
commit generates commit messages by analyzing your repository's existing commit history to detect its style pattern. It then creates a subject line and optional body that match the established conventions—whether that's conventional commits, a custom format, or another standard your repo uses.
What safety features does commit include?
commit respects pre-commit hooks and signing requirements to ensure safe, compliant commits. It confirms the commit with a log preview before finalizing, so you can verify the message and changes match your expectations before they're saved to git.
How does commit save my code changes?
commit creates a properly formatted commit by analyzing your repository's style, generating an appropriate message, staging any unstaged changes, and respecting your repo's hooks and signing setup. It then previews the commit log so you can confirm before the changes are saved to your repository.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
<!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->
Commit Changes
Help the user commit code changes with a well-crafted commit message derived from the diff, following the conventions already established in the repository.
Guidelines
- Never amend existing commits without asking.
- Never force-push or push without explicit user approval.
- Never skip pre-commit hooks (do not use
--no-verify). - Never skip signing commits (do not use
--no-gpg-sign). - Never revert, reset, or discard user changes unless the user explicitly asked for that.
- Check for obvious secrets or generated artifacts that should not be committed. If something looks risky - ask the user.
- When in doubt about staging, convention, or message content — ask the user.
Workflow
1. Discover the repository's commit convention
Run the following
(truncated - see the full file via the links below)
File tree — 1 file
src/vs/sessions/skills/commit/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Commit code changes with an AI-generated message matching repo style”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Create git commits that follow Conventional Commits conventions, enabling automatic changelog and release note generation. The skill stages your changes, validates them through pre-commit hooks, and ensures commit messages match your project's standards before recording them to history.
Commit Summary analyzes staged or unstaged git changes and generates properly formatted Conventional Commit messages with the right type, scope, and breaking-change markers. It groups unrelated changes into logical commits, detects unsafe files, and can stage and create commits after your approval.
This skill commits your WooCommerce work with clear, convention-compliant messages. It analyzes your changes, groups related edits into separate commits when warranted, and stages only the files you intend—never blanket-adding everything.
Commit stages files based on scope, intent, or both—parsing file paths, folders, and free-text descriptions to guide commit messages. Supports amending the last commit and integrates with sequenced workflows where the caller owns the final commit step.
This skill analyzes your staged code changes and generates appropriate commit messages in your project's preferred format. It automatically detects conventions from commitlint config files and git history, supports multiple languages, and copies the top suggestion to your clipboard for instant use.
Smart Commit examines your uncommitted changes, organizes them into logically cohesive groups, and generates commit messages that match your project's style conventions. By default it outputs git commands for manual review; use the `--execute` flag to run commits directly after confirmation.
More skills commit-message (MIT) · Create Commit (unlicensed) · Cp (unlicensed)