本文へ移動
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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 のスキルをすべて見る

このスキルの問題を報告する