Prepare commit

From google/ground-android · View interactive version

Prepare commit is an AI agent skill from the GitHub repository google/ground-android. Prepares the codebase for a commit by formatting code and helping identify temporary comments.

How to use this skill

Skill file

Prepare Commit

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

Usage

This skill performs the following:

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

Command

python3 .agent/skills/prepare_commit/scripts/prepare.py
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.