Write me a git commit message @git
Stage all changes using git add .. Then call q chat and enter the prompt. While generating a response, Q uses your current git context including the staged files to suggest a commit message to you.
Source of this prompt: Streamline Your Git Commits with Amazon Q Developer CLI
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/git-commit-message.md https://promptz.dev/prompts/general/git-commit-message/2. Use with Q CLI:
q prompts use git-commit-message