commit — for Claude Code commit, bashunit, community, for Claude Code, ide skills, assertions, bash-script, mocking, test-driven-development, testing

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need commit with conventional commits. 本地化技能摘要: A simple yet powerfull testing library for bash scripts. It covers assertions, bash, bash-script workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Commit with Conventional Commits
Stage and commit current changes using the conventional commits format.
Branch: !git branch --show-current
Status: !git status --short
Staged diff: !git diff --cached --stat 2 /dev/null

# 核心主题

TypedDevs TypedDevs
[407]
[48]
更新于: 4/19/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
74
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need commit with conventional commits. 本地化技能摘要: A simple yet powerfull testing library for bash scripts. It covers assertions, bash, bash-script workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: commit helps agents commit with conventional commits. A simple yet powerfull testing library for bash scripts. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

适用 Agent 类型

适用场景: Ideal for AI agents that need commit with conventional commits.

赋予的主要能力 · commit

适用任务: Applying Commit with Conventional Commits
适用任务: Applying Stage and commit current changes using the conventional commits format
适用任务: Applying Branch: !git branch --show-current

! 使用限制与门槛

  • 限制说明: docs — documentation only
  • 限制说明: Add a body (separated by blank line) only if the why isn't obvious from the description
  • 限制说明: One logical change per commit — don't mix unrelated changes

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

commit 是什么?

适用场景: Ideal for AI agents that need commit with conventional commits. 本地化技能摘要: A simple yet powerfull testing library for bash scripts. It covers assertions, bash, bash-script workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 commit?

运行命令:npx killer-skills add TypedDevs/bashunit/commit。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

commit 适用于哪些场景?

典型场景包括:适用任务: Applying Commit with Conventional Commits、适用任务: Applying Stage and commit current changes using the conventional commits format、适用任务: Applying Branch: !git branch --show-current。

commit 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

commit 有哪些限制?

限制说明: docs — documentation only;限制说明: Add a body (separated by blank line) only if the why isn't obvious from the description;限制说明: One logical change per commit — don't mix unrelated changes。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add TypedDevs/bashunit/commit。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    commit 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

commit

A simple yet powerfull testing library for bash scripts. It covers assertions, bash, bash-script workflows. This AI agent skill supports Claude Code, Cursor

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Commit with Conventional Commits

Stage and commit current changes using the conventional commits format.

IMPORTANT: This skill MUST be used for ALL commits — even when the user says "commit" without /commit. Never commit without following these steps.

Current State

  • Branch: !git branch --show-current
  • Status: !git status --short
  • Staged diff: !git diff --cached --stat 2>/dev/null
  • Unstaged diff: !git diff --stat 2>/dev/null
  • Recent commits: !git log --oneline -5 2>/dev/null

Arguments

  • $ARGUMENTS - Optional hint for the commit message (e.g., fix the snapshot comparison)

Instructions

  1. Review the state above — understand what changed and why.

  2. Stage files — add only the relevant changed files by name. Never use git add -A or git add .. Never stage files that contain secrets (.env, credentials, etc.).

  3. Determine the commit type from the nature of the changes:

    • feat — new feature or capability
    • fix — bug fix
    • docs — documentation only
    • style — formatting, whitespace (no logic change)
    • refactor — code restructuring (no behavior change)
    • test — adding or updating tests
    • chore — maintenance, tooling, config
    • perf — performance improvement
  4. Determine the scope from the area of the codebase affected:

    • assert — assertions (src/assert*.sh)
    • runner — test runner
    • cli — CLI entry point, flags, options
    • doubles — mocks, spies
    • docs — documentation site
    • ci — CI/CD, GitHub Actions
    • Use the most specific scope that fits. Omit if changes span many areas.
  5. Write the commit message:

    • Format: <type>(<scope>): <description>
    • Description: imperative mood, lowercase, no period, under 70 chars
    • Focus on why, not what
    • Add a body (separated by blank line) only if the why isn't obvious from the description
    • Never mention AI, Claude, or automation in the message
  6. Create the commit:

    bash
    1git commit -m "$(cat <<'EOF' 2<type>(<scope>): <description> 3 4<optional body> 5EOF 6)"
  7. Verify the commit was created:

    bash
    1git log --oneline -1

Examples

feat(assert): add assert_json_contains function
fix(runner): resolve parallel execution race condition
test(doubles): add spy verification edge cases
refactor(cli): extract option parsing into helper
docs: update installation instructions
chore(ci): upgrade shellcheck to v0.10
perf(runner): reduce subshell usage in test discovery

Rules

  • One logical change per commit — don't mix unrelated changes
  • Never use --no-verify — if hooks fail, fix the issue
  • Never amend unless the user explicitly asks
  • Always create a NEW commit — even after a hook failure
  • Author: use the git config identity (never commit as sandbox/default user)

相关技能

寻找 commit 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具