task-flow-commit

Generates git commit messages from staged files and user-approved context.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mahsanamin/ai_chest --skill task-flow-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-flow-commit
Source: https://github.com/mahsanamin/ai_chest/tree/main/SoftwareEngineering/Task_Flow/skills/task-flow-commit
Command: npx skills add https://github.com/mahsanamin/ai_chest --skill task-flow-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create clean, human-readable commit messages that communicate changes and intent to product teams and engineers.

Core Features & Use Cases

  • Structured Commit Style: Guides users to draft concise messages with optional context and co-authored line.
  • Safety Rails: Never auto-commit; requires explicit user approval and staged file review.
  • Use Case: When preparing a PR, generate a clear summary of what changed and why to speed code review.

Quick Start

To begin, prompt the assistant to draft a commit message for the current staged changes and present it for your approval.

Frequently Asked Questions about task-flow-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write clean, human-readable git commit messages?

Clean git commit messages clearly describe changes and intent by drafting concise summaries, matching repository conventions, and reviewing staged diffs before committing. This approach avoids auto-committing and requires explicit user approval for safety.

What is the best way to generate a commit message from staged changes?

Generating a commit message from staged changes involves inspecting git status and git diff --staged, drafting a concise summary of the modifications, and appending the Co-Authored-By line before final approval. This ensures the message matches repository conventions.

How do I ensure my git workflow follows repository conventions for commits?

To ensure your git workflow follows repository conventions, inspect git log to identify existing patterns, draft messages without tickets or prefixes unless already used, and selectively stage files to keep commits focused and readable for product teams.

Can I automatically commit staged files without reviewing the message?

No, you cannot automatically commit staged files without review. The workflow includes safety rails that prevent auto-committing, requiring explicit user approval and a review of the drafted message and staged files before finalizing the version control update.

Does this commit workflow support adding a Co-Authored-By trailer automatically?

Yes, this commit workflow supports adding a Co-Authored-By trailer automatically. It appends the Co-Authored-By: Claude line to the drafted message before presenting it for final user approval to ensure proper attribution.

When do I need to selectively stage changes for a git commit?

You need to selectively stage changes when preparing a pull request to ensure commits are focused and human-readable. By reviewing git diff and staging specific files, you generate clear summaries of what changed and why to speed up code review.