# Commit Summary

> Generate commit message body summaries from git changes. Produces technical, past-tense descriptions formatted as one-line-per-change. Use when the user asks for a commit summary, commit message body, or change description — not for full commit creation.

- **Type:** Skill
- **Install:** `agentstack add skill-edloidas-skills-commit-summary`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [edloidas](https://agentstack.voostack.com/s/edloidas)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [edloidas](https://github.com/edloidas)
- **Source:** https://github.com/edloidas/skills/tree/master/build/commit-summary

## Install

```sh
agentstack add skill-edloidas-skills-commit-summary
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Git Commit Message Summary Generator

## Commands

| Command | Description |
|---------|-------------|
| `/commit-summary` | Analyze all changes (staged + unstaged) |
| `/commit-summary staged only` | Only staged changes |
| `/commit-summary [custom]` | Follow custom instructions |

## Workflow

### Step 1: Analyze Changes

```bash
git status
git diff
git diff --cached
```

### Step 2: Generate Summary

Apply the output format rules below.

## Output Format Rules

1. Each change on a NEW LINE — one sentence per line, ending with a period
2. NO blank lines between regular lines (only before footer)
3. Start immediately — no preamble or explanatory text
4. 2-6 lines total for body
5. Use backticks for code: `ClassName`, `functionName()`
6. No bullet points (`-` or `*`), no paragraphs

**Correct:**
```
Implemented `Toolbar` component with ARIA-compliant keyboard navigation using roving tabindex.
Added `ToggleGroup` subcomponent supporting single/multiple selection with `value`/`onValueChange` API.
Refactored selection logic in `ToggleGroup` to eliminate redundant state management.
Created Storybook stories demonstrating toolbar patterns with separators and disabled items.
```

**Incorrect:**
- Everything in one paragraph
- Using bullet points (`-` or `*`)
- Text continuing on next line without sentence structure

## Writing Style

**Tense:** Past participle (elliptical past tense)
- "Implemented `useKeyboard` hook"
- "Refactored `Button` to accept `asChild` prop"
- NOT: "Implement hook" or "Implementing hook"

**Depth:** Technical and specific
- "Refactored `ToggleGroup` to use single `value` prop instead of separate `singleValue`/`multipleValue`"
- NOT: "Refactored ToggleGroup component" (too vague)

**Focus:** HOW and WHY — mention approach/pattern used, explain benefit when non-obvious

**Grouping:** Group related changes (component + tests + stories → one line). Order by importance: main feature first, supporting second, cleanup last. Avoid obvious statements like "Added new file" — describe what was implemented.

## Preferred Verbs

| Verb | Use for |
|------|---------|
| Implemented | New complex features/patterns |
| Added | New functionality, components |
| Refactored | Code restructuring |
| Updated | Modified existing behavior |
| Removed | Deleted code/functionality |
| Fixed | Bug fixes |
| Integrated | Connected systems |
| Extracted | Separated into reusable pieces |

## Footer (Optional)

Add only if needed:
- Issue references: `Fixes #123` or `Resolves #456`
- Breaking changes: `BREAKING CHANGE: Removed legacyMode prop`
- Co-authors: `Co-authored-by: Name `

## Examples

```
Implemented `DatePicker` component with keyboard navigation and locale support.
Added `useDateRange` hook for managing start/end date state with validation.
Integrated with `Popover` component for consistent dropdown positioning.
Created comprehensive Storybook stories covering all date selection patterns.
```

```
Fixed focus trap in `Dialog` not releasing when closed via Escape key.
Updated `useKeyDown` hook to properly cleanup event listeners on unmount.
```

## Keywords

commit, message, summary, git, conventional, changelog

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [edloidas](https://github.com/edloidas)
- **Source:** [edloidas/skills](https://github.com/edloidas/skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-edloidas-skills-commit-summary
- Seller: https://agentstack.voostack.com/s/edloidas
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
