Create a smart tool that transforms messy git diffs into professional commit messages using AI and modern development tools.
We'll use Claude with MCP integration for intelligent diff analysis and commit message generation.
Codeium's AI IDE will serve as our development environment with integrated AI assistance.
First, we'll create an organized project structure in Windsurf and set up our AI workspace following best practices. This foundation will make our development process smoother and more efficient.
Claude should generate a complete project structure with HTML, CSS, and JavaScript files. Look for organized folders, proper file naming conventions, and starter code that follows web development best practices.
Now we'll create the core logic that parses git diffs and extracts meaningful information. This is where the AI really shines at understanding complex patterns in code changes.
You should get a comprehensive parsing function with regex patterns, file type detection, and change categorization. The code should handle different diff formats and provide structured data about the changes.
We'll design a template system that follows conventional commit standards and generates multiple options. This gives users flexibility while maintaining consistency.
Expect a template engine with multiple commit message formats, smart defaults, and conventional commit compliance. The system should generate varied options while maintaining professional standards.
Now we'll enhance our tool by integrating MCP servers for better code analysis and git integration. This leverages Claude's extended capabilities through the MCP protocol.
Claude should provide MCP configuration files and show how to modify your code to use MCP capabilities. Look for practical examples of filesystem access, git integration, and enhanced code analysis.
Finally, we'll create a clean, functional interface and test our tool with real git diffs. This brings everything together into a polished, usable application.
You should receive complete HTML, CSS, and JavaScript for a polished interface, plus comprehensive test cases. The UI should be intuitive, responsive, and include proper error handling and loading states.
Make sure you've properly configured MCP servers in Windsurf. Check the configuration file paths and restart the IDE if needed. Some MCP features require specific permissions.
Different git clients format diffs slightly differently. Test with diffs from git diff, git show, and GitHub/GitLab. Add fallback parsing for edge cases.
Improve context analysis by examining more of the diff content. Look for variable names, function signatures, and comment changes to make messages more specific.
Check browser console for JavaScript errors. Ensure all event listeners are properly attached and async operations have proper error handling.
You learned to use Codeium's AI IDE for structured development, leveraging its AI assistance for code generation and project organization.
You mastered configuring and using MCP servers to extend Claude's capabilities with filesystem access, git integration, and code analysis.
You built sophisticated text parsing logic to analyze git diffs, extract meaningful changes, and categorize them for commit message generation.
You practiced systematic project organization and AI-assisted development, creating maintainable code with proper structure and documentation.
Add Team Customization: Create configuration options for different team conventions, custom scopes, and message formats specific to your organization's standards.
Build CLI Integration: Convert your tool into a command-line utility that can be integrated into git hooks or CI/CD pipelines for automated commit message suggestions.
Advanced Code Analysis: Integrate with AST parsers to understand code semantics better, detecting architectural changes, API modifications, and dependency updates.
Historical Learning: Analyze existing commit history to learn your team's patterns and generate messages that match your established style and terminology.
IDE Extensions: Package your tool as extensions for VS Code, Windsurf, or other IDEs to provide commit message assistance directly in the development environment.