跳到正文
cccskills
免费在 GitHub 公开

commit

Optionally checks, then commits code to the current or a new feature branch.

中文简介正在准备中。当前显示原文说明。

Consensys-Incorporated/ocap-kernel星标 9(GitHub 9 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

When asked to commit code, follow these steps:

Arguments

  • check (default): Lint, build, and test the code at step 3, after the prose pass. Stop if any checks fail.
  • force: Skip the check step and commit directly.

Steps

  1. Run these bash commands in parallel to understand the current state:

    • git status to see all untracked files
    • git diff HEAD to see both staged and unstaged changes
    • git log --oneline -10 to see recent commit messages for style consistency
  2. Run the prose pass over the diff: Skill tool with skill="prose-pass". Apply its cuts before staging anything. Do not skip this, however small the diff.

  3. Unless invoked with force, lint, build, and test the code (lint-build-test). This runs after the prose pass because that pass may rename an identifier or drop a comment lint requires. Stop if any checks fail.

  4. If you are on the main branch, create a new feature branch using git branch and switch to it.

  5. Analyze all changes and draft a commit message:

    • Summarize the nature of the changes (new feature, enhancement, bug fix, refactoring, test, docs, etc.)
    • Use the conventional commit format: type(scope): description
    • Keep the first line under 72 characters
    • Do not commit files that likely contain secrets (.env, credentials.json, etc.)
  6. Stage and commit the changes:

    • Add relevant files using git add
    • Use a plain string for the commit message (do not use HEREDOCs).
  7. Report the results including:

    • The commit hash
    • The commit message

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

How to review code; a pull request, feature branch, local changes etc.

中文简介正在准备中。当前显示原文说明。

Consensys-Incorporated/ocap-kernel92026年10月26日 更新

Create a new monorepo package using the create-package CLI

中文简介正在准备中。当前显示原文说明。

Consensys-Incorporated/ocap-kernel92026年10月26日 更新

discovery

免费

Use the discovery tools to find and use services through a service matcher. Do not rely on prior knowledge of services, providers, or APIs.

中文简介正在准备中。当前显示原文说明。

Consensys-Incorporated/ocap-kernel92026年10月26日 更新

Run the evm-wallet Docker e2e tests (build, start stack, wait for healthy, test, diagnose failures).

中文简介正在准备中。当前显示原文说明。

Consensys-Incorporated/ocap-kernel92026年10月26日 更新

glossary

免费

How to add entries to the glossary

中文简介正在准备中。当前显示原文说明。

Consensys-Incorporated/ocap-kernel92026年10月26日 更新

How to check code by linting, building, and testing.

中文简介正在准备中。当前显示原文说明。

Consensys-Incorporated/ocap-kernel92026年10月26日 更新

查看 Consensys-Incorporated 的全部技能

报告此技能的问题