Skip to content
Development
Skill

/commit

Commit the current changes as Conventional Commits; continues with push-and-pr when the user also asks to push or open a PR. Triggers: "commit", "/commit", "закоммить", "сделай коммит", "коммит и пуш", "commit and push"

From plugin
agent-setup
114 skills
Install
$ npx -y skills add DefaultPerson/agent-setup --skill commit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/commit

Context preview

The summary Claude sees to decide when to auto-load this skill.

Commit the current changes as Conventional Commits; continues with push-and-pr when the user also asks to push or open a PR. Triggers: "commit", "/commit", "закоммить", "сделай коммит", "коммит и пуш", "commit and push"

SKILL.md

commit.SKILL.md
name: commit
description: >
  Commit the current changes as Conventional Commits; continues with push-and-pr
  when the user also asks to push or open a PR.
  Triggers: "commit", "/commit", "закоммить", "сделай коммит", "коммит и пуш", "commit and push"
allowed-tools: [Bash]
disallowed-tools: [Edit, Write, MultiEdit, NotebookEdit]

State

!`git status -sb 2>&1 | head -40` !`git diff --stat HEAD 2>/dev/null | tail -25` !`git log --oneline -8 2>/dev/null | cat`

Requested header (may be empty): $ARGUMENTS

Conventions

  • Conventional Commits: `<type>(<scope>)!: <summary>` — English, imperative, ≤72 chars.
  • One purpose per commit: split unrelated changes into separate commits.
  • Stage paths explicitly. Never `git add -A` or `git add .` — they sweep in untracked junk and secrets.
  • Never commit secrets, `.env` files, dumps or build output.
  • On the repository's default branch, create a feature branch first (`feat/…`, `fix/…`, `chore/…`) unless the user asked to commit there.

If the request also asks to push or open a PR ("и пуш", "and push", "сделай пр"), continue with the push-and-pr skill.

Ships withagent-setup

Universal setup for Claude Code and OpenAI Codex CLI — security hooks, notifications, status line, and skills.

Get the whole plugin
Stats
11
Stars
1
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
9mo ago
Created

Repo: DefaultPerson/agent-setup

Other skills on agent-setup.