mcpbeat

Prepare Commit

google/prepare commit

Prepares the codebase for a commit by formatting code and helping identify temporary comments.

402 tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
291
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/ground-android --skill Prepare Commit

What comes with it

1 128 bytes besides the instruction
scripts/prepare.py

The instruction itself

3 sections, as written by the author

Prepare Commit

Use this skill before every commit to ensure your code is formatted and clean.

Usage

This skill performs the following:

  • Runs standard formatting (ktfmtFormat).
  • (Optional/Manual) Reminds you to check for temporary comments.

Command

python3 .agent/skills/prepare_commit/scripts/prepare.py

How to use it

Copy the folder

Take google/prepare commit from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.