commitlisted
Install: claude install-skill Stormix/transcripts-mcp
# Commit Staged Changes
Generate a conventional commit message and commit staged changes, respecting the project's commitlint configuration.
**Branch:** Commit on the current branch. Do not create or switch to a feature branch unless the user asks (see [git-conventions](../git-conventions/SKILL.md) — _Current branch (agents)_).
## Instructions
### 1. Gather Context
Run the single git command from [git-conventions](../git-conventions/SKILL.md) to gather all context:
```bash
echo "=== BRANCH ===" && git rev-parse --abbrev-ref HEAD && echo "=== STAGED FILES ===" && git diff --staged --stat && echo "=== STAGED CHANGES ===" && git diff --staged
```
### 2. Analyze & Generate
From the gathered information:
- Extract the GitHub issue number if available from branch name or changes
- Identify affected packages/apps from file paths → determine scope
- Analyze the nature of changes → determine commit type
- Generate commit message following the format in [git-conventions](../git-conventions/SKILL.md)
### 3. Present & Execute
Show the generated commit message in a code block:
```text
type(scope): description
Optional body text
Closes #123
```
Explain the ticket number, type, and scope chosen.
Then **execute the commit**:
**For commits with body:**
```bash
git commit -m "type(scope): description" -m "Body paragraph" -m "Closes #GITHUB_ISSUE"
```
**For commits without body:**
```bash
git commit -m "type(scope): description"
```
After committing, show the commit hash an