Commit

From jtenner/starshine-mb · View interactive version

Commit is an AI agent skill from the GitHub repository jtenner/starshine-mb. Commit current work using Starshine's commit policy. Use when the user asks to commit, create commits, save changes to git history, or prepare a commit from the current worktree.

How to use this skill

Skill file

Commit

Commit the current worktree as one or more policy-compliant commits.

Trigger

Use this skill whenever the user asks to commit, create a git commit, save changes in git history, or split current work into commits.

Policy

Validation Policy

Workflow

  1. Inspect the worktree with git status --short and review relevant diffs.
  2. Identify top-level units of change. Keep each commit atomic, but do not split one coherent unit into tiny low-context commits.
  3. For each unit:
  1. Repeat until all intended units are committed.
  2. Report the created commits, validation run or intentionally skipped, and any remaining uncommitted changes.

Commit Message Shape

<kind>: <title>

Changed files:
- <path>: <what changed and why>

Validation:
- <commands run, results, or why tests were not required>

Notes:
- <known temporary failures, follow-ups, or backlog impacts when relevant>

Omit empty sections only when they add no useful information. Keep the body detailed enough that a future maintainer can understand the intent without reconstructing it from the diff.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.