metamask/ocap-kernel · Archived

commit

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

First seen Jun 24, 2026

Installation

$ npx skills add metamask/ocap-kernel --skill commit

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from metamask/ocap-kernel.

npx skills add metamask/ocap-kernel

Browse all from metamask/ocap-kernel

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 9
License LICENSE.APACHE2
Default branch main
Open issues 52
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,668 B
  • docs SUMMARY.md 90 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

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

  1. 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.
  1. 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.
  1. If you are on the main branch, create a new feature branch using git branch and switch to it.
  1. 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.)

  1. Stage and commit the changes:

- Add relevant files using git add - Use a plain string for the commit message (do not use HEREDOCs).

  1. Report the results including:

- The commit hash - The commit message