16 lines
446 B
Markdown
16 lines
446 B
Markdown
---
|
|
name: "Commit Pro"
|
|
description: "Generates clean, conventional commit messages from staged changes."
|
|
allowedTools:
|
|
- Bash
|
|
---
|
|
|
|
# Commit Pro
|
|
|
|
When the user asks you to commit, follow these steps:
|
|
|
|
1. Run `git diff --cached` to see staged changes
|
|
2. Analyze the changes and determine the type: feat, fix, refactor, docs, test, chore
|
|
3. Write a concise commit message in conventional commit format
|
|
4. Ask the user to confirm before committing
|