commit-message-generatinglisted
Install: claude install-skill it-bens/cc-port
# Commit Message Generating
Generate conventional commit messages for the Shopware AI Coding Tools marketplace repository.
## Requirements
- Working directory is this repository
- **Staged mode**: staged or unstaged changes for a single commit message
- **Squash mode**: a branch with commits diverged from `main`
- **Rewrite mode**: a commit hash provided as argument to rewrite its message
## Mode Detection
- **Rewrite mode**: argument is a commit hash (full or abbreviated SHA)
- **Squash mode**: user mentions "squash", "branch", "PR", or asks for a commit message summarizing a branch
- **Staged mode** (default): all other cases
## Project Rules
**Types** (all allowed): feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert
**Scopes** — two categories:
1. **Plugin scopes**: directory names under `plugins/` (emitted by the gather script as the `plugins` section)
2. **Infrastructure scopes**: `hooks`, `marketplace`, `ci`, `github`
**Scope omission** — omit scope when:
- Type is `docs` with project-wide files (README.md, CONTRIBUTING.md, AGENTS.md)
- Type is `ci` with only CI config changes
- Root-level config files (.gitignore, LICENSE, pyproject.toml)
- Cross-cutting changes spanning 3+ unrelated plugins
**Subject**: imperative mood, lowercase, no period, max 72 chars.
**Body**: optional for most commits. Required for breaking changes (must include migration instructions).
**Attribution footer**: always enabled.
**No ticket format required.**
---