Skip to content
DevBuildKit
AgentsSkillsCommandsPacksPricingDocsBlogTools
Log inGet DevBuildKit

/commit

Create small, focused Conventional Commits from the working tree. Reviews the diff, splits unrelated changes, stages files explicitly, refuses to commit secrets or generated files, and writes messages that explain why. Never pushes or rewrites history.

CommandFreev1.0.0
  1. Commands
  2. /commit

What it does

Create small, focused Conventional Commits from the working tree. Reviews the diff, splits unrelated changes, stages files explicitly, refuses to commit secrets or generated files, and writes messages that explain why. Never pushes or rewrites history.

Category
gitworkflowversion-control
Platforms
generic
Capabilities
version-controlcommit-authoring

Example tasks

  • /commit
  • /commit only the auth changes, leave the refactor for a separate commit
  • /commit fix for the login redirect loop, closes

Works with

Related skills

  • Git Workflow· skill

Recommended alongside

  • Code Reviewer· agent
  • Secret Management· skill

Permissions summary

  • Files

    Reads files only

  • Shell

    Runs a limited set of commands

  • Network

    No network

Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.

Supported environments

ClientSupportInstalled as
Claude CodeNative.claude/commands/<id>.md
OpenAI CodexAdapter.codex/prompts/<id>.md
CursorNative.cursor/commands/<id>.md
VS Code (Copilot)Native.github/prompts/<id>.prompt.md
Generic markdownAdapterdocs/forgekit/commands/<id>.md

Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.

Included in packs

  • engineering

Full command (free preview)

This is a free component, so its complete content is public. It is exactly what gets installed (before client-specific formatting).

Commit the current changes following Conventional Commits. User guidance: $ARGUMENTS

You may run only these git commands: status, diff, log, add <explicit paths>, restore --staged, commit, show, and check-ignore. Never run push, commit --amend, rebase, reset --hard, --no-verify, or any force option unless the user explicitly asks for that exact action.

  1. Learn the house style. Run git log --oneline -20 and read CONTRIBUTING, commitlint.config.*, and .gitmessage if present. If the repo clearly uses another convention (for example ticket prefixes), follow it and say so; otherwise use Conventional Commits.
  2. Inspect the changes. Run git status --short and git diff plus git diff --staged. Read untracked files before adding them. Identify logical units of work.
  3. Refuse unsafe content. Do not stage or commit: .env* (except .env.example), private keys, tokens, credentials, *.pem, keystores, anything matching the content of a secret (API keys, passwords, connection strings with passwords), build output, node_modules, caches, coverage, large binaries, lockfile churn unrelated to a dependency change, and generated files the repo ignores or normally regenerates. Report what was skipped and why. If a secret is already staged, unstage it and warn the user to rotate it.
  4. Split by purpose. One commit per logical change (a feature, a fix, a refactor, docs, tests that belong to the change go with it). Stage explicit paths or hunks; never git add . or -A blindly. If the diff is a mixed bag, propose the split before committing when it is ambiguous.
  5. Write each message: type(scope): subject where type is one of feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert; imperative mood, lower-case subject, no trailing period, at most 72 characters. Add a body (wrapped at about 72) explaining why and notable trade-offs when the change is not trivial. Mark breaking changes with ! and a BREAKING CHANGE: footer. Reference issues from the arguments with Closes #n only if given.
  6. Verify. After each commit run git show --stat HEAD and confirm the file list matches intent; run git status --short at the end to confirm nothing unintended remains. If a pre-commit hook fails, fix the cause and create a new commit; do not bypass the hook.

Constraints: do not invent issue numbers or co-authors; do not commit failing code you know is broken without telling the user; ask before committing on main/master/protected branches.

Output: the commits created (hash, message), files in each, anything deliberately left uncommitted with the reason, and any warnings. Remind that nothing was pushed.

Version and changelog

Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.

Changelog — /commit

1.0.0

  • Initial release.

Build with this command

Create Demo Project

Install in CLI

$ devbuild add command commit

Dependencies are resolved automatically.

Free. Needs a free account: run devbuild login once.

IDcommit
Version1.0.0
TierFree
Arguments[optional scope, intent or issue reference]
DevBuildKit

Your entire AI development team. One install.

DevBuildKit never uploads your source code. Telemetry is opt-in and anonymous.

Product

  • Agents
  • Skills
  • Commands
  • Packs
  • Features
  • Live demo
  • Pricing

Learn

  • Documentation
  • Getting started
  • CLI reference
  • Blog
  • Changelog
  • Compare

Free tools

  • All tools
  • Agent generator
  • Config converter
  • Stack detector
  • Context analyzer

Use cases

  • Android development
  • iOS development
  • SaaS development
  • Backend development
  • App Factory
  • Game development

Company

  • Terms
  • Privacy
  • Refunds
  • Log in
  • Sign up

© 2026 DevBuildKit. All rights reserved.

DevBuildKit is an independent product. Claude, Claude Code, Anthropic, OpenAI, Codex, ChatGPT, Cursor, Visual Studio Code, GitHub Copilot, Microsoft and all other product names are trademarks of their respective owners. DevBuildKit is not affiliated with, endorsed by or sponsored by any of them; names are used only to describe compatibility.