commit
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.
Commit stages and commits files with flexible scope and free-text intent parsing for git workflows.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-06-11
Commit stages and commits files with flexible scope and free-text intent parsing for git workflows. 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.
Use it when
- Yes.
- Commit parses free-text descriptions to infer related file changes and automatically generate commit messages.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
benoror/obsidianos_work/commit · repository language: JavaScript
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 does commit stage and commit files with flexible scope?
Commit stages files based on scope, intent, or both—parsing file paths, folders, and free-text descriptions to guide commit messages. You can specify exact files, entire directories, or provide a natural language description, and commit will infer the related changes and generate an appropriate message.
Can I amend the last commit with commit?
Yes. Commit supports amending the last commit safely with optional new scope or message. You can modify the previous commit's content or description without creating a new commit entry.
What does commit do with free-text intent parsing?
Commit parses free-text descriptions to infer related file changes and automatically generate commit messages. Rather than manually listing files, you describe what changed in natural language, and commit interprets your intent to stage and commit the relevant modifications.
Can commit handle specific files or folders?
Commit can commit specific files or folders with automatic message generation. Provide a file path or directory name, and commit will stage those changes and create an appropriate commit message based on the scope you've identified.
Does commit integrate with sequenced workflows?
Commit integrates with sequenced workflows for deferred multi-step commits. In such workflows, commit prepares and stages your changes while you retain control over the final commit step, enabling complex multi-stage operations.
What license does commit use?
Commit is released under the MIT license, allowing free use, modification, and distribution in both open-source and commercial projects.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Commit
Usage
| Command | What it does |
|---|---|
/commit |
Commit staged files; if none staged, infer related changes |
/commit <file> |
Scope to a specific file's changes |
/commit <folder>/ |
Scope to a folder's changes |
/commit <description> |
Infer scope from free-text intent |
/commit <scope> <description> |
Scope + explicit intent |
/commit amend |
Amend the last commit (re-use message) |
/commit amend <scope/description> |
Amend with additional scope or new message |
| (sequence mode) | Deferred — sub-skills skip, caller commits once at the end |
Argument Parsing
Parse the raw argument string into scope, intent, and flags:
- Amend flag: If the first word is
amend, set amend mode and strip it. The remainder is parsed normally. - Scope (file or folder): Any token that matches a real path in the repo (file or directory) — whether provided via
@-reference or plain text. Multiple scopes are allowed. - Intent (free-text
(truncated - see the full file via the links below)
File tree — 1 file
.agents/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 › “Stage and commit files with flexible scope and free-text intent parsing”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
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.
Cp combines staging, committing, and pushing into a single streamlined action. It auto-generates conventional commit messages based on your changes, protects against accidental pushes to main branches, and scans for leaked secrets before committing.
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.
Create Commit analyzes your staged changes and generates properly formatted conventional commits, automatically inferring commit type and scope from the diff. It detects breaking changes and flags potential secrets before committing, while enforcing pre-commit hooks to maintain code quality standards.
This skill analyzes your staged changes and proposes a split into multiple focused commits, each with a semantic message following conventional patterns. It groups related files by feature, change type, or dependency, then walks you through approval and execution—with a dry-run mode to preview splits before committing.
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.