Hi there. Maybe this video can help with configuring a standard for commit messages. It has a link to a GIST that is useful.
Hello!
While there is a command to automatically generate commit messages, it only works within the source control panel. I frequently use the âCommit allâ command shortcut to quickly create commits without switching between side panels.
However, when the commit dialog box opens, thereâs no option to automatically generate a commit message. Iâd like to have this auto-generate feature available in the commit dialog as well.
Iâm running version 0.44.11 and building a codebase using dev containers. All of a sudden, the Aji generaqted commit message feature (the sparkle icon next to the commit message input) no longer works when in the dev container. but if I leave the container, it works again. So that means that I have to reopen the folder locally, stage the files, and then hit the sparkle icon and then commit. Then I reopen the container and start worjgain, where chat, composser, etc continue to work, but the soaqrkle icon doesnâtâŚ
Please help!
Hey, we should have some stability improvements for DevContainers coming in our next update very soon, which may resolve this issue!
need this feature!
Hey, this feature is already available in Cursor, but may have some issues if being using inside a DevContainer. We are hoping our next release may fix this!
I do the same thing. I tell the composer agent to look over @commit and make the commit in the terminal. Hereâs my prompt that I use for Git changes.
â
You will analyze the @Commit and perform the following tasks:
- Generate a detailed and easy-to-read git summary of the changes made in the diff.
- Write a commit message that follows these best practices:
Use a clear, imperative subject line (e.g., âAdd featureâ or âFix bugâ).
Keep the subject line concise (50 characters or less).
Separate the subject from the body with a blank line.
Use bullet points in the body for listing changes.
Include a short âwhyâ explanation to give context.
For example:
refactor: improve deployment configuration and type safety
- Configure Vercel to exclude unnecessary files:
- Add
excludeFilespattern invercel.json.
- Add
- Update ESLint to skip test files:
- Add
ignorePatternsto.eslintrc.json.
- Add
- Enhance type safety:
- Replace
anywith type unions inuseCursorPagination. - Add
NodeDataandRuleNodeinterfaces.
- Replace
- Add JSDoc for key functions.
-
Use PowerShell commands to stage and commit the changes:
git add . ; git commit -m "
refactor: improve deployment configuration and type safetyn`- Configure Vercel deployment to exclude test files.
n- Update ESLint rules.n- Enhance type safety.n- Add JSDoc documentation."`
- Configure Vercel deployment to exclude test files.
-
Confirm the commit was successfully executed.
Keep it clean, clear, and to the point!
The commit message generator generates pretty weak commit messages, far worse than if I just ask composer âgenerate a commit message for this diffâ. Not sure what LLM its using or old prompt, but would be very awesome if someone could take a few minutes and update it ![]()