repomind
v0.14.0
Published
AI-powered git commit messages and repository insights
Readme
repomind
AI-powered git commit messages and repository insights — the primary developer-facing tool for RepoMind, used daily in the terminal.
Part of the repomind monorepo.
Installation
bun add -g repomindQuick Start
# 1. Authenticate
repomind login
# 2. Stage your changes
git add .
# 3. Generate a commit message
repomind commitCommands
| Command | Description |
|---------|-------------|
| repomind commit | Generates a commit message from git diff --staged |
| repomind split [--all] | Analyzes staged changes and splits them into atomic commits |
| repomind pr | Generates a PR description from the diff between branches |
| repomind login [--token <token>] | Authenticates via Device Flow (code + browser) or Personal Access Token |
| repomind logout | Ends the current session and removes the local token |
| repomind whoami | Displays the currently authenticated user |
| repomind help | Displays help for available commands |
Flags
Each command accepts:
--verbose/-v— Show error details--help/-h— Show command help--version/-V— Show CLI version (top-level flag)
repomind split also accepts:
--all— Include unstaged and untracked changes (default: staged only)
Usage Examples
Generate a commit message from staged changes:
git add src/feature.ts
repomind commit
# → feat(feature): add new feature logicSplit staged changes into atomic commits:
git add .
repomind split
# Analyzes diff → proposes multiple atomic commits → confirms eachGenerate a PR description:
repomind pr
# Compares HEAD with base branch (main/master) → generates descriptionDevelopment
Prerequisites: Bun >= 1.0.0
# Install dependencies (from monorepo root)
bun install
# Run in development mode
bun --cwd apps/cli dev
# Build
bun --cwd apps/cli run build
# Typecheck
bun --cwd apps/cli run typecheck
# Tests
bun --cwd apps/cli testEnvironment: copy .env.dist to .env.local inside apps/cli/ and adjust values as needed.
License
MIT
