AI-Driven Code Change Summary Tool: Diff Extractor

Introducing my new project, "Diff Extractor," an AI-Driven Assistant that automates the process of analyzing code changes and generating a professional, conventional summary and commit message. 🤔 What is the problem that I'm trying to solve? When you make changes to your codebase, don't you need a clear summary of your changes? 🤨 Why not? With Diff Extractor, you can see what changes you have made, and if you want, you can also commit them. The Architecture 🏗️ 1️⃣ A lightweight terminal tool that interacts with the local Git environment. It extracts staged changes using "child_process" and securely communicates with the backend using the Node.js ecosystem. 2️⃣ A high-performance API that serves as the service layer. It handles complex data validation with Pydantic and manages the integration with Google Gemini 1.5 Flash.  I implemented a specialized prompt engineering strategy that forces the LLM to return structured JSON, ensuring the backend can parse and deliver consistent commit messages and logic summaries using the Python ecosystem. This project is under development, but you can try it yourself by forking it into your GitHub account. You can find the full guide in the GitHub repos. 🟡 Client - https://lnkd.in/gYPqH7-Z 🟡 Backend - https://lnkd.in/g2fdSQ3C 🟡 API - https://lnkd.in/gbp8f93h 😄 Don't forget to add the API key in the .env file, and don't push the .env file into GitHub. #SoftwareEngineering #Python #FastAPI #NodeJS #GenerativeAI #GeminiAI #Git #FullStackDev #CleanCode

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories