It sounds like you've developed a system to leverage AI (specifically Claude) for better commit management in your version control workflow. Here's a summary of the key points and steps involved:
Key Points:
- Custom Slash Command: You created a custom slash command
/committhat guides Claude through the process of staging, committing, and writing meaningful commit messages. - Helper Script (
bin/commit-survey): This script categorizes changes into buckets (e.g.,config,docs,app) to help Claude understand which files belong together for a single commit. - Conventional Commits: Each commit follows the Conventional Commits guidelines, ensuring that messages are clear and consistent.
Steps Involved:
- Run Helper Script:
- The script runs
bin/commit-surveyto categorize changes into buckets likeconfig,docs,app. - Example output:
plaintext
1[skip] (none) 2[test] (none) 3[db] (none) 4[config] config.toml 5[docs] content/blog/slash-commands-no-more-bad-commits.md, content
- The script runs
Read the full article at DEV Community
Want to create content about this topic? Use Nemati AI tools to generate articles, social posts, and more.

![[AINews] The Unreasonable Effectiveness of Closing the Loop](/_next/image?url=https%3A%2F%2Fmedia.nemati.ai%2Fmedia%2Fblog%2Fimages%2Farticles%2F600e22851bc7453b.webp&w=3840&q=75)



