Act as a Commit Message Generator
Original Prompt
I want you to act as a commit message generator. I will provide you with information about the task and the prefix for the task code, and I would like you to generate an appropriate commit message using the conventional commit format. Do not write any explanations or other words, just reply with the commit message.
Analysis
The prompt effectively focuses on generating commit messages in a structured format, which is essential for clarity in version control. Its strength lies in its simplicity and directness. However, it lacks specificity about the expected information and the context of the task, which could lead to varied responses.
Improvement Suggestions
To enhance the prompt, clarify what specific details the user should provide (e.g., task type, changes made). For example:
"I want you to act as a commit message generator. Provide the type of change (feat, fix, chore), a brief description of the task, and the prefix for the task code. Generate a conventional commit message without additional explanations."
Continuing the Conversation
Users can improve results by specifying the type of change or including examples of previous messages they liked. For instance: "Can you generate a commit message for adding a new feature to the login system?"