DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to review working-tree changes and draft a commit message with Star CLI

Use /diff to read colored changes, then /commit to draft a Conventional Commits message.

Short answer: Install the CLI with npm install -g @cryer/star-cli; then Change into your git repository and start the REPL with star; type /diff to see the colored working-tree diff. All steps.

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

  1. Install the CLI with npm install -g @cryer/star-cli.
  2. Change into your git repository and start the REPL with star.
  3. Type /diff to see the colored working-tree diff.
  4. Type /commit to have the agent draft a Conventional Commits message from the changes.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer