Agent skill

Commit Preparation

by kernitus in kernitus/BukkitOldCombatMechanics

Supports preparing commits, pre-commit hooks, Spotless, formatting or linting, validation before commit, staging files, and writing conventional commits.

MPL-2.0Auto-check passedDevelopment

Install Commit Preparation

skills CLI
$ npx skills add kernitus/BukkitOldCombatMechanics --skill commit-preparation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kernitus/BukkitOldCombatMechanics commit-preparation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kernitus/BukkitOldCombatMechanics.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/commit-preparation .claude/skills/commit-preparation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-preparation
GitHub stars
225
Token cost
~453 tokens
SKILL.md length
216 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MPL-2.0

At a glance

Supports preparing commits, pre-commit hooks, Spotless, formatting or linting, validation before commit, staging files, and writing conventional commits.

  • Tasks that involve Commit messages
  • SKILL.md covers Required checks before…, Staging and commit messages and Reporting
  • Calls git
  • Tasks that involve Linting and formatting

What it does

Commit Preparation is an agent skill from kernitus/BukkitOldCombatMechanics. Supports preparing commits, pre-commit hooks, Spotless, formatting or linting, validation before commit, staging files, and writing conventional commits.

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages and Linting and formatting. The repository describes itself as: Minecraft plugin to configure combat mechanics for 1.9 onwards. The licence is MPL-2.0.

When your agent uses it

  • Tasks that involve Commit messages
  • Tasks that involve Linting and formatting

Example prompts

  • “Use the commit-preparation skill to support preparing commits, pre-commit hooks, Spotless, formatting or linting, validation before commit, staging…”
  • “/commit-preparation”

What it can do on your machine

Read from SKILL.md and the folder at commit e66e7a9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit Preparation loads about 453 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 216 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~453

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kernitus/BukkitOldCombatMechanics at commit e66e7a9, republished under its MPL-2.0 licence (© kernitus). 216 words, ~453 tokens.

Download SKILL.mdSave it as .claude/skills/commit-preparation/SKILL.md (or your agent's skills folder).
name
commit-preparation
description
Supports preparing commits, pre-commit hooks, Spotless, formatting or linting, validation before commit, staging files, and writing conventional commits.

Commit Preparation

Use this skill whenever an agent is preparing a repository state for commit, validating changes before commit, handling pre-commit hooks, or choosing staging and commit-message details.

Required checks before committing

  • Inspect git status, git diff, and recent commits before committing.
  • Run ./gradlew spotlessCheck before committing.
  • Run ./gradlew check before committing, unless a narrower validation is clearly justified for the change and that justification is reported in chat.
  • Run relevant integration tests for behaviour, compatibility, module, or bug-fix changes.
  • Use integration-test-verification to choose an integration-test matrix and to triage integration-test failures.
  • Never skip, weaken, disable, or version-gate tests to make validation pass. Fix the root cause or report the failure as a blocker unless the user explicitly approves a coverage reduction.

Staging and commit messages

  • Stage only intended files, and re-check the staged diff before committing.
  • Use conventional commits.
  • Keep commit messages subject-only unless the user explicitly asks for a body.
  • Make the subject release-note-friendly and comprehensible without the type prefix or body.
  • For issue, ticket, or bug-report driven work, include the ticket number in the commit subject, such as fix(modesets): correct stale stored world modesets (#865).

Reporting

  • Keep validation findings in chat unless committing is explicitly requested.
  • If validation is narrowed, skipped, blocked, or failing, report the reason and any remaining risk before committing.

© kernitus, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/commit-preparation of kernitus/BukkitOldCombatMechanics.

Open the folder on GitHubat commit e66e7a9

Compare with similar skills

Commit Preparation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit Preparation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit Preparation this skillkernitus/BukkitOldCombatMechanics225—~453Automated safety check: PassMPL-2.0
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Lint Commit PRTresjs/tres3.8k—~1.1kAutomated safety check: PassMIT
PR Pushicebear0828/codex-proxy1.8k—~2.2kAutomated safety check: NotesCustom licence
PR Pushicebear0828/codex-proxy1.8k—~2.3kAutomated safety check: NotesCustom licence
Create PRRLinf/RLinf5.5k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Lint Commit PR

    Tresjs/tres

    Lint local changes, auto-fix, conventional commit, and optionally create PR

    3.8k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Push

    icebear0828/codex-proxy

    Package the current working changes into a standards-compliant codex-proxy pull request: branch hygiene, commit message linting, CHANGELOG prompt, conventional commit, push, and gh pr create against…

    1.8k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check: notes
  • PR Push

    icebear0828/codex-proxy

    Package the current working changes into a standards-compliant codex-proxy pull request: branch hygiene, commit message linting, CHANGELOG prompt, conventional commit, push, and gh pr create against…

    1.8k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Create PR

    RLinf/RLinf

    Open a GitHub pull request for RLinf, or fix an existing one — checks the PR title against Conventional Commits, writes a precise description that follows .github/PULLREQUESTTEMPLATE.md, and lints…

    5.5k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • SWIG source and contribution conventions: clang-format / code formatting, C/C++ comment style (quotes, widths, function header blocks), parser.y new-code rules, alphabetical ordering of makefile…

    6.3k GitHub stars~2.7k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from kernitus/BukkitOldCombatMechanics

All 9 skills in this repo
  • Integration Test Verification

    kernitus/BukkitOldCombatMechanics

    A skill your agent uses when running, selecting, authoring, or triaging integration tests, Kotest specs, Gradle matrix tasks, FakePlayer-backed test cases, or compact test-result files; do not use…

    225 GitHub stars~1.2k tokensUpdated 4 days ago
    Auto-check passed
  • Dependabot PR Review

    kernitus/BukkitOldCombatMechanics

    A skill your agent uses for Dependabot PRs, dependency bumps, Gradle or Maven dependency updates, GitHub Actions updates, dependency changelog/licence/release-note review, JVM/classfile checks, and…

    225 GitHub stars~882 tokensUpdated 4 days ago
    Auto-check passed
  • Module Config Change

    kernitus/BukkitOldCombatMechanics

    A skill your agent uses for config.yml, module enablement, modesets, config migration, configurable module assignment, and per-module option changes; do not use for unrelated integration-test…

    225 GitHub stars~914 tokensUpdated 4 days ago
    Auto-check passed
  • PR Draft Summary

    kernitus/BukkitOldCombatMechanics

    A skill your agent uses when drafting pull-request titles, descriptions, change summaries, risk notes, validation sections, or reviewer handoff text; do not use for implementation design, release…

    225 GitHub stars~526 tokensUpdated 4 days ago
    Auto-check passed
  • Release Readiness Review

    kernitus/BukkitOldCombatMechanics

    A skill your agent uses for GitHub release, Hangar, CurseForge/BukkitDev upload, Spigot release handoff, licence, asset naming, supported-version, and workflow readiness checks; do not use for…

    225 GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed
  • User Facing Changelog

    kernitus/BukkitOldCombatMechanics

    A skill your agent uses when rewriting CHANGELOG.md, GitHub release notes, or Release Please PR changelog sections into user-facing release notes; do not use for release publishing, assets, licence…

    225 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Commit Preparation

What does Commit Preparation do?

Supports preparing commits, pre-commit hooks, Spotless, formatting or linting, validation before commit, staging files, and writing conventional commits. Commit Preparation is an agent skill from kernitus/BukkitOldCombatMechanics. Supports preparing commits, pre-commit hooks, Spotless, formatting or linting, validation before commit, staging files, and writing conventional commits.

When should I use Commit Preparation?

Commit Preparation fits situations like: tasks that involve Commit messages; tasks that involve Linting and formatting.

How do I install Commit Preparation in Claude Code?

Run `npx skills add kernitus/BukkitOldCombatMechanics --skill commit-preparation -a claude-code`. Or copy the skill folder (.agents/skills/commit-preparation in kernitus/BukkitOldCombatMechanics) into .claude/skills/commit-preparation in your project. Claude Code loads it when a task matches its description.

How do I install Commit Preparation in Codex?

Run `npx skills add kernitus/BukkitOldCombatMechanics --skill commit-preparation -a codex`. Or copy the skill folder (.agents/skills/commit-preparation in kernitus/BukkitOldCombatMechanics) into .agents/skills/commit-preparation in your project. Codex loads it when a task matches its description.

Can I use Commit Preparation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kernitus/BukkitOldCombatMechanics --skill commit-preparation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-preparation, .gemini/skills/commit-preparation, .github/skills/commit-preparation and .opencode/skills/commit-preparation in your project.

What does Commit Preparation need to run?

Going by SKILL.md and its folder, Commit Preparation needs the command-line tools its instructions call (git).

Does Commit Preparation access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit Preparation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit Preparation use?

Commit Preparation is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit Preparation use?

About 453 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit Preparation?

Skills that share tags, products or a category with Commit Preparation: Saleor Commit Workflow (saleor/saleor, 23k stars), Lint Commit PR (Tresjs/tres, 3.8k stars), PR Push (icebear0828/codex-proxy, 1.8k stars) and PR Push (icebear0828/codex-proxy, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit Preparation?

kernitus (a GitHub user) maintains it in kernitus/BukkitOldCombatMechanics, which has 225 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 4, 2026.

Source: kernitus/BukkitOldCombatMechanics on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.