Prepare Commit

Official

Format before you push: clean commits, every time.

Authorgoogle
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prepares your codebase for a commit by automatically formatting code and helping identify lingering temporary comments.

Core Features & Use Cases

  • Automates Kotlin/Gradle code formatting via ktfmtFormat to ensure consistent style.
  • Detects and reminds you to remove temporary comments or debugging artifacts before committing.
  • Provides a lightweight, repeatable pre-commit step that can be run locally in any Git workflow.

Quick Start

Run the prepare.py script before committing to ensure code is properly formatted and temporary comments are checked.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Prepare Commit
Download link: https://github.com/google/ground-android/archive/main.zip#prepare-commit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.