Awesome-omni-skill commit
Safe commit workflow with multi-contributor awareness and structured message format.
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/development/commit-qmu" ~/.claude/skills/diegosouzapw-awesome-omni-skill-commit-0b5347 && rm -rf "$T"
skills/development/commit-qmu/SKILL.mdCommit
Safe commit workflow with multi-contributor awareness. All commits in the Workaholic workflow should use this skill.
Multi-Contributor Awareness
Context: You are not the only one working in this repository. Multiple developers and agents may have uncommitted changes in the working directory.
Before committing:
- Run pre-flight check to understand what will be committed
- Review staged changes to ensure only intended files are included
- Identify unintended changes that may belong to other contributors
- Ask user if uncertain about whether to include changes
Usage
bash ~/.claude/plugins/marketplaces/workaholic/plugins/core/skills/commit/sh/commit.sh \ "<title>" "<description>" "<changes>" "<test-plan>" "<release-prep>" [files...]
Parameters
Each section (except title) should be a short paragraph of 3-5 sentences. See the Message Format section below for detailed guidance on what to cover in each section.
- Commit title (present-tense verb, 50 chars max)title
- Why this change was needed: the problem, what triggered it, the chosen approach and rationale (from ticket Overview)description
- What users will experience differently: concrete before-and-after differences, or "None" with brief explanationchanges
- What verification was done or should be done: manual checks, automated tests, edge cases consideredtest-plan
- What is needed to ship and support: migration steps, config changes, documentation updates, or "None" with brief explanationrelease-prep
- Optional: specific files to stage (if omitted, stages all tracked changes)files...
Staging Behavior
- If files are specified: stages only those files
- If no files specified: stages all modified tracked files (
)git add -u - Never uses
to avoid accidentally staging untracked files from other contributorsgit add -A
Pre-Commit Checks
The commit script performs safety checks:
- Verify branch exists - Cannot commit in detached HEAD state
- Check for staged changes - Warns if nothing to commit
- Review what will be committed - Shows diff summary before proceeding
Message Format
Each section should be a short paragraph (3-5 sentences) that gives lead agents enough signal to act without reading the full diff.
<title> Description: <why this change was needed, including motivation and rationale> Changes: <what users will experience differently> Test Planning: <what verification was done or should be done> Release Preparation: <what is needed to ship and support afterward> Co-Authored-By: Claude <noreply@anthropic.com>
Title
Present-tense verb, what changed (50 chars max). No prefixes like
feat: or [fix].
Examples:
- Add session-based authentication
- Fix Mermaid slash character in labels
- Remove unused RegisterTool type
Description
Why this change was needed, including the motivation and rationale. Start with the problem or gap that existed before this change. Explain what triggered the work -- a user report, a downstream dependency, a missing capability, or a design decision. State the chosen approach and why it was preferred over alternatives. Extract context from the ticket Overview. Target 3-5 sentences so that a lead agent can understand the full intent without reading the diff.
Changes
What users will experience differently after this change. Describe each observable difference concretely -- new commands, altered output format, changed error messages, new options, or modified default behavior. Explain the before-and-after for each difference so that a reader who has never seen the code can understand the impact. If the change is internal only, write "None" and briefly explain why there is no user-facing impact (e.g., "None -- this is a refactor of internal shell scripts with no change to CLI behavior").
Test Planning
What verification was done or should be done to confirm this change works correctly. Describe manual checks that were performed and their results. List automated tests that were added, modified, or run. Identify edge cases that were considered and whether they were covered or deferred. If the change interacts with external systems, note how those interactions were validated. Write "None" only if the change is trivial (e.g., typo fix, comment update) and requires no special verification.
Release Preparation
What is needed to ship this change and support it afterward. Cover migration steps or data format changes that consumers must adopt. Note configuration or environment changes required for the change to take effect. Identify documentation that needs updating (READMEs, specs, terms, changelogs). Flag any monitoring, alerting, or rollback considerations. If the change is straightforward to ship with no special requirements, write "None" and briefly explain why (e.g., "None -- backward-compatible addition with no migration needed").
Examples
Implementation commit (with specific files)
bash ~/.claude/plugins/marketplaces/workaholic/plugins/core/skills/commit/sh/commit.sh \ "Add session-based authentication" \ "Users needed persistent login state across browser sessions. Previously, every page refresh required re-authentication, causing friction for returning users. Added cookie-based session management with configurable TTL, chosen over JWT tokens for simplicity and server-side revocation support." \ "New 'Remember me' checkbox on the login form that persists sessions for 30 days. When unchecked, sessions expire when the browser closes. Session expiry now shows a friendly redirect to login instead of a raw 401 error." \ "Manual login/logout flow tested across Chrome and Firefox. Verified session persistence across page refreshes and browser restarts. Tested session expiry by setting TTL to 5 seconds and confirming redirect behavior. Cookie security flags (HttpOnly, Secure, SameSite) verified in browser dev tools." \ "None -- backward-compatible addition. No existing auth flows are affected since session support is opt-in via the checkbox." \ src/auth/session.ts src/middleware/auth.ts
Archive commit (stage all changes)
bash ~/.claude/plugins/marketplaces/workaholic/plugins/core/skills/commit/sh/commit.sh \ "Archive ticket: add-authentication" \ "" \ "None" \ "None" \ "None"
Abandonment commit
bash ~/.claude/plugins/marketplaces/workaholic/plugins/core/skills/commit/sh/commit.sh \ "Abandon: add-authentication" \ "Implementation proved unworkable due to API limitations" \ "None" \ "None" \ "Ticket moved to abandoned with failure analysis"