Authorization notice. Star CLI is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer with uncommitted edits in a git repository who wants a clear diff review and a commit message without writing it by hand.
The problemReviewing changes and writing a clean commit message takes attention, especially at the end of a long coding session.
The outcomeA reviewed diff and a Conventional Commits message ready to use in git.
What you need first
- Node.js 20 or newer
- pnpm, only if you build from source
- An API key for an OpenAI, Anthropic, or OpenAI-compatible provider, set via /connect or config.toml
Steps
- Install the CLI with
npm install -g @cryer/star-cli. - Change into your git repository and start the REPL with
star. - Type
/diffto see the colored working-tree diff. - Type
/committo have the agent draft a Conventional Commits message from the changes. - Read the draft, edit it if needed, and run your own git commit.
Prompt for your agent
Using the cryer/star-cli repo, run `star` inside <repo-path>, enter `/diff` and then `/commit`, and report the drafted commit message. Verify that the message follows the Conventional Commits format before anyone uses it.
Caveat. The model features need a configured provider first, because /commit depends on the active model.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cryer/star-cli and "Review working-tree changes and draft a commit message"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer