go/docs/cmd/dev/commit/index.md
Snider 9add6cf2ee refactor(cli): restructure cmd packages into subdirectories
- Move CLI commands into subdirectories matching command hierarchy:
  dev/, go/, php/, build/, ci/, sdk/, pkg/, vm/, docs/, setup/, doctor/, test/, ai/
- Create shared/ package for common styles and utilities
- Add new `core ai` root command with claude subcommand
- Update package declarations and imports across all files
- Create commands.go entry points for each package
- Remove GUI-related files (moved to core-gui repo)

This makes the filesystem structure match the CLI command structure,
improving context capture and code organization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 18:02:43 +00:00

1.1 KiB

core dev commit

Claude-assisted commits across repositories.

Uses Claude to create commits for dirty repos. Shows uncommitted changes and invokes Claude to generate commit messages.

Usage

core dev commit [flags]

Flags

Flag Description
--registry Path to repos.yaml (auto-detected if not specified)
--all Commit all dirty repos without prompting

Examples

# Interactive commit (prompts for each repo)
core dev commit

# Commit all dirty repos automatically
core dev commit --all

# Use specific registry
core dev commit --registry ~/projects/repos.yaml

How It Works

  1. Scans all repositories for uncommitted changes
  2. For each dirty repo:
    • Shows the diff
    • Invokes Claude to generate a commit message
    • Creates the commit with Co-Authored-By: Claude
  3. Reports success/failure for each repo

See Also