SKILL

commit

Commit staged or intended changes: compose a Conventional Prefix or Natural Language message, then use ai-commit — with --all, --staged, --close, --finding, or --push. Also squash a branch into one commit with --squash.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Git Commit
  • 1. Parse Arguments
  • Push Destination
  • Squash Mode
  • 2. Prepare Once
  • 3. Analyze and Compose
  • 4. Commit the Transaction
  • 5. Completion and Receipt

Compose the semantic commit message from immutable evidence. Let ai-commit own deterministic preparation, commit, index reconciliation, and push mechanics. Run every command from the target repository cwd. Do not surround ai-commit with extra git status, git log, or git diff calls: preparation provides the complete evidence for this workflow. Use --porcelain only in deterministic automation that explicitly parses its stable TSV records. The normal skill flow consumes the human-readable sections. Arguments: $ARGUMENTS ai-commit selects the message format from repository config. Pass --natural or --conventional only as an explicit one-off override, never to reproduce repository policy. --all: capture all worktree and index changes. This intentionally risks including another agent's work. --staged: capture exactly the current index. Do not add session paths. It conflicts with --all. --natural: force Natural Language Format for this commit. --conventional: force Conventional Prefix Format for this commit. --push: request a push after commit. Otherwise push only when standing instructions authorize it. --rebase: with --push, let ai-commit rebase a behind branch onto its fetched upstream

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
PaulRBerg/agent-skills
Source file
skills/commit/SKILL.md
Fixed revision
3fc64886b46c95238cdad340a8a04e3aaac96665
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: PaulRBerg/agent-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T00:00:29.897Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.