{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "cryer-star-cli--review-and-commit-repo-changes",
 "repo": "cryer/star-cli",
 "repo_url": "https://github.com/cryer/star-cli",
 "repo_slug": "cryer-star-cli",
 "title": "Review working-tree changes and draft a commit message",
 "page_title": "How to review working-tree changes and draft a commit message with Star CLI",
 "summary": "Use /diff to read colored changes, then /commit to draft a Conventional Commits message.",
 "who": "A developer with uncommitted edits in a git repository who wants a clear diff review and a commit message without writing it by hand.",
 "problem": "Reviewing changes and writing a clean commit message takes attention, especially at the end of a long coding session.",
 "outcome": "A reviewed diff and a Conventional Commits message ready to use in git.",
 "steps": [
  "Install the CLI with `npm install -g @cryer/star-cli`.",
  "Change into your git repository and start the REPL with `star`.",
  "Type `/diff` to see the colored working-tree diff.",
  "Type `/commit` to have the agent draft a Conventional Commits message from the changes.",
  "Read the draft, edit it if needed, and run your own git commit."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The model features need a configured provider first, because /commit depends on the active model.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/cryer-star-cli/review-and-commit-repo-changes/",
 "md": "https://dedupedai.com/use-cases/cryer-star-cli/review-and-commit-repo-changes/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/cryer-star-cli--review-and-commit-repo-changes.json",
 "api_version": "v1"
}
